create_var

(函数来自 pyomo.network.util)

pyomo.network.util.create_var(comp, name, block, index_set=None)[source]