多项式次数

(函数来自 pyomo.core.expr.numvalue)

pyomo.core.expr.numvalue.polynomial_degree(obj)[source]

一个实用函数,返回一个整数,表示对象的多项式次数。布尔值指示