Chapter 7: Q12E (page 241)
For the linear program
Prove that the solution is optimal
Short Answer
The solution is the optimal solution.
Chapter 7: Q12E (page 241)
For the linear program
Prove that the solution is optimal
The solution is the optimal solution.
All the tools & learning materials you need for study success - in one app.
Get started for freeConsider the following generalization of the maximum flow problem.
You are given a directed network with edge capacities . Instead of a single pair, you are given multiple pairs , where the are sources of and the are sinks of . You are also given demands . The goal is to find flows with the following properties:
How would you solve this problem?
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 of boys is connected to at least girls.
Prove this theorem. (Hint: The max-flow min-cut theorem should be helpful.)
In a satisfiable system of linear inequalities
we describe the inequality as forced-equal if it is satisfied with equality by every solution x = of the system. Equivalently, is not forced-equal if there exists an x that satisfies the whole system and such that .
For example, in
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 , whererole="math" localid="1659789093525" 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.
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.
What do you think about this solution?
We value your feedback to improve our textbook solutions.