GAMS Documentation say ‘Activity level for the variable, also the current value or starting point. This attribute is reset to a new value when a model containing the variable is solved. The activity level is used to construct a basis for the model.’ but the g_lin.l is not reset !
thanks!
g_lin.l(t,i,b)=1000;
objective function… cost=cost1+cost2;
cost2= sum((t,i)$( (g_lin.l(t,i,‘b1’)+g_lin.l(t,i,‘b2’)+g_lin.l(t,i,‘b3’))<100), sum(b,30*gs(t,i,b,ny)) ;
…
I found the g_lin.l(t,i,b) always equal to 1000, and the cost2=0. but the result of g_lin<100.