Closed blegat closed 2 years ago
Note that you don't need to support vector functions and vector sets. If the user uses these then they will be bridged automatically into scalar functions and scalar sets if you solvers don't say that it supports it. See https://jump.dev/MathOptInterface.jl/dev/submodules/Bridges/list_of_bridges/#MathOptInterface.Bridges.Constraint.ScalarizeBridge
Thanks for this comment! Support for vector sets was dropped in 10856a5 as a result and this made the MOI wrapper a lot cleaner!
Nice simplification indeed!
Note that you don't need to support vector functions and vector sets. If the user uses these then they will be bridged automatically into scalar functions and scalar sets if you solvers don't say that it supports it. See https://jump.dev/MathOptInterface.jl/dev/submodules/Bridges/list_of_bridges/#MathOptInterface.Bridges.Constraint.ScalarizeBridge