- Original Source: Wikipedia
A Matrix is TU (Totally Unimodular) if:
- Every entry in is , , or .
- Every column of contains at most two non-zero (i.e., or ) entries
- Assert that it is possible to divide the rows of in 2 groups ( and ) respecting the following rules: → If two non-zero entries in a column of have the same sign, then the row of one is in the group and the other one in the group → If two non-zero entries in a column of have opposite signs, then the rows of both are in the group, or are both in the group.
NOTE: If one of the 2 groups ( or ) is empty then the related IP (Integer Problem) is unbounded
~ Ex.: Matrix
✓ All elements are either , , ✓ In each column we have at most 2 non-zero elements ✗ According to the first column the 2 rows must be in the same group, but according to the second column the 2 rows must also be in different groups → This matrix is not TU
~ Ex.: Matrix
✓ All elements are either , , ✓ In each column we have at most 2 non-zero elements ✓ , ✓ , ✓ , ✓ ,
→ This matrix is TU