306. Transportation Problem

A classical LP: ship supply from 𝑚 sources to 𝑛 destinations at minimum cost.

306.1. Formulation

Decision variable 𝑥𝑖𝑗 = units shipped from source 𝑖 to destination 𝑗.

min𝑖=1𝑚𝑗=1𝑛𝑐𝑖𝑗𝑥𝑖𝑗

subject to:

𝑗𝑥𝑖𝑗=𝑠𝑖,𝑖=1,,𝑚(supply at source𝑖=𝑠𝑖)𝑖𝑥𝑖𝑗=𝑑𝑗,𝑗=1,,𝑛(demand at destination𝑗=𝑑𝑗)𝑥𝑖𝑗0

Balanced: 𝑠𝑖=𝑑𝑗. If unbalanced, add a dummy source / sink.

306.2. Structure

306.3. Solution algorithms

  1. Northwest-corner rule — initial BFS by greedy fill from upper-left
  2. Vogel’s approximation method (VAM) — better initial BFS using opportunity costs
  3. MODI / stepping stone — improvement iterations on a BFS to optimality
  4. Transportation simplex — specialized simplex exploiting structure; 𝑂((𝑚+𝑛)2) per pivot vs 𝑂((𝑚𝑛)2) for general

For large instances: just use network simplex.

306.4. Special cases

306.5. See also