count_constraints

(函数来自 pyomo.contrib.viewer.report)

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

计算活动约束的数量。