Hi dear all,
I write the following in which Price is a variable. The model solves but doe not take the condition in to account.Is there any way I can use the $ if the condition is related to a variable? If not, is there any other way I can proceed?
q_ginstock2(Yr,i) $ (PRICE.l(Yr,i) < pmin(i))..
GINSTOCK(Yr,i) =E=Stock_cap(i)/ PRICE.L(Yr,i);
Problems with syntax of GAMS
2 posts • Page 1 of 1
Problem successfully solved. In case someone else have the same problem, the solution is in this document (see link) pp: 37-40