Dear all
I am using the following code in gams.
when I use solve at the begining of the code, it is totally fine.
But when I use the solve after some Loops and other commands, the problem does not solve and I give an erorr as "SOLVE from line 160 ABORTED ".
As long as the solve is used after the loops and the whole prosec, there should be no problem, but why it is hapenning?
Many thanks.
project 1.rar (39 KB)