Introduction to Algorithms
3rd Edition
ISBN: 9780262033848
Author: Thomas H. Cormen, Ronald L. Rivest, Charles E. Leiserson, Clifford Stein
Publisher: MIT Press
expand_more
expand_more
format_list_bulleted
Question
Chapter 29, Problem 5P
a.
Program Plan Intro
To formulate the minimum cost circulation problem as a linear program.
b.
Program Plan Intro
To find the optimal solution for minimum cost circulation.
c.
Program Plan Intro
To find the maximum flow problem as minimum cost circulation.
d.
Program Plan Intro
To find the Single Source Shortest Path Problem as Minimum Cost Circulation Problem.
Expert Solution & Answer
Want to see the full answer?
Check out a sample textbook solutionStudents have asked these similar questions
Show the residual graph for the network flow given in answer to part (a)
Show the final flow that the Ford-Fulkerson Algorithm finds for this network, given that it proceeds to completion from the flow rates you have given in your answer to part (a), and augments flow along the edges (?,?1,?3,?) and (?,?2,?5,?).
Identify a cut of the network that has a cut capacity equal to the maximum flow of the network.
Consider the following directed network with flows written as the first number and edge capacity as the second on each edge:
Part 1
Draw the residual network obtained from this flow.
Part 2
Perform two steps of the Ford Fulkerson algorithm on this network, each using the residual graph of the cumulative flow, and the augmenting paths and flow amounts specified below. After each augment, draw two graphs, preferably side by side; these are graphs of: a) The flow values on the edges b) Residual network The augmenting paths and flow amounts are:
i) s → b→d c→t with flow amount 7 Units.
ii) s → b→ c→ t with 4 units.
Note for continuity your second graph should be coming from the one in (i) NOT from the initial graph.
Part 3
Exhibit a maximum flow with flow values on the edges, state its value, and exhibit a cut (specified as a set of vertices) with the same value.
Let G= (V, E) be an arbitrary flow network with source s and sink t, and a positive integer capacity c(u, v) for each edge (u, v)∈E. Let us call a flow even if the flow in each edge is an even number. Suppose all capacities of edges in G are even numbers. Then,G has a maximum flow with an even flow value.
Chapter 29 Solutions
Introduction to Algorithms
Ch. 29.1 - Prob. 1ECh. 29.1 - Prob. 2ECh. 29.1 - Prob. 3ECh. 29.1 - Prob. 4ECh. 29.1 - Prob. 5ECh. 29.1 - Prob. 6ECh. 29.1 - Prob. 7ECh. 29.1 - Prob. 8ECh. 29.1 - Prob. 9ECh. 29.2 - Prob. 1E
Ch. 29.2 - Prob. 2ECh. 29.2 - Prob. 3ECh. 29.2 - Prob. 4ECh. 29.2 - Prob. 5ECh. 29.2 - Prob. 6ECh. 29.2 - Prob. 7ECh. 29.3 - Prob. 1ECh. 29.3 - Prob. 2ECh. 29.3 - Prob. 3ECh. 29.3 - Prob. 4ECh. 29.3 - Prob. 5ECh. 29.3 - Prob. 6ECh. 29.3 - Prob. 7ECh. 29.3 - Prob. 8ECh. 29.4 - Prob. 1ECh. 29.4 - Prob. 2ECh. 29.4 - Prob. 3ECh. 29.4 - Prob. 4ECh. 29.4 - Prob. 5ECh. 29.4 - Prob. 6ECh. 29.5 - Prob. 1ECh. 29.5 - Prob. 2ECh. 29.5 - Prob. 3ECh. 29.5 - Prob. 4ECh. 29.5 - Prob. 5ECh. 29.5 - Prob. 6ECh. 29.5 - Prob. 7ECh. 29.5 - Prob. 8ECh. 29.5 - Prob. 9ECh. 29 - Prob. 1PCh. 29 - Prob. 2PCh. 29 - Prob. 3PCh. 29 - Prob. 4PCh. 29 - Prob. 5P
Knowledge Booster
Similar questions
- Let G = (V, E) be a flow network with source s and sink t. We say that an edge e is a bottleneck in G if it belongs to every minimum capacity cut separating s from t. Give a polynomial-time algorithm to determine if a given edge e is a bottleneck in G.arrow_forwardIs it a bottleneck? Let G=(V,E) be a flow network with source s and t sink. We say that an edge e is a bottleneck if it crosses every minimum-capacity cut separating s from t. Give an efficient algorithm to determine if a given edge e is a bottleneck in G and explain the complexity.arrow_forwardTrue or False Let G be an arbitrary flow network, with a source s, a sink t, and a positiveinteger capacity ceon every edge e. If f is a maximum s −t flow in G, then f saturates every edge out of s with flow (i.e., for all edges e out of s, we have f (e) = ce).arrow_forward
- rate(F, C) = cap(C): To prove this, it is sufficient to prove that everyedge u, v crossing from U to V has flow in F at capacity (Fu,v = cu,v) andevery edge v, u crossing back from V to U has zero flow in F. These give thatrate(F, C) = u∈Uv∈V [Fu,v − Fv,u] = u∈Uv∈V [cu,v − 0] = cap(C).arrow_forwardDescribe how to construct an incremental network in the Ford-Fulkerson algorithm in order to find the maximal flow through a network flow model with minimal overall cost.arrow_forwardIn the network below, the demand values are shown on vertices (supply values are negative). Lower bounds on flow and edge capacities are shown as (lower bound, capacity) for each edge. Determine if there is a feasible circulation in this graph. Please complete the following steps Solve the circulation problem without lower bounds. Write down the max-flow value.arrow_forward
- Show the final flow that the Ford-Fulkerson Algorithm finds for this network, given that it proceeds to completion from the flow rates you have given in your answer to part, and augments flow along the edges (?,?1,?3,?) and (?,?2,?5,?). Identify a cut of the network that has a cut capacity equal to the maximum flow of the network.arrow_forwardOnly considering Finite graphs, also note that every flow network has a maximum flow. Which of the following statements are true for all flow networks (G, s, t, c)? • IfG = (V, E) has as cycle then it has at least two different maximum flows. (Recall: two flows f, f' are different if they are different as functions V × V -> R. That is, if f (u, u) + f' (u, v) for some u, v EV. The number of maximum flows is at most the number of minimum cuts. The number of maximum flows is at least the number of minimum cuts. If the value of f is O then f(u, v) = O forallu, U. | The number of maximum flows is 1 or infinity. The number of minimum cuts is finite.arrow_forwardIn every instance (i.e., example) of the TSP, we are given n cities, where each pair of cities is connected by a weighted edge that measures the cost of traveling between those two cities. Our goal is to find the optimal TSP tour, minimizing the total cost of a Hamiltonian cycle in G. Although it is NP-complete to solve the TSP, there is a simple 2-approximation achieved by first generating a minimum-weight spanning tree of G and using this output to determine our TSP tour. Prove that our output is guaranteed to be a 2-approximation, provided the Triangle Inequality holds. In other words, if OPT is the total cost of the optimal solution, and APP is the total cost of our approximate solution, clearly explain why APP≤ 2∗OPT.arrow_forward
- In this question you will explore the Traveling Salesperson Problem (TSP). (a) In every instance (i.e., example) of the TSP, we are given n cities, where each pair of cities is connected by a weighted edge that measures the cost of traveling between those two cities. Our goal is to find the optimal TSP tour, minimizing the total cost of a Hamiltonian cycle in G. Although it is NP-complete to solve the TSP, we found a simple 2-approximation by first generating a minimum-weight spanning tree of G and using this output to determine our TSP tour. Prove that our output is guaranteed to be a 2-approximation, provided the Triangle Inequality holds. In other words, if OP T is the total cost of the optimal solution, and AP P is the total cost of our approximate solution, clearly explain why AP P ≤ 2 × OP T.arrow_forwardShow the network with the flow that results from augmenting the flow based on the path (?, ?2, ?3, ?1, ?4, ?) of the residual graph you have given in answer to part. Show the residual graph for the network flow given in answer to part. Show the final flow that the Ford-Fulkerson Algorithm finds for this network, given that it proceeds to completion from the flow rates you have given in your answer to part (i), and augments flow along the edges (?,?1,?3,?) and (?,?2,?5,?).arrow_forwardPlease answer the following question in full detail. Please be specifix about everything: You have learned before that A∗ using graph search is optimal if h(n) is consistent. Does this optimality still hold if h(n) is admissible but inconsistent? Using the graph in Figure 1, let us now show that A∗ using graph search returns the non-optimal solution path (S,B,G) from start node S to goal node G with an admissible but inconsistent h(n). We assume that h(G) = 0. Give nonnegative integer values for h(A) and h(B) such that A∗ using graph search returns the non-optimal solution path (S,B,G) from S to G with an admissible but inconsistent h(n), and tie-breaking is not needed in A∗.arrow_forward
arrow_back_ios
SEE MORE QUESTIONS
arrow_forward_ios
Recommended textbooks for you
- Operations Research : Applications and AlgorithmsComputer ScienceISBN:9780534380588Author:Wayne L. WinstonPublisher:Brooks Cole
Operations Research : Applications and Algorithms
Computer Science
ISBN:9780534380588
Author:Wayne L. Winston
Publisher:Brooks Cole