90 likes | 205 Vues
Max & Min Capacity Problems. Max flow = Add the upper capacities of edges along the cut directed from S to T but subtract lower capacities of edges directed from T to S.
E N D
Max & Min Capacity Problems Max flow = Add the upper capacities of edges along the cut directed from S to T but subtract lower capacities of edges directed from T to S. Min Flow = Add the lower capacities of edges along the cut directed from S to T but subtract upper capacities of edges directed from T to S. If negative then min flow is zero. It can be a good idea to first ensure that all the minimums are satisfied before trying to maximise the flow
Max & Min Capacity Problems L1 = 10 + 11 = 21 L2 = 14 – 3 + 9 = 20 L3 = 12 – 3 + 9 = 18 (CT, DE must be saturated and EB must have at least the min) So the maximum flow is 18 in order that the minimum flow condition is met. The labelling procedure is used as before but if the flow in an arc is reduced then it must not be reduced below the minimum value.
Excess and Backflow Network Excess flow = additional flow that may be possible Back flow = current flow
Before 11 CT, DE must be saturated from the min cut line and EB have at least the min After Consider a route which satisfies the minimum capacity and determine whether this can be increased. Path SBCT min flow = 9 excess capacity 10 = min{10, 14, 12}. So use a backflow of 10 SB is then saturated.
Before 0 0 6 11 0 11 0 9 5 After 0 11 Path SDEBCT : excess flow = 2 along CT However EB must have at least the min according to the min cut line and hence a flow of 3 must be used. CT only has an excess of 2 and so path SBCT must be reduced by 1 .
Before After Now add in Path SDEBCT Path SDEBCT with EB saturated excess capacity 3 = min{11, 9, 6, 5, 3}. CT is saturated and EB has the min required.
0 0 11 0 Path SDET excess capacity 6 = min{8, 6, 11}. DE saturated .
Redraw the diagram with the back flows as forward flows Flow In = 18 Flow Out = 18
Now try and do it by satisfying the minimum capacity first and then maximising the flow starting from a) SBCT b) SDET