Problem Solving

Network Flow

Students send blue beads through a branching network.

Network Flow definition

A network flow assigns an amount of flow to each directed edge while respecting edge capacities and conservation at intermediate vertices.

In Spanish
flujo en redes
Topic
Graph algorithms and networks

Network Flow in a picture

Network Flow diagramTwo routes can carry 3 and 2 units to the same sink, giving total flow value 5.Send 3 units along one routeEach edge can carry at least 3Send 2 units along anotherEach edge can carry at least 2Add the flow reaching the sinkThe combined value is 5
Two routes can carry 3 and 2 units to the same sink, giving total flow value 5.

How it works

Each edge carries a nonnegative amount no greater than its capacity. Every intermediate vertex has equal total inflow and outflow. The value of an s–t flow is net flow out of the source, which equals net flow into the sink.

Worked examples

Can an edge of capacity 4 carry 5 units?

No. Its flow cannot exceed 4.

A vertex receives 6 units and sends 2 on one edge. How much must it send on other edges if it is intermediate?

4 units total.

Two edge-disjoint routes have bottlenecks 2 and 5. What total can those routes carry simultaneously?

7 units.

Common mistake

Check both kinds of constraints. Keeping each edge below capacity does not by itself guarantee conservation.

Quick check

An intermediate vertex receives 8 units. What must its total outflow be?

What is the source?

Show answer

The vertex from which net flow is sent.

What is the sink?

Show answer

The vertex to which net flow is delivered.

Sources

Flashcard

Network Flow

Reveal the definition

A network flow assigns an amount of flow to each directed edge while respecting edge capacities and conservation at intermediate vertices.

Effortless Math. “Network Flow.” Math Dictionary.