count_constraints

(function from pyomo.contrib.viewer.report)

pyomo.contrib.viewer.report.count_constraints(blk)[source]

Count active constraints.