Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove support for VectorOfVariables constraints #176

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

blegat
Copy link
Contributor

@blegat blegat commented Aug 1, 2024

We recommend to only support a constraint if the solver has a native support for it (see this tip: https://jump.dev/JuMP.jl/stable/moi/tutorials/implementing/#Define-supports_constraint).
The reason is that the bridging mechanism in MOI selects the bridges that minimize the number bridges needed to transform the user constraints into constraints supported by the solver.
If the solver hardcodes some bridges then these transformations are not taken into account by the bridge shortest path heuristic.
For instance, there are two bridges in SumOfSquares, a Kernel bridge which is best for solvers supporting PSD variables and equality constraints and an Image bridge which is best if the solver supports VectorAffineFunction-in-PSD.
The bridge heuristic should use the Image bridge with Clarabel and the Kernel bridge if Clarabel is used with Dualization.jl.
See https://youtu.be/CGPHaHxCG2w?t=590

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant