-
Notifications
You must be signed in to change notification settings - Fork 24
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
upgrade to MOI 10 #203
upgrade to MOI 10 #203
Conversation
Some tests are a bit weird to fix (what is the solver supposed to do when a BadModel cannot be copied? there is no docstring) |
Still some strange things with indicator constraints:
to check later |
OK we are getting close to a mergeable state, I removed the bound tests for now |
@odow in the two commits starting with "remove bound" above, I am not sure if this was the intended behavior or not. |
I'd like to see if there are some containers we can simplify, if feels like we have a ton of dictionaries storing various constraint and variable indices, never sure which one should be checked |
Co-authored-by: Oscar Dowson <[email protected]>
Co-authored-by: Oscar Dowson <[email protected]>
Co-authored-by: Oscar Dowson <[email protected]>
test/MOI_wrapper_bridged.jl
Outdated
append!(excluded, [ | ||
"test_linear_Interval_inactive", | ||
"test_linear_integration", | ||
"test_model_ordered_indices", # TODO should fix? ListOf in order of creation |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, this needs to be fixed.
I usually add a comment why we're excluding tests as well. test_linear_integration
is a fairly important test, so it'd be nice to know why it's skipped.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed here. I added an explanation for the integration test, deleting a variable in SCIP is only allowed in certain stages so we are fairly conservative in the wrapper
Not sure what you mean. In SCIPData, there's only one In the |
yes the confusion was more in some parts on what dict is supposed to be used for checking that something exists |
Still some tests to fix, some probably been move around.