polynomial_degree

(function from pyomo.core.expr.numvalue)

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

A utility function that returns an integer that indicates the polynomial degree for an object. boolean indicating