Hello everyone,
I am new to GAMS modelling and i cant figure out how to write the equation
X(i,1)=0
any help would be appreciated.
Hello everyone,
I am new to GAMS modelling and i cant figure out how to write the equation
X(i,1)=0
any help would be appreciated.
Hi
If the 1 in your equation is a set element, you should quote it (set elements that are numbers are treated as strings). Futhermore, the equal sign in equations is =E=.
X(i,“1”) =E= 0;
Cheers
Renger