Hi there,
I know that you can model a semi-continuous constraint in a mixed-integer setting as described here:
I was wondering whether it is possible to somewhat generalise this constraint to:
x \in {0} \union [a, b * (1 + gamma)]
In the above x is a k-vector, a and b are k-constants, and gamma is a k-variable that is larger than zero. gamma is also a variable in the problem and acts as a 'slack' variable, i.e. it is non-zero only occasionally to prevent infeasibility due to other constraints in the problem.
I have tried implementing this naively, but you end up having to elementwise multiply the indicator variable with the slack variable, which is not possible. Is there a way to implement this type of constraint?
Many thanks for your help!
Jaco Vermaak