https://github.com/fpicetti/occamypy/blob/0d67186d1d2345a073c24ec73a4237e0134c5d55/occamypy/problem/linear.py#L231 This computation can be useful for other applications.