Loading
The transportation problem ships goods from sources to destinations at the least total cost. A starting solution (North-West corner, least cost, or Vogel's method) is improved by the MODI method until no empty cell would lower the cost.
Costs (rows = sources, columns = destinations): 19 30 50 10 / 70 30 40 60 / 40 8 70 20. Supplies 7, 9, 18; demands 5, 8, 7, 14. Find the cheapest plan (Vogel, then MODI).
The calculator below opens on this example.
Unbalanced problem.
Fewer than m + n − 1 occupied cells.
Wrong loop signs.
Stopping at the Vogel answer.
If supply and demand differ, a dummy row or column (cost 0) is added.
Add this calculator to a new note, next to your own working. It stays live: change the numbers there any time.