This repository includes code written to study and reproduce the results from this article by Yuchen Luo et al.
Dependendcies:
numpy
matplotlib
scipy
pandas
gurobipy
tqdm
for progress bars in scalability experiments
TSPC includes the implementation of two classes and various utility functions.
An empty directory which should be replaced by the directory found at this website.
Quoting the website
LKH is an effective implementation of the Lin-Kernighan heuristic for solving the traveling salesman problem.
Some sample code that shows how to setup and solve a problem with the TSPC code.
- demo_*.py implement simple solutions to random problems
- scalability_*.py implement ready-to-run scalability experiments
- phase_transition.py allows to study the phase transition of the model
- Shell script called by a class method to run the LKH algorithm
- .par file that contains parameters for the LKH algorithm