is_variable_type

(函数来自 pyomo.core.expr.numvalue)

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

一个实用函数,返回一个布尔值,指示输入对象是否为变量。