count_free_variables

(function from pyomo.contrib.viewer.report)

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

Count free variables that are in active equality constraints. Ignore inequalities, because this is used in the degrees of freedom calculations