MATLAB toolkit of the Travelling Salesman Problem (TSP).
Please note that this project is not done yet and the developer is now working on the code.
.
├── china32.tsp —— [the tsp file for examples]
├── readfile.m —— [read the file with name '*.tsp']
├── drawtour.m —— [draw the tour path using lines]
└── tourlength.m —— [calculate the given tour's length]
[n, coordinate, distance] = readfile(filename)
drawtour(sequence, coordinate)
length = tourlength(sequence, coordinate)