PPolySim OS
For Educators · Supply-Chain Optimizer

Supply-Chain Optimizer for a labor market

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 labor market live below — adjust the inputs and watch it respond, right in your browser.

Economic Order QuantityLive

Controls

Presets

Order too often and ordering costs pile up; order too much and holding costs balloon. The Economic Order Quantity, EOQ = √(2DS/H), is the order size that minimizes their sum. At the optimum the ordering and holding costs are exactly equal — the crossing point of the two curves. The foundation of inventory management.

▶ Run in Python

Data Inspector

EOQ707 units
Orders / year14.1
Min total cost$1414

Governing equation

Reading this result: At the EOQ the two curves cross: yearly ordering cost equals yearly holding cost, giving about 14.1 orders a year at the minimum total cost.

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

M/M/1 QueueLive

Controls

Presets

The M/M/1 queue models a single server with random arrivals and service — a checkout, help desk, or router. The utilization ρ = λ/μ decides everything: as it approaches 1, the average wait and queue length explode toward infinity. This nonlinear blow-up is why systems run at, say, 80% and not 99% capacity.

▶ Run in Python

Data Inspector

Utilization ρ0.70
Avg in system L2.33
Avg in queue Lq1.63
Avg wait W3.33
Live count0

Governing equation

Reading this result: Moderate load: ρ=0.70. On average L≈2.3 in the system waiting W≈3.3. You are on the steep part of the curve — pushing ρ toward 1 makes waits climb far faster than the extra traffic would suggest.

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

3

Linear Programming

open full solver →
Linear ProgrammingLive

Controls

Presets

Linear programming maximizes a linear objective subject to linear constraints. The constraints carve out a convex feasible region (shaded), and the optimum always sits at a corner. Slide the objective coefficients and watch the optimal vertex jump between corners — the geometric idea behind the simplex algorithm that runs global logistics and finance.

▶ Run in Python

Data Inspector

Optimal x6.00
Optimal y4.00
Objective value26.00

Governing equation

Reading this result: Maximizing 3·x + 2·y lands the optimum at the corner (6.0, 4.0) worth 26.0 — a linear objective over a convex region always peaks at a vertex, so sliding c₁/c₂ just makes the solution hop between corners.

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

Maximum FlowLive

Controls

Presets

The max-flow problem asks how much can be pushed from a source to a sink through a network of capacity-limited edges. Edmonds-Karp repeatedly finds an augmenting path and saturates it until none remain. By the max-flow min-cut theorem, the answer equals the capacity of the cheapest set of edges that, if cut, disconnects source from sink — the bottleneck.

▶ Run in Python

Data Inspector

Maximum flow18
Nodes6
Bottleneckmin cut

Governing equation

Reading this result: Both feed edges are generous, so the bottleneck has moved to the fixed interior capacities — adding more feed capacity no longer raises the max flow (min-cut theorem).

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

or unlock everything with Pro →

More with Supply-Chain Optimizer

Frequently asked questions

Is this good for educators?
Yes — this version of "Supply-Chain Optimizer for a labor market" 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.