Home▸Cognitive Science▸Annealing versus Hill Climbing on a Rugged Landscape: Metropolis Acceptance, Cooling and Barrier Escape (3D)

Annealing versus Hill Climbing on a Rugged Landscape: Metropolis Acceptance, Cooling and Barrier Escape (3D)

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.

Cognitive Science3DModerate60 FPS📱 Mobile-adapted🟠 Blender⇄ 2D version
Annealing versus Hill Climbing on a Rugged Landscape: Metropolis Acceptance, Cooling and Barrier Escape (3D) ↗ 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

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.

Three.jsCognitive ScienceSearch AlgorithmsProblem SolvingOptimizationNewell & SimonSimulated AnnealingHill ClimbingMetropolis AlgorithmBoltzmann DistributionLocal Minima

3D · Three.js / WebGL renderer · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)