














































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
[Week 11] Flow Networks II -- Disjoint Paths, Network Connectivity, Circulation Problems, etc
Typology: Lecture notes
1 / 54
This page cannot be seen from the preview
Don't miss anything!















































th
Flow networks II:
Applications
Recap: Minimum Cut Problem
s
t
Recap: Flows
s
t
s
t
f ( e )
e in to v
∑ =^ f^ ( e )
e out of v
∑
0 ≤ f ( e ) ≤ c ( e )
v ( f ) = f ( e )
e out of s
∑.
The University of Sydney Page 7
Recap: Cuts
Definitions:
s
t
Capacity = 10 + 5 + 15
cap ( A , B ) = c ( e )
∑
The University of Sydney Page 8
s
t
Capacity = 9 + 15 + 8 + 30
s
t
Definitions:
∑
Recap: Cuts
Recap: Residual Graph
= (v, u).
= (V, E f
).
= {e : f(e) < c(e)} ∪ {e
: c(e) > 0}.
c f
( e ) =
c ( e ) − f ( e ) if e ∈ E
f ( e ) if e
∈ E
Ford-Fulkerson Algorithm
f
f
f
Recap: Ford-Fulkerson Algorithm
G:
G
:
Recap: Max-Flow Min-Cut Theorem
there are no augmenting paths in the residual graph.
to the value of the min cut. [Ford-Fulkerson 1956]
f(e) and every residual capacities c
(e) remains an integer
throughout the algorithm.
Disjoint path problem:
Given a digraph G = (V, E) and two nodes s and t, find the max
number of edge-disjoint s-t paths.
Definition: Two paths are edge-disjoint if they have no edge in
common.
Edge Disjoint Paths
Max flow formulation: assign unit capacity to every edge.
Edge Disjoint Paths
s t
Max flow formulation: assign unit capacity to every edge.
Theorem: Max number edge-disjoint s-t paths equals max flow value.
Proof: ⇒
,... , P
.
; else set f(e) = 0.
Edge Disjoint Paths
s t