PPolySim OS
For Students · Bipartite Matching

Bipartite Matching for a metro system

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

Bipartite MatchingLive

Controls

Presets

Maximum bipartite matching pairs items from two groups — workers to jobs, students to schools, organs to recipients — so that as many valid pairings as possible are made, with no one assigned twice. Kuhn's algorithm repeatedly finds augmenting paths that improve the matching. The green edges are the optimal assignment.

▶ Run in Python

Data Inspector

Matched pairs0
Max possible6
Methodaugmenting paths

Governing equation

Reading this result: Only 0 of 6 paired: at 40% density the graph is too sparse, so many workers have no eligible job and augmenting paths run out early.

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

or unlock everything with Pro →

More with Bipartite Matching

Frequently asked questions

Is this good for students?
Yes — this version of "Bipartite Matching for a metro system" 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.