Last Class: Flows and Cuts
s
v
t
u
2/2
1/1
1/3
2/5
1/2
The Max Flow Problem: Given directed graph G=(V,E), source s, sink t,
edge capacities c(e), find an s-t flow of maximum size
An s-t Cut partitions nodes into groups = (L, R)
s.t. s in L, t in R
Capacity of a cut (L, R) =
Property: For any flow f, any s-t cut (L, R), size(f) <= capacity(L, R)
(u,v)∈E,u∈L,v∈R
c(u, v)
Thus, a Min Cut is a certificate of optimality for a flow
Max-Flow <= Min-Cut
Cuts
Flows
R*
L*
Size of f = 3
(u,v)∈E,u∈L,v∈R
f(u, v)−
(v,u)∈E,u∈L,v∈R
f(v, u)
Flow across (L,R) =