MathOptInterface.jl icon indicating copy to clipboard operation
MathOptInterface.jl copied to clipboard

Allow throwing from ZeroOne tests with bounds

Open blegat opened this issue 3 years ago • 2 comments

This is needed for Mosek as it uses the Bridges.Constraint.ZeroOneBridge.

blegat avatar Mar 30 '22 19:03 blegat

Actually, we need to rethrow so that it goes throw the _error_handler in case it's an UnsupportedConstraint for instance

blegat avatar Mar 30 '22 20:03 blegat

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.

odow avatar Jun 01 '22 21:06 odow