Simulated Annealing

Stochastic optimization inspired by metal cooling. Explore a rugged energy landscape with configurable cooling schedules — balance exploration (high T) vs exploitation (low T).

Step:
Temperature:
Current energy:
Best energy:
Accept prob:
P(accept worse) = e−ΔE/T
High T: explores broadly
Low T: exploits local minima
Global optimum requires slow cooling.