PPolySim OS
For Students · Simulated Annealing

Simulated Annealing for a portfolio mix

Built for students learning it for a class or exam. See the concept move instead of memorizing formulas — and check your homework intuition. Simulate a portfolio mix live below — adjust the inputs and watch it respond, right in your browser.

Simulated AnnealingLive

Controls

Presets

Simulated annealing borrows from metallurgy: at high temperature it accepts worse moves freely, letting it jump out of local minima; as it cools, it settles into the best valley it found. The acceptance probability exp(−ΔE/T) is the key. Cool too fast and it gets stuck; cool slowly and it finds the global optimum.

▶ Run in Python

Data Inspector

Temperature5.00
Current value1.555
Best found0.000

Governing equation

Reading this result: Balanced schedule: enough early wandering to escape shallow minima, then a steady settle toward the deepest valley found.

Runs locally in your browser — free forever. Scale to the cloud when reality gets heavy.

or unlock everything with Pro →

More with Simulated Annealing

Frequently asked questions

Is this good for students?
Yes — this version of "Simulated Annealing for a portfolio mix" is framed for students learning it for a class or exam. See the concept move instead of memorizing formulas — and check your homework intuition.
Do I need to install anything?
No. It runs in any modern browser, free, with no account required.