Totally unimodular matrix (source code)

= Totally unimodular matrix
{wiki}

A matrix is totally unimodular when every square subdeterminant is $0$, $1$, or $-1$; linear programs with such a constraint matrix and integer right side have integral vertices.