create_var

(function from pyomo.network.util)

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