Hello, how could I code a disjunctive problem of this type Maximise{f(X)| X |= eq1 or eq2 or eq3…} by GAMS?
Checkout LogMIP: https://www.gams.com/latest/docs/S_JAMS.html#EMP_DISJUNCTIVE_PROGRAMS
-Michael
Thank you ‘bussieck’
It works if I write
putclose emp
"disjunction d eq1 else eq2 "/
for the condition X |= eq1 or eq2
but how if X |= eq1 or eq2 or eq3? How could I write multiple “else” under disjunction?
I suggest really reading the section, then you easily find “ELSEIF”. -Michael