|
Optimization: principles and algorithms, by Michel Bierlaire
|
Algorithm 27.7: simulated annealing for the TSP. More...
Go to the source code of this file.
Functions | |
| function | tspSimulatedAnnealing (in tour, in dist) |
Algorithm 27.7: simulated annealing for the TSP.
Implementation of algorithm 27.7 of [1]
Simulated annealing for the TSP
| tour | initial solution |
| dist | the distance matrix |
tspSimAnnIters.dat is also created, containing the details of the iterations. Definition in file tspSimulatedAnnealing.m.
| function tspSimulatedAnnealing | ( | in | tour, |
| in | dist | ||
| ) |