I have a modeling problem which seems not to be difficult to solve, but I cannot find a way to handle it.
![Neutral :|](./images/smilies/icon_neutral.gif)
Assume there are two variables in your model that one of the variables is integer (X) and another one is binary (Y).
If X is 0 then Y is 0 as well, otherwise if X=1,2,3, .... then Y=1.
I don't know how I can define these conditional equation in GAMS, since one cannot define an equation in GAMS with conditions on variables.
Can anybody help me?
Thanks for your time to read the post.