Hello,

I am quite new in programming gams and I need a MIP version of the following equation:

equation eq;

eq… F =e= rel_le(c,1)*0.9
+rel_gt(c,1) rel_lt(c,4)(0.8+0.1*(4-c)/3)

+rel_ge(c,4)*0.8;

So: F is 0.8 for c = 1 or lower and 0.9 for c= 4 or higher, linear between.

I would be so happy to receive help! Thank you!