min_if_not_None

(函数来自 pyomo.contrib.preprocessing.plugins.var_aggregator)

pyomo.contrib.preprocessing.plugins.var_aggregator.min_if_not_None(iterable)[source]

返回非None元素中的最小值。

当所有元素都为None时返回None。