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

Add support for objective to MOI wrapper #530

Merged
merged 7 commits into from Jan 10, 2024
Merged

Add support for objective to MOI wrapper #530

merged 7 commits into from Jan 10, 2024

Conversation

blegat
Copy link
Member

@blegat blegat commented Jan 5, 2024

Cherry-picked from #520

Copy link

codecov bot commented Jan 9, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (7cf75e0) 92.67% compared to head (403c907) 92.85%.

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.
📢 Have feedback on the report? Share it here.


function MOI.get(
model::Optimizer,
attr::MOI.AbstractConstraintAttribute,
Copy link
Member

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?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, and ConstraintPrimal

src/MOI_wrapper.jl Outdated Show resolved Hide resolved
@blegat blegat merged commit 7086a50 into master Jan 10, 2024
10 checks passed
@odow odow deleted the bl/moiobj branch January 10, 2024 09:24
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.

None yet

2 participants