



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!




All are graded by Yongwook Choi.
Consider a blocking step (phase). Let f be the current flow, f ∗^ a maximum flow, and R the residual graph for f. Then f ∗^ − f is a flow on R. Since f is integral and R is a unit network, f ∗^ − f is zero or one on every edge. We can partition the edges on which f ∗^ − f is one into a collection of |f ∗| − |f | paths from s to t and possibly some cycles. Since R is unit, any vertex other than s and t is on at most one of the paths, which implies that f has an augmenting path of length at most (|V | − 2)/(|f ∗| − |f |) + 1. After d
|V | − 2 e blocking steps, the shortest augmenting path contains at least
|V | − 2+1 edges. Thus
|V | − 2+1 ≤ (|V |−2)/(|f ∗|−|f |)+1, i.e. |f ∗|−|f | ≤
|V | − 2. That is, after at most b
|V | − 2 c additional blocking steps, the current flow is maximum. Thus Dinic’s algorithm finishes after at most 2d
|V | − 2 e blocking phases.
A graph G = (V, E) is bi-partite if the set of vertices V can be partitioned to two sets A and B, (A ∪ B = V and A ∩ B = ∅), such that every edge in E has one adjacent vertex in A and one in B. Given a bi-partite graph G = (A, B, E) we can use a maximum flow algorithm to find maximum matching in G. Define a directed graph G′^ = (V ′, E′):
A flow is integer value if the flow through each edge is an integer value.
Theorem 0.1. The Ford-Fulkerson algorithm generates an integer value flow in G′.
Proof. By induction on the augmentation steps.
Theorem 0.2. The cardinality of the maximum matching in G equals the value of the maximum flow in G′.
Proof. Since each node in A and B can be adjacent to only one vertex with integer flow > 0, a flow f in G′^ corresponds to a matching M in G with |f | = |M |.
First we show that Dinic’s algorithm finds a maximum flow in O(
time. An augment step takes O(k) time, where k is the length of the aug- menting path p. On a unit network, such a step saturates and deletes at least (k − 1)/2 edges. Thus the total time for augment steps is O(|E|). An edge added to p by an advance is either deleted from p by a retreat or has its flow increased by an augment; thus there are O(|E|) advance steps. Com- bining estimates, we get a total time of O(|E|) to find a blocking flow. Using result from 1(a), we get the time bound O(
|V ||E|) for Dinic’s algorithm. Now convert the bipartite graph G into a flow network G′^ as described in part (b). Notice that G′^ is a unit network. Apply Dinic’s algorithm to find maximum flow in G′^ hence the maximum matching in G.
Problem 2
Let n = |V |, OPT be the cost of the optimal solution, GREEDY be the cost of the greedy solution. Clearly OPT ≤ |E| (a trivial upper bound). Assume that by the greedy algorithm, the vertices are chosen in order v 1 , v 2 , v 3 ,... , vn. Let Si and Ti be the sets after i vertices are added by the greedy algorithm.
The LP relaxation is as follows: minimize
S∈F c(S)xS^ subject to ∑
S:e∈S
xS ≥ re for all e ∈ U
and xS ≥ 0 for S ∈ F.
Let xS , be an optimal solution to the linear program, and let fS be the fractional part of xS. That is, fS = xS − bxS c Then, pick a set S
{ bxS c + 1 times with probability fS bxS c times with probability 1-fS.
Let C 0 be the collection of (multiple) sets. The expected cost of C 0 is
∑
S∈F
{(bxS c + 1)fS + bxS c(1 − fS )} cS =
S∈F
(fS +bxS c)cS =
S∈F
xS cS = LOPT ≤ OPT.
Select another collection C 1 in the same way, and let C = C 0 ∪ C 1. Then the cost of C is at most 2·OPT. Now consider an element e ∈ U. We want to compute the probabil- ity that e is covered less than re times by C. Assume e is covered by S 1 , S 2 , · · · , Sk. Then, we know that
∑^ k
i=
xSi =
∑^ k
i=
bxSi c +
∑^ k
i=
fSi ≥ re.
Let F =
∑k i=1 fSi , and consider two cases. (i) When F < 1: In this case,
∑k i=1bxSi c ≥^ re. Thus,^ e^ is covered by^ C^ at least^ re^ times (in fact, at least 2re time since we take a union of two collections.) (ii) When F ≥ 1: Let Xi, 1 ≤ i ≤ k be a random variable such that
Xi =
1 with probability fSi 0 with probability 1 − fSi ,
and let X = 2
∑k i=1 Xi. Then we can see that
Pr[e is covered at least re times] ≥ Pr[X ≥ F ].
Hence Pr[e is covered less than re times] < Pr[X < F ]. We now upper bound the above probability. The easiest way to do this is to use the fact that X is a sum of independent 0-1 random variables (such a random variable behaves like a binomial distribution). Hence we can use a “tail bound” on the binomial distribution to bound this prob- ability (Appendix C in text talks about this in some detail). Such tail bounds are called Chernoff bounds (see Theorem 1 of my lecture notes at http://www.cs.purdue.edu/homes/gopal/cs590-2005/10.pdf.) We use the following Chernoff bound (0 < δ < 1):
Pr[X < (1 − δ)E[X]] < exp(−E[X]δ^2 /2).
Hence, Pr[X < F ] < exp(−F/4) ≤ exp(− 1 /4)
by using Chernoff bound, with δ = 1/2 and E[X] = 2F , and the fact that F ≥ 1. Independently, pick c log n (for large enough constant c) such collections and take their union (call it C′.) The rest of the proof is very similar to the proof in the lecture notes.