The stepping-stone method
Goods move from supply points to demand points at given unit costs. Balance supply and demand (dummy if needed), start with the north-west corner, then compute shadow costs Ri+Kj=Cij on occupied cells and improvement indices Iij=Cij−Ri−Kj on empty ones. A negative index means a cheaper plan: move stock round a stepping-stone loop.
≈ 50 min