In a project, Ipopt is used to solve a problem. I am wondering if I can add a new constraint to the problem, but I am not very deep into the topic. Basically, a variable should be greater than a certain value, or it can be zero. The latter could be a problem since the target range is not contiguous.
I was thinking of using binary variables, but as far as I can see, the Ipopt solver does not support them. Is there any way to implement my condition?