Definition
-
A price function
p : V → ℝinduces a reduced cost on edgeuv1:11:24,1:12:16:c_p(uv) = c(uv) + p(u) − p(v) -
Intuition — the gold trader: you buy gold at
u(payp(u)), ship it (payc(uv)), and sell it atv(earnp(v), i.e. negative cost)1:12:16,1:13:10.
The characterization
fis an optimal min-cost circulation iff there exists a price functionpon the residual graphG_fsuch that all reduced costs are non-negative1:13:23.
The pivotal invariant
- Cycle costs are identical under
candc_p— thep(u)andp(v)terms telescope and cancel around any cycle1:14:08.
Proof, direction 1 (p exists ⟹ optimal)
- All reduced costs non-negative ⇒ every cycle's reduced cost is non-negative ⇒ (by cancellation) every cycle's real cost is non-negative ⇒ no negative cycles ⇒ optimal, by the previous section
1:14:08,1:14:53.
Proof, direction 2 (optimal ⟹ p exists) — the construction
Given that G_f has no negative cycles 1:14:53, 1:15:29, 1:16:03:
- Introduce a new vertex
swith zero-cost edges to every vertex. - Set
p(u) =shortest-path distance fromstouunder the costs — well defined precisely because there are no negative cycles. - Non-negativity of all reduced costs is then exactly the triangle inequality. Left to the reader to verify offline.