(function from pyomo.core.expr.visitor)
pyomo.core.expr.visitor
Return the polynomial degree of the expression.
node – The root node of an expression tree.
A non-negative integer that is the polynomial degree if the expression is polynomial, or None otherwise.
None