Transportation spanning tree (source code)

= Transportation spanning tree

The positive cells of a nondegenerate transportation basis form a spanning tree in the bipartite graph of supply and demand vertices.