has_discrete_variables

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

pyomo.core.base.blockutil.has_discrete_variables(block)[source]

已弃用。

自版本5.6.9起已弃用:此函数已移至pyomo.util.blockutil