I am trying to solve a production problem and right now I need to assign an initial value to the inventory, and that value is given. This is my definition of the inventory variable:
H = pl.LpVariable.dicts("H[i,t]", [(i,t) for i in productos for t in periodos],cat='Integer')
where:
productos=["golilla","tornillo","tuerca"]
periodos= [1,2,3,4,5,6,7,8,9,10,11,12]
and H["golilla",0]
need to be 2400, H["tuerca",0]
need to be 140 and H["tornillo",0]
need to be 320