




































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!





































Katta G. Murty, IOE 612 Lecture slides 3
Original model Source Availability 1 a 1 units 2 a 2 ... ... r a (^) r
Original model Sink Requirement 1 at least b 1 units 2 exactly b 2 ... ... r... a (^) r Another way to handle requirement of at least b 1 at a node 1 is to make lower bound and capacity on arc (1, t) equal to 0, b 1 respectively and look for a flow that saturates this arc.
Given G = (N , A, `, k, s, t) with |N | = n, |A| = m problem is to find (f, v) to:
max v
s. to f (i, N ) − f (N , i) =
v if i = s 0 if i 6 = s or t −v if i = t ` ≤ f ≤ k
DEFINITION: Net flow in f across a cut [X, X¯]: Let f be a feasible flow vector in G and [X, X¯] a cut separating s and t. Then the net flow in f across this cut is defined to be : f (X, X¯) − f ( X, X¯ ).
If sink is in the label tree (i.e., t ∈ X) (event called Break- through) then there is an FAP from s to t WRT f. If label tree stops growing without sink getting labeled (i.e., t 6 ∈ X, this event called Nonbreakthrough), there is no FAP from s to t WRT f , then f is a maximum flow.
For simplicity assume ` = 0. Dual of max flow problem is:
min z(π, u) = ∑ kij u (^) ij s. to π (^) j − π (^) i + u (^) ij ≥ 0 ∀(i, j) ∈ A π (^) s − π (^) t = 1 π (^) t = 0 u (^) ij ≥ 0 ∀(i, j) ∈ A
“π (^) t = 0” comes from eliminating the redundant flow conserva- tion eq. of node t.
Theorem: Every extreme pt. of the dual system corresponds to a cut separating s and t through the following: If (¯π, u¯) is an extreme pt., then all ¯π (^) i , u¯ (^) ij are 0 − 1, and if X¯ = {i : ¯π = 0}, X = {i : ¯π = 1}, then [X, X¯] is a cut separating s and t, and:
u¯ (^) ij =
1 iff (i, j) ∈ (X, X¯) 0 otherwise
To find max flow in G = (N , A, , k, s, t). Phase I: Finds a feasible flow first. If = 0, f = 0 will do. Algorithms for Phase I when ` 6 = 0 are based on applying Phase II on a modified network.
Phase II: Find a max flow beginning with an initial feasible flow f 0.
We discuss algorithms for Phase II first.
residual capacity of P, and new feasible flow vector fˆij = ( fˆij), where:
fˆij =
f^ ¯ij + if (i, j) forward P
f^ ¯ij − if (i, j) reverse on P
f^ ¯ij if (i, j) not on P Chop down present tree (i.e., erase labels on all nodes) and go back to Step 1.
Step 4: Termination: Present flow vector is a maximum flow, terminate. X = set of labeled nodes, X¯ = complement of X, then [X, X¯] is a min cut.
ample to show algo. may not work. Let α = (−1 + √5)/2, β = ∑∞ r=0 α r.
Not all arcs shown. Other arcs are: (x (^) i , yj ), (yi , yj ), (yi , x (^) j) ∀i 6 = j. All lower bounds = 0. All capacities β other than 4 shown in fig. Initial feasible flow f 0 of value 1 shown in fig. F & F constructed a sequence of feasible flows {f r: r = 0, 1,.. .} s. th. f r+1^ obtained by augmenting f r^ ∀r, and values v r^ ↑ β, while maximum flow value is 4β.
1.2 : Scanning version: Each labeled node is scanned to label all unlabeled nodes that can be labeled from it. List = set of labeled and unscanned nodes.
Step 1: Rooted tree planting: Let f¯ be the current feasible flow vector of value ¯v. Label s with ∅. List = {s}.
Step 2.1: Selecting a node from List to scan: If List = ∅, go to Step 4. Otherwise, delete a node i from list to scan.
Step 2.2: Scanning node i: (i) Forward labeling Label all j unlabeled s. th., (i, j) ∈ A, and f¯ij < kij with (i, +) and put all such j in List.
(i) Reverse labeling rule Label all j unlabeled, s. th. (j, i) ∈ A, and f¯ji > `ji with (i, −) and put all such j in List.
If t now labeled go to Step 3. Otherwise go to Step 2.1. Steps 3, 4: Same as in initial version.
Sometimes better than initial version, but worst case behavior same as that of initial version.
In each step these methods augment along all shortest paths simultaneously. Each FAP converted into a chain by reversing orientation of reverse arcs. All these chains put together yield an acyclic network called an Auxiliary network WRT present flow f , AN(f ) = (N(f ), A(f )), a partial subnetwork of residual network G(f ). All lower bounds in AN(f ) are 0, and upper bounds are resid- ual capacities. Also A(f ) = A+(f ) ∪ A−(f ) where:
(i, j) ∈ A+(f ) ⇒ (i, j) ∈ A, fij < kij, and κ (^) ij = capacity in AN(f ) = kij − fij. (i, j) ∈ A−(f ) ⇒ (j, i) ∈ A, fji > ji, and κ (^) ij = capacity in AN(f ) = fji − (^) ji.
These methods find a maximal or blocking flow in AN(f ) and augment f in G using it. We denote flow vectors in AN(f ) by g = (gij).
Step 1: Initiate the method with a feasible flow vector f 0 in G.
Step 2: Let f be the current feasible flow vector in G. Construct auxiliary network AN(f ). Two possible outcomes.
Step 3: Find a maximal or blocking flow g = (gij) in the aux- iliary network. Different multipath methods use different methods for this.
Step 4: Augmentation: Compute new vector fˆ = ( fˆij) in