Consider the following linear program. maximize 5x + 3y \(\begin{array}{r} 5 x-2 y \geq 0 \\ x+y \leq 7 \\ x \leq 5 \\ x \geq 0 \\ y \geq 0 \end{array}\) Plot the feasible region and identify the optimal solution.
Read moreTextbook Solutions for Algorithms
Chapter 7 Problem 7.31
Question
Consider the following simple network with edge capacities as shown
Solution
Step 1 of 6
(a)
The maximum flow in a graph from the start vertex to the sink vertex can be computed by using the Ford-Fulkerson algorithm. According to the Ford-Fulkerson algorithm, the flow increases at least one unit per iteration. The algorithm terminates after iteration. Here
is the sum of capacities leaving source and
. The running time of this algorithm is
.
Given the network, . The maximum flow graph theorem states that: There exists a flow network with real capacities such that Ford-Fulkerson does not terminate. Thus, the values of the flows found may converge to some value arbitrarily far from the max flow.
Subscribe to view the
full solution
full solution
Title
Algorithms 1
Author
Sanjoy Dasgupta Algorithms, Christos H. Papadimitriou Algorithms, Umesh Vazirani Algorithms
ISBN
9780073523408