Back to all solvers

Maximum Flow Solver

Compute max flow with Edmonds–Karp (BFS augmenting paths) and report a corresponding min-cut.

Capacity network

→1→2→3→4
1→—
2→—
3→—
4→—
CSV: source/sink (1-based) key-value rows, then capacity matrix (0 = no arc). After Solve, also Export results CSV.