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
Add support for objective to MOI wrapper #530
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #530 +/- ##
==========================================
+ Coverage 92.67% 92.85% +0.18%
==========================================
Files 86 86
Lines 5349 5361 +12
==========================================
+ Hits 4957 4978 +21
+ Misses 392 383 -9 ☔ View full report in Codecov by Sentry. |
src/MOI_wrapper.jl
Outdated
|
||
function MOI.get( | ||
model::Optimizer, | ||
attr::MOI.AbstractConstraintAttribute, |
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.
Shouldn't this be MOI.ConstraintDual
or something? Why are we negating every attribute?
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, and ConstraintPrimal
Cherry-picked from #520