Re: understanding GAMS syntax in a mathematical way
Posted: Thu Jul 13, 2017 2:13 pm
Hi, as you can read in https://www.gams.com/latest/docs/usergu ... arl/fx.htm, when doing x1.fx=9 actually:
Additionaly, this kind of statements (setting variable attributes) are executed in order. So when you do x1.lo=8 afterwards, you are "overwriting" the previous set of the lower bound.
Best regards!
Claudio
This means x1.fx=9 is exactly doing x1.lo=9 and x1.up=9 in one statement.... GAMS sets the lower and upper bound to that value.
Additionaly, this kind of statements (setting variable attributes) are executed in order. So when you do x1.lo=8 afterwards, you are "overwriting" the previous set of the lower bound.
Best regards!
Claudio