I have a problem about calculation which I aimed to calculate on Gams.
Here is my code about this part.
I defined the h(i,j) before this code. m(i) is also a big number to ensure u(i) is depends on x(i). GAMS should be able to calculate the above code. but it gives me u(i)=1 for every i.
Code: Select all
How can I ensure the GAMS can calculate the real values for u(i)? (I can not add u(i) as a variable, because the model must be stay as linear.)