check_constant

(function from pyomo.repn.util)

pyomo.repn.util.check_constant(ans, obj, visitor)[source]