TD 4
TD 4
Exercise 2
Apply the Ford-Fulkerson algorithm to the
following flow (at each iteration, provide an
augmenting path, but do not detail the
calculation of the path). At the end of the
algorithm's execution, demonstrate that the
flow is indeed maximal by using a theorem
covered in class.
Exercise 3
Exercise 4
Consider the transportation network below with the source vertex E and the sink vertex S. The weights on the arcs
represent the capacities of the channels.
Exercise 7:
Two water reservoirs supply 3 cities through a network of pipelines that also includes pumping stations. Each
reservoir has a limited capacity of 100,000 m³. The cities have expressed demands of 45,000 m³ for City 1, 40,000
m³ for City 2, and 80,000 m³ for City 3. The pipelines between the reservoirs and the cities have limited flow
capacities. For example, the pipeline connecting Reservoir 1 to City 1 has a maximum flow capacity of 30, while
the pipeline connecting Pumping Station 1 to City 2 has a maximum flow capacity of 50 (in thousands of m³). These
values are shown on the graph in parentheses along the pipelines. The problem is to determine whether it is
possible to meet the demands of the 3 cities through this network, and if so, how.
C1 C2
S1 S2
V1 V2 V3
a) Model this water distribution problem as a transportation network, then determine the maximum flow
for this graph as well as the corresponding minimum cut.
b) The water service for City V1, being well-informed, believes it is possible to increase the amount of water
supplied to it. If this is feasible, what would this new quantity be? Justify your answer.
c) Seeing this, City V2 also requests an increase in its supply, following V1's successful increase. Is it possible
to do so without altering what has been distributed to the other two cities? Justify your answer.
d) Meanwhile, the officials of City V3, who would also like to see their supply increased, propose to fund work
to increase the capacity of a pipeline supplying their city. Which pipeline is it, and what would its new
capacity be?
2/2