We use resLim to set a limit on Elapsed time in solve statements, is there any way to set a time limit on overall time that a gams code runs, which is contains several solve statements in loops. i thought maybe a if like this will do but it doesn't help.
tii=TimeElapsed;
if(tii>10000, stop loops;)
You can use etLim to achieve this.