Ford-Fulkerson, Edmonds-Karp, Bipartite Matching, Max-Flow Min-Cut
Ford-Fulkerson might not terminate with irrational capacities! Use Edmonds-Karp (BFS for paths) for polynomial time: O(VE²).
Job assignment: n workers, m jobs, edges show which workers can do which jobs. Max matching = maximum number of jobs that can be assigned.
| Concept | Definition | Complexity |
|---|---|---|
| Ford-Fulkerson | Method using augmenting paths | O(E·|f*|) |
| Edmonds-Karp | Ford-Fulkerson with BFS | O(VE²) |
| Max-Flow Min-Cut | Max flow value = Min cut capacity | - |
| Bipartite Matching | Reduce to max flow problem | O(VE²) |
Practice Ford-Fulkerson by selecting edges to form augmenting paths and computing the maximum flow.
Instructions: Find augmenting paths from source S to sink T. Click edges in order to form a path, then submit to augment flow.
Maximum Flow Value: 15
Final Flow Configuration:
Why is this maximum?
The minimum cut is {S, A, B} | {T} with capacity = 10 (A→T) + 5 (B→T) = 15. By the Max-Flow Min-Cut theorem, this proves our flow of 15 is maximum.
Note: S is saturated (all outgoing capacity used), so no more flow can leave the source!
Instructions: After finding the maximum flow above, identify which edges form the minimum cut.
Q1: What is the capacity of the minimum cut?
Q2: Which edges cross the minimum cut?
Q3: In the residual graph at maximum flow, is there a path from S to T?