Chapter 7: Q11E (page 240)
Write the dual to the following linear program.
Find the optimal solutions to both primal and dual LPs
Short Answer
Dual LP:
Subject to
Solution of primal LP, , .
Solution of dual LP is ,
Chapter 7: Q11E (page 240)
Write the dual to the following linear program.
Find the optimal solutions to both primal and dual LPs
Dual LP:
Subject to
Solution of primal LP, , .
Solution of dual LP is ,
All the tools & learning materials you need for study success - in one app.
Get started for freeFor the linear program
Prove that the solution is optimal
Hollywood. A film producer is seeking actors and investors for his new movie. There are available actors; actor charges dollars. For funding, there are available investors. Investor will provide dollars, but only on the condition that certain actors are included in the cast (all of these actors must be chosen in order to receive funding from investorrole="math" localid="1658404523817" ).
The producer’s 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 .
(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).
Consider the following network (the numbers are edge capacities).
(a)Find the maximum flow and a minimum cut.
(b)Draw the residual graph (along with its edge capacities). In this residual network, mark the vertices reachable from and the vertices from which 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.
Matching pennies. In this simple two-player game, the players (call them and ) each choose an outcome, heads or tails. If both outcomes are equal, gives a dollar to ; if the outcomes are different, gives a dollar to .
(a) Represent the payoffs by a matrix.
(b) What is the value of this game, and what are the optimal strategies for the two players?
Direct bipartite matching. We’ve seen how to find a maximum matching in a bipartite graph via reduction to the maximum flow problem. We now develop a direct algorithm.
Let be a bipartite graph (so each edge has one endpoint in and one endpoint in ), and letbe a matching in the graph (that is, a set of edges that don’t touch). A vertex is said to be covered byif it is the endpoint of one of the edges in . An alternating path is a path of odd length that starts and ends with a non-covered vertex, and whose edges alternate between and .
(a) In the bipartite graph below, a matching is shown in bold. Find an alternating path.
(b) Prove that a matchingis maximal if and only if there does not exist an alternating path with respect to it.
(c) Design an algorithm that finds an alternating path intime using a variant of breadth-first search.
(d) Give a directalgorithm for finding a maximal matching in a bipartite graph.
What do you think about this solution?
We value your feedback to improve our textbook solutions.