Skip to content

Conversation

odow
Copy link
Member

@odow odow commented Nov 8, 2023

Closes #2345

But this PR needs some careful thinking.

https://github.com/jump-dev/MathOptInterface.jl/actions/runs/6805116666

@odow
Copy link
Member Author

odow commented Nov 9, 2023

This would break InfiniteOpt with the expected

image

@odow
Copy link
Member Author

odow commented Nov 9, 2023

cc @pulsipher thoughts on this change? It changes a ErrorException to MOI.GetAttributeNotAllowed.

I guess I could keep the ErrorException, but the more specific error is probably what should be thrown.

@pulsipher
Copy link

I have no objections with updating InfiniteOpt to the new error type.

@odow odow requested a review from blegat November 9, 2023 22:49
@odow odow merged commit 0f8d35c into master Nov 11, 2023
@odow odow deleted the od/caching-get-attribute-not-allowed branch November 11, 2023 22:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

Attributes simultaneously set by the user and by the optimizer

3 participants