Warning: foreach() argument must be of type array|object, bool given in /var/www/html/web/app/themes/studypress-core-theme/template-parts/header/mobile-offcanvas.php on line 20

A vertex cover of an undirected graph G = (V,E) is a subset of the vertices which touches every edge—that is, a subset SVsuch that for each edge {U,V}E, one or both of u, v are in S. Show that the problem of finding the minimum vertex cover in a bipartite graph reduces to maximum flow. (Hint: Can you relate this problem to the minimum cut in an appropriate network?)

Short Answer

Expert verified

Allow the edges next to or to have capacity 1 and the original edges to have capacity unlimited.

Step by step solution

01

The bi-partition of the graph G:

Let’s L R be the graph G' bi-partition.

Add a phony source node s containing edges flowing out with every vertex of L and a dummy target node t with edges coming in from every vertex of R to make a network G'. The remaining original edges should be directed from L to R. Allow the edges next to s or t to have capacity 1 and the original edges to have capacity unlimited. Consider anys,t-cutS,SsS in this network which has sizeless than.

02

Representing the pair of Edges

Let ES represent the set of edges that cross the cut StoS. So, that all eES, e seems to be a result either of s or t (otherwise the cut contains an infinite capacity edge).

Suppose C be the collection of all vertices coincident to edges in E except and. Therefore C is indeed a vertex cover of G; if it isn't, then there is some sort of problem. u,vEforu,L,vRwithu,vC, so no edge on the path s - u - v t crosses the cut, a contradiction.

Note C=Eshis determines the cut's size S,S.

On the other hand, let C be a vertex cover of G'. Assume following Es crossing collection of edges. LetSV Any pair of vertices in L that aren't in C, and the set of vertices in R that aren't in C and s.

(s,t) cut from S to S.

First, suppose that Es contains an infinite capacity edge e = (u,s) . Since uS,uCbut then since vS,vC, and so C does not covere. Hence Es contains only edges with capacity 1. Moreover, E_s=LC+RC=Cand so the size of the cut, SisC.

03

Conclusion

Let s,s be a minimum cut in G0. Then C obtained as above is a minimum vertex cover of G: suppose not; then there is a smaller vertex cover C' of G, but then there is a smaller cut S',S'inG'.

Unlock Step-by-Step Solutions & Ace Your Exams!

  • Full Textbook Solutions

    Get detailed explanations and key concepts

  • Unlimited Al creation

    Al flashcards, explanations, exams and more...

  • Ads-free access

    To over 500 millions flashcards

  • Money-back guarantee

    We refund you if you fail your exam.

Over 30 million students worldwide already upgrade their learning with Vaia!

One App. One Place for Learning.

All the tools & learning materials you need for study success - in one app.

Get started for free

Most popular questions from this chapter

Consider the following generalization of the maximum flow problem.

You are given a directed network G=(V,E)with edge capacities {ce}. Instead of a single (s,t)pair, you are given multiple pairs (s1,t1),(s2,t2),,(sk,tk), where the siare sources of Gand tithe are sinks of G. You are also given kdemands d1,,dk. The goal is to find kflows f(1),,f(k)with the following properties:

  • f(i)is a valid flow fromSi toti .
  • For each edge e, the total flowfe(1)+fe(2)++fe(k) does not exceed the capacityce .
  • The size of each flowf(i) is at least the demand di.
  • The size of the total flow (the sum of the flows) is as large as possible.

How would you solve this problem?

Question: A linear program for shortest path. Suppose we want to compute the shortest path from node s to node t in a directed graph with edge lengths le>0.

a) Show that this is equivalent to finding an s - tflow fthat minimizes elefesubject to size (f) = 1. There are no capacity constraints.

b) Write the shortest path problem as a linear program.

c) Show that the dual LP can be written as

role="math" localid="1659250472483" maxxs-xtxu-xvluvforall(u,v)E

d) An interpretation for the dual is given in the box on page 223. Why isn’t our dual LP identical to the one on that page?

Consider the following linear program.

maximize 5x+3y

5x-2y0x+y7x5x0y0

Plot the feasible region and identify the optimal solution.

Give an example of a linear program in two variables whose feasible region is infinite, but such that there is an optimum solution of bounded cost.

The pizza business in Little Town is split between two rivals, Tony and Joey. They are each investigating strategies to steal business away from the other. Joey is considering either lowering prices or cutting bigger slices. Tony is looking into starting up a line of gourmet pizzas, or offering outdoor seating, or giving free sodas at lunchtime. The effects of these various strategies are summarized in the following payoff matrix (entries are dozens of pizzas, Joey’s gain and Tony’s loss).




TONY




Gourmet

Seating

Freesoda

JOEY

Lower price

+2

0

-3


BiggerSlices

_1

-2

+1

For instance, if Joey reduces prices and Tony goes with the gourmet option, then Tony will lose 2 dozen pizzas worth of nosiness to Joey.

What is the value of this game, and what are the optimal strategies for Tony and Joey?

See all solutions

Recommended explanations on Computer Science Textbooks

View all explanations

What do you think about this solution?

We value your feedback to improve our textbook solutions.

Study anywhere. Anytime. Across all devices.

Sign-up for free