|
|
|
|
|
by teps
3845 days ago
|
|
I don't understand how the simulated annealing is helping. I quote the explanation of step 4: If the candidate tour is worse than the existing tour, still maybe accept it, according to some probability.
The probability of accepting an inferior tour is a function of how much longer the candidate is compared to the current tour, and the temperature of the annealing process.
A higher temperature makes you more likely to accept an inferior tour
Why would you need a simulated annealing for a seemingly so simple function? |
|
You take the previous solution, and the current one, the difference of the cost (up or down) and plug it into the formula.
Simulated annealing allows some jumps up and jumps down, hill climbing goes only up.