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

Consider the following network (the numbers are edge capacities).

(a)Find the maximum flow fand a minimum cut.

(b)Draw the residual graphGf (along with its edge capacities). In this residual network, mark the vertices reachable fromS and the vertices from whichT is reachable.

(c)An edge of a network is called a bottleneck edge if increasing its capacity results in an increase in the maximum flow. List all bottleneck edges in the above network.

(d)Give a very simple example (containing at most four nodes) of a network which has no bottleneck edges.

(e)Give an efficient algorithm to identify all bottleneck edges in a network.

Short Answer

Expert verified

(a)The maximum flowf is11 , and a min-cut is ({S,A,B},{C,D,T}).

(b) The residual graphGf is as follows,

The vertices reachable fromS areA and B. The vertices reachable fromT areC andD .

(c)The bottleneck edges are(A,C) and (B,C).

(d)Simple example of a network that has no bottleneck edges is as follows:

(e) Algorithm to identify bottleneck edges in the network:

Procedure Bottleneck(en,em)

Input: Graph (V,E)

Output: Bottleneck edges if exist

Perform max-flow min-cut in G(V,E)

Find Residual graph role="math" localid="1657972286397" Gf

Letc be the edge capacity of Gf

Ifrole="math" localid="1657972299309" c=0 at en

If both ends have positive residual capacity

Mark as bottleneck edge

Return (en,em)

Step by step solution

01

Explain Maximum flow and Min-cut

Consider the directed graphG=(V,E) with sourceS and sink T.The maximum data must be sent from source to sink without exceeding the capacities of any other edges is the maximum flow. The maximum flow is denoted by role="math" localid="1657972699416" f . Min-cut is the partition of the vertices into two different groups and its capacity is the total capacity of the edges from the two disjoint groups.

02

Find maximum flow fand a minimum cut. 

(a)

Consider the network figure given in the question. The source isS and the sink isT in the graph G(V,E). The maximum flow does not violate the edge capacities; for all the nodes, the amount of flow entering the vertex must equal the amount leaving. The following Figure shows the Maximum flow and the minimum cut of the graph.

The flowing diagram illustrates the steps in finding the maximum flow.

Therefore, the maximum flowf is11 , and a min-cut is({S,A,B},{C,D,T}) .

03

Draw the residual graph and mark the vertices that reach from S and T . 

(b)

The residual graph captures the flow-increasing opportunities in the graph. The residual graph is represented byGf . The residual graph lists the two types of edges with residual capacities and flow.

The residual graphGf of the given network is as follows:

The vertices reachable from SareA andB . The vertices reachable fromT areC andD . The reachable vertices are represented as follows,

Therefore, the residual graph with the vertices reachable from source and sink is obtained.

04

Find the bottleneck edges.

(c)

If the maximum flow capacity increases with the edge’s capacity, then the edge is called the bottleneck edge. Here, maximum flow capacity increases at edges(A,C)and(B,C) .

Hence, the bottleneck edges in the network are(A,C) and (B,C).

05

Example graph with no bottleneck edges.

(d)

The bottleneck edges increase the maximum flow of the network with an increase in their capacity.

The following is the example graph that has no bottleneck edges.

Thus, a network without bottleneck edges is obtained.

06

Algorithm to identify all the bottleneck edges. 

(e)

An efficient algorithm to identify all the bottleneck edges in-network is as follows:

Procedure Bottleneck(en,em)

Input: Graph (V,E)

Output: Bottleneck edges if exist

Perform max-flow min-cut in G(V,E)

Find Residual graph Gf

LetC be the edge capacity of Gf

If c=0at en

If both ends have positive residual capacity

Mark as bottleneck edge

Return(en,em)

The algorithm calculates the graph’s maximum flow and the minimum cut. The residual graph is examined, and the capacity of the edges is checked. If the edge’s capacity is zero, then both the ends of the edges are checked for the positive residual capacity. The resultant edge is not a bottleneck edge.

Therefore, an algorithm to identify all the bottleneck edges is obtained.

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

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?

Hall’s theorem. Returning to the matchmaking scenario of Section 7.3, suppose we have a bipartite graph with boys on the left and an equal number of girls on the right. Hall’s theorem says that there is a perfect matching if and only if the following condition holds: any subset sof boys is connected to at least |s|girls.

Prove this theorem. (Hint: The max-flow min-cut theorem should be helpful.)

The dual of maximum flow. Consider the following network with edge capacities

(a) Write the problem of finding the maximum flow from StoTas a linear program.

(b) Write down the dual of this linear program. There should be a dual variable for each edge of the network and for each vertex other than S,T.

Now we’ll solve the same problem in full generality. Recall the linear program for a general maximum flow problem (Section 7.2).

(c) Write down the dual of this general flow LP, using a variableyefor each edge and xufor each vertexus,t.

(d) Show that any solution to the general dual LP must satisfy the following property: for any directed path from in the network, the sum of the yevalues along the path must be at least 1.

(e) What are the intuitive meanings of the dual variables? Show that anystcut in the network can be translated into a dual feasible solution whose cost is exactly the capacity of that cut.

For the following network, with edge capacities as shown, find the maximum flow from S to T, along with a matching cut.

Find necessary and sufficient conditions on the reals a and b under which the linear program

maxx+yax+by1x,y0

(a) Is infeasible.

(b) Is unbounded.

(c) Has a unique optimal solution.

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