I would like to describe the below expression in the GAMS model.
y_i = max (0, x_i - capacity) for all i in I
- Both y_i and x_i are positive decision variables.
- If x_i >= capacity then y_i should be 0. Otherwise, y_i is equal to (x_i - capacity).
Would you please let me know how to do it?
Thank you for all your comments in advance.
Problems with modeling
1 post • Page 1 of 1