i am trying to modelling a enlarged Knapsack Problem. I have a set I (I1 to I13) and next to i i use j in my equations. I need the condition that always i is lower than j. You can find the related locations of my code down here. I tried so many things but I don't get any solution.
I Zones /I1*I13/
Subst (i,j) z(i,j) =l= subst(i,j)*y(j)
Replace(i) sum(j, z(i,j)) =e= 1;
I would be so grateful for your help.
Problems with syntax of GAMS
1 post • Page 1 of 1