Understanding Simulated Annealing (SA)
The SA algorithm is a general optimization technique for solving combinatorial optimization problems. The algorithm is based on stochastic techniques and iterative improvement algorithms.
Iterative improvement algorithms
Search algorithms and iterative improvement of solutions are known as local search algorithms. The operation of these algorithms involves the following steps:
- Starting from configuration A, a sequence of iterations is performed, each of which consists of a transition from the current configuration to another that belongs to the neighborhood of A.
- If the transition gives rise to an improvement of the cost function, the current configuration is replaced by its neighbor; otherwise, a new configuration among the neighboring ones is selected for a new comparison.
- The algorithm ends when a configuration is obtained that has a cost no worse than any other neighboring configuration.
This class of algorithms...