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

Fix incorrect ObjectiveFunction usage in tests #132

Merged
merged 5 commits into from Apr 22, 2021
Merged

Fix incorrect ObjectiveFunction usage in tests #132

merged 5 commits into from Apr 22, 2021

Conversation

odow
Copy link
Contributor

@odow odow commented Apr 21, 2021

This was causing COSMO to fail tests on MOI#master: https://github.com/blegat/SolverTests/runs/2401168212

@CLAassistant
Copy link

CLAassistant commented Apr 21, 2021

CLA assistant check
All committers have signed the CLA.

@@ -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
Copy link
Contributor Author

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.

Copy link
Contributor

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"
Copy link
Contributor Author

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.

@migarstka
Copy link
Member

Thanks for the fix @odow

@migarstka migarstka merged commit 88d03d4 into oxfordcontrol:master Apr 22, 2021
@odow odow deleted the patch-1 branch April 23, 2021 02:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants