is_fixed

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

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

一个实用函数,返回一个布尔值,指示输入对象的值是否固定。