BigM formulation
Posted: Wed Aug 04, 2021 1:08 pm
Dear all,
I am trying to model a situation, x1(t) = f(t) when f(t) >= 200, otherwise x1(t) = 0, where x1, x2, and f are variables.
I am not sure how to do this in GAMS. It will be a big help if someone can help me with correcting codes in the attached toy problem . Thanks in advance!
Kind regards,
David
I am trying to model a situation, x1(t) = f(t) when f(t) >= 200, otherwise x1(t) = 0, where x1, x2, and f are variables.
I am not sure how to do this in GAMS. It will be a big help if someone can help me with correcting codes in the attached toy problem . Thanks in advance!
Kind regards,
David