Skip to content

Solver for tsp problems, with different types of algorithms

Notifications You must be signed in to change notification settings

nicholasala/TSPSolver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TSPSolver

Solver for tsp problems with two central algorithms:

  • Simulated Annealing
  • Ant-Colony system

These algorithms use other algorithms for their operation. In particular Nearest-Neighbour is used as constructive algorithm for generate an initial solution, Two-Opt is used as local optimization algorithm and Prim is used when algorithms need to generate minimum spanning tree.

Run instructions

Executing the algorithm requires some parameters:

  • Tsp file name
  • Which algorithm to use (A Ant Colony, S Simulated Annealing)
  • Random numbers feed (optional)
  • Maximum time of execution (optional, default is three minutes)

About

Solver for tsp problems, with different types of algorithms

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages