MathOptInterface.jl
MathOptInterface.jl copied to clipboard
Allow throwing from ZeroOne tests with bounds
This is needed for Mosek as it uses the Bridges.Constraint.ZeroOneBridge.
Actually, we need to rethrow so that it goes throw the _error_handler in case it's an UnsupportedConstraint for instance
I think this is the wrong fix. The ZeroOne bridge should add 1x in [0, 1], instead of x in [0, 1]. It's the bridge that is broken, not the tests.