Flow problems

Apply the maximum-flow minimum-cut theorem to directed networks; identify cuts, calculate cut capacity, and determine the maximum flow from source to sink.

Worked examples

Calculating a cut capacity

Straightforward

Problem

A directed network has source S, sink T, and intermediate vertices A and B: S→A (capacity 8), S→B (capacity 6), A→T (capacity 5), B→T (capacity 7), A→B (capacity 4). Find the capacity of the cut with S-side = {S, A} and T-side = {B, T}.

Finding the maximum flow using the minimum-cut theorem

Moderate

Problem

For the same network (S→A cap 8, S→B cap 6, A→T cap 5, B→T cap 7, A→B cap 4), find the maximum flow from S to T by evaluating all possible cuts.

Interpreting the minimum cut in context

Challenging

Problem

A water supply system has source S (reservoir), sink T (town), and two pump stations A and B: S→A (capacity 10), S→B (capacity 7), A→T (capacity 8), B→T (capacity 6), A→B (capacity 3). Find the maximum flow the system can deliver to the town.

Practise

Q1·Straightforward
A cut divides the vertices of a network into two sets: those containing the source (S-side) and those containing the sink (T-side). A cut passes through three edges with capacities 4, 6 and 3. What is the capacity of this cut?
Q2·Straightforward
The maximum-flow minimum-cut theorem states that:
Q3·Straightforward
A simple directed network has source S, one intermediate vertex A and sink T. The edges are S→A (capacity 5) and A→T (capacity 9). What is the maximum flow from S to T?
Q4·Moderate
A directed network has source S, sink T and one intermediate vertex A. Edges: S→A (capacity 7), S→T (capacity 3), A→T (capacity 5).

There are two paths from S to T:
- Path 1: S→T directly (capacity 3)
- Path 2: S→A→T (the bottleneck is the smaller of 7 and 5)

What is the maximum flow from S to T?
Q5·Moderate
A directed network has source S, sink T, and two intermediate vertices A and B. The edges are:
- S→A (capacity 6), S→B (capacity 4)
- A→T (capacity 5), B→T (capacity 7), A→B (capacity 3)

A cut is drawn so that the S-side contains {S} and the T-side contains {A, B, T}. Calculate the capacity of this cut.
Q6·Moderate
Using the same network (S→A cap 6, S→B cap 4, A→T cap 5, B→T cap 7, A→B cap 3):

A second cut is drawn so that the S-side = {S, A, B} and the T-side = {T}. Calculate the capacity of this cut.
Q7·Moderate
For the network (S→A cap 6, S→B cap 4, A→T cap 5, B→T cap 7, A→B cap 3), two of the possible cuts have capacities 10 and 12 respectively. A third cut (S-side = {S, A}, T-side = {B, T}) passes through edges S→B (4), A→T (5) and A→B (3). What is the capacity of this third cut?
Q8·Moderate
For the network (S→A cap 6, S→B cap 4, A→T cap 5, B→T cap 7, A→B cap 3), the three cut capacities are 10, 12 and 12. What is the maximum flow from S to T?
Q9·Challenging
A directed pipeline network has source S, sink T and intermediate vertices P and Q:
- S→P (capacity 8), S→Q (capacity 5)
- P→T (capacity 6), Q→T (capacity 4), P→Q (capacity 3)

Consider the cut with S-side = {S, P} and T-side = {Q, T}. Calculate its capacity.
Q10·Challenging
Using the same pipeline network (S→P cap 8, S→Q cap 5, P→T cap 6, Q→T cap 4, P→Q cap 3):

You have found these cut capacities so far:
- Cut {S}: capacity 13
- Cut {S, P}: capacity 14

Now find the capacity of the cut with S-side = {S, Q} and T-side = {P, T}.
Q11·Challenging
For the pipeline network (S→P cap 8, S→Q cap 5, P→T cap 6, Q→T cap 4, P→Q cap 3), the cuts evaluated so far are:
- Cut {S}: 13
- Cut {S, P}: 14
- Cut {S, Q}: 12
- Cut {S, P, Q}: edges P→T (6) and Q→T (4) = 10

Using the maximum-flow minimum-cut theorem, what is the maximum flow from S to T?
Q12·Challenging
A directed network has source S, sink T and intermediate vertices A, B and C:
- S→A (capacity 10), S→B (capacity 8)
- A→C (capacity 6), A→B (capacity 4)
- B→T (capacity 9), C→T (capacity 7)

The cut with S-side = {S, A, B} and T-side = {C, T} passes through edges A→C and B→T. Calculate the capacity of this cut.