-
Notifications
You must be signed in to change notification settings - Fork 83
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 vector-valued objective functions #497
Conversation
@@ -55,7 +55,7 @@ c4: y >= 0.25 | |||
@test MOI.get(model, Gurobi.MultiObjectivePriority(2)) == 0 | |||
|
|||
MOI.optimize!(model) | |||
@test MOI.get(model, MOI.ObjectiveValue()) ≈ 1.5 | |||
@test MOI.get(model, MOI.ObjectiveValue()) ≈ [1.5, 2.0] |
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.
This is a breaking change (albeit, a minor one for someone using the multi-objective interface to Gurobi)
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.
@blegat: this is a good enough time as any to release a Gurobi v1.0.0?
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.
I don't think we plan any more breaking changes so I don't see any objection
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.
Okay. I'll merge and then make a few other changes before tagging Gurobi v1.0
Codecov ReportBase: 90.12% // Head: 90.61% // Increases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## master #497 +/- ##
==========================================
+ Coverage 90.12% 90.61% +0.48%
==========================================
Files 5 5
Lines 2379 2407 +28
==========================================
+ Hits 2144 2181 +37
+ Misses 235 226 -9
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
830e982
to
7b8636f
Compare
x-ref: jump-dev/MathOptInterface.jl#2070
x-ref: jump-dev/JuMP.jl#2099
x-ref: jump-dev/JuMP.jl#3176