Skip to content
/ TSP4j Public

Travel Salesman Problem Solver implemented in java using nearest neighbour - 2opt+candidates - AntColonySystem

License

Notifications You must be signed in to change notification settings

Ambros94/TSP4j

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#TSP4j - Travel Salesman Problem Solver in Java This simple solver reads file from following TSPlib standard representing tours, computes for 3 minutes and then gives the best tour that has been found. This project is not complete yet. I hope to have the time to improve that in the near future. Feel free to contact me if you have anything to ask. Input folder : resources/TSPProblems Output folder : resources/TSPTours

Algorithms

  • Building : Nearest Neighbour
  • Local-Optimization : 2opt + 2optCandidates
  • MetaHeuristic : AntColonySystem

Compile instructions

It does not need any extra library. Everything has been implemented from scratch. It requires Java 8+

Credits

This project has been developed during my Bachelor studies at DTI-SUPSI (http://www.supsi.ch/home_en.html), during my "Algorithms and Optimization" module.

Contacts

About

Travel Salesman Problem Solver implemented in java using nearest neighbour - 2opt+candidates - AntColonySystem

Resources

License

Stars

Watchers

Forks

Packages

No packages published