Hi again. Now I know what is your problem. I'm afraid you can not use ".lo" or ".up" for doing this but I think there is an alternative solution: foe example suppose you have an equation on X in your problem. X + Y * Z >= 6 ; firstly you define : positive variable X , Y , Z; Equa...
Thanks a million. Hi, You have two strict inequalities there: one comparing parameters, the other comparing variables. The parameters can be compared this way, but not the variables. So you could do something like: set i / blah /; alias (i,j); parameter a(i); variables x(i); equation f(i,j); f(i,j)$...
Hi everyone. I want to model the equation below in GAMS: equation1.. if( x(i) > x(j), y(i) > y(j); ); it means if x(i) > x(j), then y(i) should be greater than y(j). here y(i) is a variable and x(i) is a parameter. I would be appreciated if someone can help how to model it in GAMS.