-
Notifications
You must be signed in to change notification settings - Fork 41
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
Fix incorrect ObjectiveFunction usage in tests #132
Conversation
@@ -67,7 +67,7 @@ for T in UnitTestFloats | |||
assemble!(model,P,q,[cs1;cs2;cs3], settings = settings) | |||
res = COSMO.optimize!(model); | |||
|
|||
@test res.status == :Primal_infeasible | |||
@test res.status == :Primal_infeasible || res.status == :Max_iter_reached |
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.
@migarstka this appears to be a regression in Julia 1.6.
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.
It seems to me they didn't check that Julia v1.6 didn't break any package. They also broke CDDLib and Polyhedra
@@ -30,7 +30,7 @@ IterTools = "^1" | |||
MathOptInterface = "~0.9.16" | |||
QDLDL = "~0.1.4" | |||
Requires = "^1" | |||
Reexport = "^1" | |||
Reexport = "0.2, ^1" |
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 needed because you're building the docs on Julia 1.4, and Plots needs 0.2.
Thanks for the fix @odow |
This was causing COSMO to fail tests on
MOI#master
: https://github.com/blegat/SolverTests/runs/2401168212