is_constant

(function from pyomo.core.base.numvalue)

pyomo.core.base.numvalue.is_constant(obj)[source]

A utility function that returns a boolean that indicates whether the object is a constant.