A real five-node, nine-arc network with exact integer capacities — including one pair of arcs running in both directions — parsed from the model file the external solver reads. No computation happens yet.

highlighted = computed this step

The instance

There are 5 nodes and 9 arcs with exact integer capacities, parsed from the solver's model file at build time, not hand-typed. Why: the earlier chapters' teaching network had 4 nodes and 5 edges; this one is the real instance the external solver reads.

arcs=9\text{arcs}=9
The arc tableOne row per arc, with exact integer data.5 nodes, 9 arcscapacityN1 to N220N1 to N330N1 to N410N2 to N340N2 to N530N3 to N410N3 to N520N4 to N35N4 to N520

Arcs both ways

One honest detail: arcs run both ways between N3 and N4 — one arc each direction, a normal feature of a real network. Why: nothing about max-flow forbids it, but it matters later, when this book's own teaching algorithm needs one small transformation to run on the same instance.

two arcs, opposite directions\text{two arcs, opposite directions}
The arc tableOne row per arc, with exact integer data.5 nodes, 9 arcscapacityN1 to N220N1 to N330N1 to N410N2 to N340N2 to N530N3 to N410N3 to N520N4 to N35N4 to N520

No computation yet

This lesson only presents the network. Why: the question is the usual one — how much flow can move from N1 to N5 — and the solving, with its certificate, comes next.

maximize source-to-sink flow\text{maximize source-to-sink flow}
The arc tableOne row per arc, with exact integer data.5 nodes, 9 arcscapacityN1 to N220N1 to N330N1 to N410N2 to N340N2 to N530N3 to N410N3 to N520N4 to N35N4 to N520

Diagram note

The table lists one row per arc, labeled by its endpoints — N1 to N5 style — with the exact capacity; those labels are the vocabulary this chapter uses everywhere. Pixel positions are rounded for layout; every number shown is exact.

parsed arcs, not typed\text{parsed arcs, not typed}
The arc tableOne row per arc, with exact integer data.5 nodes, 9 arcscapacityN1 to N220N1 to N330N1 to N410N2 to N340N2 to N530N3 to N410N3 to N520N4 to N35N4 to N520