Skip to content
Opt Dir

Glossary ยท method

Simulated Annealing

Single-solution metaheuristic inspired by physical annealing that probabilistically accepts worsening moves under a controlled temperature parameter, enabling escape from local optima.

SAMetropolis-Based OptimizationTemperature-Based MetaheuristicSingle-Solution MetaheuristicKirkpatrick Algorithm
Simulated annealing, introduced by Kirkpatrick Gelatt and Vecchi (1983) and independently by Cerny (1985), is a single-solution metaheuristic that emulates the slow cooling of metals to form low-energy crystalline structures. The algorithm starts at a high initial temperature T0 and evaluates each neighbourhood move by ฮ” = f(new) โˆ’ f(current): improving moves (ฮ” < 0) are always accepted, while worsening moves (ฮ” > 0) are accepted with the Metropolis probability P = exp(โˆ’ฮ” / T). Accepting worsening moves is the defining feature that lets the algorithm escape local-optimum basins. Temperature drops over time according to a cooling schedule: geometric T_k+1 = ฮฑT_k with ฮฑ โˆˆ [0.85, 0.99], logarithmic (Geman and Geman 1984, convergent in theory but slow), or adaptive. The cooling schedule, initial temperature (a practical rule sets it so the initial acceptance rate is about 80 percent), number of trials per temperature, and stopping criterion are the critical parameters. Compared with genetic algorithms, simulated annealing maintains only one candidate, requires no population, and uses minimal memory. Applications include VLSI placement, vehicle routing, scheduling, and facility layout. On combinatorial problems it competes closely with tabu search. References: Aarts and Korst (1989), Henderson Jacobson Johnson (2003).
ร–rnek

A logistics firm plans a single-vehicle route through 12 distribution points in Ankara. The initial greedy solution is 312 km. Simulated annealing with T0 = 50, ฮฑ = 0.95, 200 trials per temperature, and 2-opt neighbourhood moves reaches 257 km in 6 minutes โ€” a 17 percent improvement. Because high-temperature worsening moves were accepted early, the algorithm escaped the greedy solution's local-optimum basin and discovered a different route topology.

Esc Close