Home▸Cognitive Science▸Annealing versus Hill Climbing on a Rugged Landscape: Landscape, Boltzmann Law and Schedule (2D)

Annealing versus Hill Climbing on a Rugged Landscape: Landscape, Boltzmann Law and Schedule (2D)

Landscape, searchers and Boltzmann law on a Blender-built tray, with the temperature schedule and the share of searchers in the deepest valley over time. The same Metropolis model as the 3D scene: stationary law, detailed balance, exact first-passage time and the Arrhenius slope are checked numerically.

Cognitive Science2DModerate60 FPS📱 Mobile-adapted🟠 Blender⇄ 3D version
Annealing versus Hill Climbing on a Rugged Landscape: Landscape, Boltzmann Law and Schedule (2D) ↗ Open standalone

Forty glass marbles search a rugged landscape for its deepest valley. Choose hill climbing, simulated annealing or a constant temperature, the number of valleys, the starting and final temperature and the search length, and watch the thermometer, the marbles and the share that reach the deepest valley. Metropolis acceptance, exact first-passage times and the Boltzmann law are checked against brute-force simulation.

⚙ Under the hood

Landscape, searchers and Boltzmann law on a Blender-built tray, with the temperature schedule and the share of searchers in the deepest valley over time. The same Metropolis model as the 3D scene: stationary law, detailed balance, exact first-passage time and the Arrhenius slope are checked numerically.

Simulated AnnealingHill ClimbingMetropolis AlgorithmProblem SolvingBoltzmann DistributionOptimizationLocal Minima

2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)