is_variable_type

(function from pyomo.core.expr.numvalue)

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

A utility function that returns a boolean indicating whether the input object is a variable.