Problem with loop
Posted: Sat Jun 20, 2020 4:11 am
Dear All,
I am solving a problem with GAMS 24.4/cplex. There are two Loop in my model, and they have to exist in my model. In addition, the function of “break” or “continue” is infeasible.
I want to terminate the inner LOOP "t", and start a new outer LOOP "k" when some condition is met, such as " b(k,t)>5". However, the result is wrong when I terminate the inner LOOP. Could you please help in obtaining the right results?
Thank you.
I am solving a problem with GAMS 24.4/cplex. There are two Loop in my model, and they have to exist in my model. In addition, the function of “break” or “continue” is infeasible.
I want to terminate the inner LOOP "t", and start a new outer LOOP "k" when some condition is met, such as " b(k,t)>5". However, the result is wrong when I terminate the inner LOOP. Could you please help in obtaining the right results?
Thank you.