



































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
Find an augmenting path by looking for an s, t-path in the residual graph. Use it to augment the flow x as much as possible. Page 29. When ...
Typology: Exams
1 / 43
This page cannot be seen from the preview
Don't miss anything!




































Math 482, Lecture 26
Misha Lavrov
April 6, 2020
In the previous lecture, we found a high-value flow in a network by starting with the zero flow and repeating the following procedure: (^1) Find an augmenting path. (^2) Use it to augment the flow as much as possible.
s t
a (^) b
c (^) d
0 / 10
0 / 10
0 / 12
0 / 10 0 / 4
0 / (^40) / 8
0 / 4
In the previous lecture, we found a high-value flow in a network by starting with the zero flow and repeating the following procedure: (^1) Find an augmenting path. (^2) Use it to augment the flow as much as possible.
s t
a (^) b
c (^) d
10 / 10
10 / 10
10 / 12
4 / 10 4 / 4
0 / (^44) / 8
0 / 4
In the previous lecture, we found a high-value flow in a network by starting with the zero flow and repeating the following procedure: (^1) Find an augmenting path. (^2) Use it to augment the flow as much as possible.
s t
a (^) b
c (^) d
10 / 10
10 / 10
12 / 12
6 / 10 4 / 4
2 / (^44) / 8
0 / 4
In the previous lecture, we found a high-value flow in a network by starting with the zero flow and repeating the following procedure: (^1) Find an augmenting path. (^2) Use it to augment the flow as much as possible.
s t
a (^) b
c (^) d
10 / 10
8 / 10
12 / 12
8 / 10 4 / 4
4 / (^46) / 8
2 / 4
Eventually, there are no more augmenting paths.
We can see this in the residual graph for the final flow obtained:
s (^) t
a (^) b
c (^) d
10
2 8
2
8
2
2
4
4
12
2 6
Theorem Suppose that we have a network (N, A) and a feasible flow x such that there is no s, t-path in the residual graph. Then:
Theorem Suppose that we have a network (N, A) and a feasible flow x such that there is no s, t-path in the residual graph. Then:
Let S be the set of all nodes reachable from s in the residual graph. Let T be the set of all other nodes. The cut (S, T ) has the same capacity as the value of x.
Theorem Suppose that we have a network (N, A) and a feasible flow x such that there is no s, t-path in the residual graph. Then:
Let S be the set of all nodes reachable from s in the residual graph. Let T be the set of all other nodes. The cut (S, T ) has the same capacity as the value of x.
In particular, x is a maximum flow and (S, T ) is a minimum cut.
In our example, we take S = {s, c} and T = {a, b, d, t}. The capacity of this cut is csa + ccb + ccd = 10 + 4 + 4 = 18, same as the value of x.
In the cut (S, T ) defined in the residual graph theorem, the residual graph has no arcs from S to T.
In the cut (S, T ) defined in the residual graph theorem, the residual graph has no arcs from S to T. What does that mean? Recall: Whenever xij < cij for an arc (i, j) ∈ A, the residual graph has an arc i → j. Whenever xij > 0 for an arc (i, j) ∈ A, the residual graph has an arc j → i.
In the cut (S, T ) defined in the residual graph theorem, the residual graph has no arcs from S to T. What does that mean? Recall: Whenever xij < cij for an arc (i, j) ∈ A, the residual graph has an arc i → j. Whenever xij > 0 for an arc (i, j) ∈ A, the residual graph has an arc j → i. Therefore: For every arc (i, j) with i ∈ S and j ∈ T , xij = cij.
Lemma For any cut (S, T ), v (x) =
i∈S
j∈T
xij −
i∈T
j∈S
xij.
(We proved this at the end of Lecture 23.)
Lemma For any cut (S, T ), v (x) =
i∈S
j∈T
xij −
i∈T
j∈S
xij.
(We proved this at the end of Lecture 23.)
Example: S = {s, a, b} and T = {c, d, t}.
s (^) t
a (^) b
c (^) d
10 / 10
8 / 10 12 / 12
8 / 10 4 / 4
4 / (^46) / 8
2 / 4