has_discrete_variables

(函数来自 pyomo.util.blockutil)

pyomo.util.blockutil.has_discrete_variables(block)[source]