/*! This file is auto-generated */ .wp-block-button__link{color:#fff;background-color:#32373c;border-radius:9999px;box-shadow:none;text-decoration:none;padding:calc(.667em + 2px) calc(1.333em + 2px);font-size:1.125em}.wp-block-file__button{background:#32373c;color:#fff;text-decoration:none} Q18E There are many common variations... [FREE SOLUTION] | 91影视

91影视

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.

Short Answer

Expert verified

(a) and (b) can be reduced to original max-flow. Also, (c) and (d) will be reduced to linear programming.

Step by step solution

01

Step-1:Solve the variation of maximum flow in subpart (a)

(a)

Consider that, GV,E is a graph where V and E are set of vertices and edges respectively of graph G.S is Source nose or starting node. T is Terminating or sink node. I is Internal nodes which not include S or T.

The reduced graph from multi-source, multi-sink flow to single-source, single-sink flow will be G'V',E'.

Here, V'=s,t+VandE'=s,a,laS+E+b,t,lbT.

Therefore, the given variation can be solved for Maximum flow s-t on graph G'.

02

Step-2:Solve the variation of maximum flow in subpart (b)

(b)

Let there be a vertex vV and Cv be the capacity(weight) of the vertex v.

Reduce from node-capacity maximum flow to simple max flow will be:

Consider, G'V',E'withV'=ainaV+aoutaVandE'=ain,aout,CaE+aout,Bin,Ca,ba,bE,

Therefore, The given variation can be solved for maximum flow on sin- tout graph G'.

03

Step-3:Solve the variation of maximum flow in subpart (c)

(c)

Consider that i:Ne, be the bijective mapping(means every element has being matched) between the edge of the graph and set of natural numbers. Ci,Capacity of edge i, Li, lower bound of i, and F, Flow along the edge i .

Maximize the sum of fi , i.e.,

Maximize:ies,vfi

Constraints:

fiCifor alliE (Capacities)

fiLifor alliE (Lower Bounds)

iintovfi-joutofvfjfor allvV-s,t (Conservation)

Therefore, The given variation can be solved for maximum flow.

04

Step-4: Solve the variation of maximum flow in subpart (d)

(d)

Consider that, ev be the loss coefficient along each of the node, such thatout-flow=1-evinflow(v) for all internal nodes l.

Maximize the sum of all values of fi

Maximize:is,vfi

Constraints:

localid="1659791095962" fiCifor alliE (Capacities)

iintov1-eifi-joutofvfjfor allvV-s,t (Lossy Conservation).

Therefore, The given variation can be solved for maximum flow.

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 91影视!

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

Show that the change-making problem (Exercise) can be formulated as an integer linear program. Can we solve this program as an LP, in the certainty that the solution will turn out to be integral (as in the case of bipartite matching)? Either prove it or give a counterexample.

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

Hollywood. A film producer is seeking actors and investors for his new movie. There are n available actors; actori chargesSj dollars. For funding, there arem available investors. Investorj will providepj dollars, but only on the condition that certain actorsLj{1,2,...,n} are included in the cast (all of these actorsLj must be chosen in order to receive funding from investorrole="math" localid="1658404523817" j ).

The producer鈥檚 profit is the sum of the payments from investors minus the payments to actors. The goal is to maximize this profit.

(a) Express this problem as an integer linear program in which the variables take on values {0,1}.

(b) Now relax this to a linear program, and show that there must in fact be an integral optimal solution (as is the case, for example, with maximum flow and bipartite matching).

Find the value of the game specified by the following payoff matrix.

00110121111110011203111103210211

(Hint: Consider the mixed strategies (13,0,0,12,16,0,0,0)and )(23,0,0,13))

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.