How do you write the following inventory balance constraint in gurobi-pandas vectorized framework?
Var_StartInv(i,w) = Var_EndInv(i,w-1) if w > 1 else P_InitialInv(i)
where i belongs to lst of facilities and w is set of weeks. P_InitialInv is given initial inventory.
Please sign in to leave a comment.