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

There are many common variations of the maximum flow problem. Here are four of them.

(a) There are many sources and many sinks, and we wish to maximize the total flow from all sources to all sinks.

(b) Each vertex also has a capacity on the maximum flow that can enter it.

(c) Each edge has not only a capacity, but also a lower bound on the flow it must carry.

(d) The outgoing flow from each node u is not the same as the incoming flow, but is smaller by a factor of (1-U), whererole="math" localid="1659789093525" u is a loss coefficient associated with node u.

Each of these can be solved efficiently. Show this by reducing (a) and (b) to the original max-flow problem, and reducing (c) and (d) to linear programming.

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.

Suppose someone presents you with a solution to the max-flow problem on some network. Give a linear-time algorithm to determine whether the solution does indeed give a maximum flow.

Question: Duckwheat is produced in Kansas and Mexico and consumed in New York and California. Kansas produces 15 shnupells of duckwheat and Mexico 8. Meanwhile, New York consumes 10 shnupells and California 13. The transportation costs per shnupell are \(4 from Mexico to New York, \)1 from Mexico to California, \(2 from Kansas to New York, and \)3 and from Kansas to California. Write a linear program that decides the amounts of duckwheat (in shnupells and fractions of a shnupell) to be transported from each producer to each consumer, so as to minimize the overall transportation cost

You are given the following points in the plane:

(1,3),(2,5),(3,7),(5,11),(7,14),(8,15),(10,19)

.You want to find a lineax+by=c that approximately passes through these points (no line is a perfect fit). Write a linear program (you don’t need to solve it) to find the line that minimizes the maximum absolute error,max1i7|axi+byic|

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