Network Flows: Cuts, Maximum Flow and the Labelling Procedure | AQA A Level Further Maths notes

Free preview: Network Flows: Cuts, Maximum Flow and the Labelling Procedure

Flow Networks: Sources, Sinks and Capacities

Year 1 (AS) for OCR B (MEI). For the other boards, check your own specification for which parts are AS and which are A level.

Let's start with water pipes. Water enters at a reservoir and leaves at a town. Each pipe can carry only so much per minute. What is the most water the town can receive? The same question fits traffic through a road system, data through a computer network, or oil through a pipeline.

The words we need

  • A flow network is a directed network with a source S (where the flow starts) and a sink T (where it ends).
  • Each arc has a capacity: the most that can flow along it, in the direction of the arrow.
  • A feasible flow obeys two rules: the flow in each arc is between 0 and its capacity, and at every vertex except S and T, flow in = flow out (conservation).
  • The value of the flow is the total leaving S, which equals the total arriving at T.
  • An arc is saturated if its flow equals its capacity: it is full.

Directed network S, A, B, C, D, T with arcs S to A 12, S to B 10, A to C 8, A to D 6, B to A 4, B to D 9, C to T 11, D to C 3, D to T 9. A purple dashed cut separates C and T from the rest

Following the diagram

  • The capacity out of S is 12+10=22, and the capacity into T is 11+9=20. So the flow cannot exceed 20.
  • B to A points upwards: flow can only go from B to A, never from A to B.
  • The purple line is a cut; we use it on the next page to prove that 20 really is the maximum.

Checking a flow is feasible (the recipe)

  1. Check every arc: 0 ≤ flow ≤ capacity. Why: a pipe can't carry more than it holds, or carry a negative amount.
  2. At every vertex except S and T, add the flows in and the flows out. They must be equal. Why: water can't appear or vanish at a junction.
  3. The value is the total out of S. Check it equals the total into T.

💡 In plain words

  • Capacity: the size of the pipe. Flow: what is actually in it.
  • Conservation: whatever goes into a junction must come out.

✏️ YOUR TURN 1

Try this first:

In the diagram's network, is this flow feasible? SA 8, AC 6, AD 2, SB 7, BD 7, CT 6, DT 9. If so, give its value.

Answer:

  • All flows are within capacity (SA 8 ≤ 12, AC 6 ≤ 8, AD 2 ≤ 6, SB 7 ≤ 10, BD 7 ≤ 9, CT 6 ≤ 11, DT 9 ≤ 9).
  • A: in 8, out 6 + 2 = 8 ✓. B: in 7, out 7 ✓ (BA carries 0). C: in 6, out 6 ✓. D: in 2 + 7 = 9, out 9 ✓ (DC carries 0).
  • Feasible, with value 8+7=15 (check: into T 6+9=15).

Cuts and the Maximum Flow Minimum Cut Theorem

How can we be sure a flow is the biggest possible? We look for a bottleneck.

  • A cut is a line that splits the vertices into two sets, one containing S and the other containing T.
  • The capacity of a cut is the sum of the capacities of the arcs crossing it from the S side to the T side. Arcs crossing from the T side back to the S side are not counted.

The recipe for a cut's capacity

  1. Write the two sets: S side | T side.
  2. List every arc that crosses between the sets.
  3. Keep only arcs going from the S side to the T side, and add their capacities. Why: flow going back towards S doesn't help get flow to T.
Cut (S side | T side)Arcs from S side to T sideCapacity
S | A, B, C, D, TSA 12, SB 1022
S, A | B, C, D, TSB 10, AC 8, AD 6 (BA goes backwards: ignore)24
S, A, B, D | C, TAC 8, DC 3, DT 920
S, A, B, C, D | TCT 11, DT 920

Diagram: The cut separates S, A from B, C, D, T.

What the picture shows

  • The cut separates {S, A} from {B, C, D, T}.
  • Wrong: B to A was added too, giving 10+8+6+4=28.
  • Right: B to A crosses from the T side back to the S side, so it is ignored. The capacity is 10+8+6=24.
  • Every unit of flow must cross every cut from the S side to the T side, so any flow ≤ any cut.

Unlock the full note: start 7 days free.

Log in or subscribe to read the rest of this note. Members also get the AI tutor, practice quizzes, mock exams and flashcards for this topic.

Log in · Subscribe · Start free trial

All notes in Network Flows

  1. Network Flows: Cuts, Maximum Flow and the Labelling Procedure
  2. Extending Flow Networks: Supersources, Supersinks, Lower Capacities and Vertex Capacities

What's inside for this topic

2 teacher notes, 65 practice questions, 42 flashcards, 2 quizzes.

Get the full notes, every practice question, flashcards, quizzes and mock papers.

Start your free 7-day trial

Questions? Chat with us on WhatsApp · Try one live lesson

Next note: Extending Flow Networks: Supersources, Supersinks, Lower Capacities and Vertex Capacities

All AQA A Level Further Maths topics · A Level Further Maths