PPolySim OS
For Educators · Ant Colony Optimization

Ant Colony Optimization for a supply chain

Built for educators teaching it to a class. Drop a live demo into a lecture or assign it as a shareable link — no lab installs. Simulate a supply chain live below — adjust the inputs and watch it respond, right in your browser.

Ant Colony OptimizationLive

Controls

Presets

Simulated ants lay pheromone (cyan) on short routes; trails evaporate over time so good paths reinforce and bad ones fade. The colony collectively finds near-optimal tours of the Traveling Salesman Problem — the green loop is the best so far.

▶ Run in Python

Data Inspector

Iteration0
Best tour0
Cities15

Governing equation

Reading this result: With 15 cities and 20 ants, 10% evaporation balances exploring new edges against reinforcing the best tour found so far.

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

or unlock everything with Pro →

More with Ant Colony Optimization

Frequently asked questions

Is this good for educators?
Yes — this version of "Ant Colony Optimization for a supply chain" is framed for educators teaching it to a class. Drop a live demo into a lecture or assign it as a shareable link — no lab installs.
Do I need to install anything?
No. It runs in any modern browser, free, with no account required.