PPolySim OS
Use case · powered by Maximum Flow

Maximum Flow for a diet plan

Simulate a diet plan live in your browser. This runs the real Maximum Flow solver — adjust the inputs, watch it respond instantly, and export the result. No install, no account.

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 →

About this simulation

The full Maximum Flow tool models a diet plan with the same numerics engineers and scientists use — running entirely client-side. Change any parameter and the result updates in real time, so you can build intuition, check a design, or teach the concept without spreadsheets or installs.

More you can do with Maximum Flow

Other ways to simulate a diet plan

Frequently asked questions

How do I simulate a diet plan?
Open this page and use the live Maximum Flow tool below — set your inputs and the simulation runs instantly in your browser using real numerics. No install, no account needed.
Is it free?
Yes. The simulation runs free in your browser. A one-time unlock or a Pro plan adds advanced parameters, saved presets, data import, and clean exports.
Can I use my own numbers?
Absolutely — every input is adjustable, and with data import you can drive a diet plan from your own measurements.