Optimization, Python, Linear Optimization, Operations Research.
as pe # ConcreteModel is model where data values supplied at the time of the model definition. As opposite to AbstractModel where data values are supplied in data file model = pe.ConcreteModel() # all iterables are to be converted into Set objects model.d_cust_demand = pe.Set(initialize = d.keys())