Recognizing TU Structure in Practice
Apply the Heller-Tompkins sufficient condition to recognize totally unimodular matrices arising in common LP formulations: node-arc incidence matrices of directed graphs, node-edge incidence matrices of bipartite graphs, assignment and transportation problems.
Tutorial
The Heller-Tompkins Sufficient Condition
Checking total unimodularity (TU) directly from the definition would require computing the determinant of every square submatrix — exponentially many of them. In practice we recognize TU using the following sufficient condition.
Heller-Tompkins criterion. A matrix with entries in is totally unimodular if both of the following hold:
- Every column has at most two nonzero entries.
- The rows can be partitioned into two sets and such that, for each column with two nonzero entries:
- the two entries have opposite signs their rows lie in the same set;
- the two entries have the same sign their rows lie in different sets.
As a quick illustration, consider
Every column has exactly two nonzeros with opposite signs. Taking and satisfies condition 2 trivially (every opposite-sign pair lies in ). Therefore is TU.