(function from pyomo.contrib.incidence_analysis.triangularize)
pyomo.contrib.incidence_analysis.triangularize