Thanks to visit codestin.com
Credit goes to Github.com

Skip to content

Approaches to the travelling salesman problem in Rust. (School project.)

Notifications You must be signed in to change notification settings

metaphorshear/tsp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

TSP

This is another student project. This one was about the travelling salesman problem. There is code to search for paths using brute force, a greedy algorithm, a monte carlo method, and an ant system. Code for the ant system is based off of the code from Clever Algorithms: Nature-Inspired Programming Recipes.

##Building and running

Install Cargo and Rust if you don't have them.

Take a look at src/main.rs and uncomment functions in the main loop, if you want. Parts A, B, C, and D run tests to compare the performance of different algorithms. They will take a while to run.

You can run the project with cargo run.

About

Approaches to the travelling salesman problem in Rust. (School project.)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages