19-Tanzanite
August 29, 2010
Question
Valery's Travelling Salesman Problem
- August 29, 2010
- 4 replies
- 6332 views
Apologies for starting a new thread, but I couldn't see how to upload a Mathcad file near Valery's video.
The attached file is rather simplistic and very inefficient, but it would be interesting to see how it compares with Valery's method. There is plenty of scope for improving the efficiency, including, possibly, incorporating a Metropolis-style algorithm (in which there is a small probability of accepting a worsening rather than an improvement from time to time).
I've saved the file in M11 format, but I've not tested it in M11.
Alan
Note: I've edited this - the current attachment calculates the total distance correctly, which the original didn't!
Also made it somewhat faster.

