How to use non-binary variable in a conditional statement MILP
Posted: Wed Jan 09, 2019 2:08 pm
I have a conditional statement I want to implement in a MILP. A is a non-binary variable that has known upper and lower bounds. B is a known parameter. And C is a binary variable. How do I formulate the condition?
If A < B then C is 1 otherwise C is 0 or 1.
Is this possible? I am new to optimization using GAMS and i'm still figuring out how this works
If A < B then C is 1 otherwise C is 0 or 1.
Is this possible? I am new to optimization using GAMS and i'm still figuring out how this works