/tsp-java

A collection of approximation algorithms for the travelling salesman problem.

Primary LanguageJavaMIT LicenseMIT

Traveling Salesman Problem

  • Kruskal's algorithm
  • Prim's algorithm
  • Christofide's algorithm
  • Tour Improvements (K-OPT)

Tour Improvements

k-opt

Dataset:

This is a list of the 50 US states plus the District of Columbia and Puerto Rico making 52 entries. This dataset was taken form googles public datasets. It is stored in the res/states.csv with subsets of this data used for testing also contained within res.

References