Home▸Algorithms & AI▸Minimum-Cost Network Flow Optimizer: Augmenting Paths through a Pipe Yard

🧪 Minimum-Cost Network Flow Optimizer: Augmenting Paths through a Pipe Yard

This simulation explores optimization techniques within a network context, likely demonstrating concepts like shortest path algorithms or resource allocation strategies.

Algorithms & AI3DModerate60 FPS📱 Mobile-adapted🟠 Blender⇄ 2D version
Minimum-Cost Network Flow Optimizer: Augmenting Paths through a Pipe Yard ↗ Open standalone

A network of capacitated, priced links has to move a required amount of flow from a source to a sink for the lowest possible total cost — the same problem that governs bandwidth allocation on telecom backbones and shipment routing in logistics networks. This simulator builds a small layered graph with random per-edge capacities and costs, then solves it exactly with the successive-shortest-augmenting-path algorithm: repeatedly finding the cheapest still-available route through the residual graph via Bellman-Ford (which must tolerate the negative-cost "undo" edges the algorithm creates), pushing the largest amount of flow that route can bear, and repeating until the full demand is routed or the network is proven infeasible. Adjust the demand and capacity scale to watch cheap routes saturate and flow reroute onto costlier detours, with animated particles tracing every unit of flow along its chosen path in real time.

⚙ Under the hood

This simulation explores optimization techniques within a network context, likely demonstrating concepts like shortest path algorithms or resource allocation strategies.

Network OptimizationFlow AlgorithmsMinimum-Cost FlowSuccessive Shortest PathsMax-Flow Min-CutLinear Programming Duality

3D · Three.js / WebGL renderer · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)