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

allocate_constraint and load_constraint should throw UnsupportedConstraint error #530

Closed
blegat opened this issue Sep 29, 2018 · 0 comments

Comments

@blegat
Copy link
Member

blegat commented Sep 29, 2018

For add_constraint we have a nice fallback:

https://github.com/JuliaOpt/MathOptInterface.jl/blob/38a4e883672641da575b284813254a61747c5854/src/constraints.jl#L58-L62

But not for allocate_constraint and load_constraint which leads to cryptic errors such as jump-dev/SCS.jl#112

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

No branches or pull requests

1 participant