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 #182

Merged
merged 1 commit into from
Aug 6, 2023
Merged

Conversation

blegat
Copy link
Contributor

@blegat blegat commented Jul 24, 2023

Following the tip in https://jump.dev/MathOptInterface.jl/stable/tutorials/implementing/#Define-supports_constraint, a solver shouldn't support constraint types that are reformulated in the MOI wrapper into another but only the ones that are natively supported.
Indeed, it allows simplifying the MOI wrapper without altering what is supporting through JuMP since the bridge layer will do the necessary translation.
Moreover, making the supports_constraint better reflect what is natively supported help the bridge layer do better decisions when bridging.

@migarstka migarstka merged commit 9cbaba6 into oxfordcontrol:master Aug 6, 2023
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.

2 participants