Skip to content

Fix incorrect ObjectiveFunction usage in tests#132

Merged
migarstka merged 5 commits intooxfordcontrol:masterfrom
odow:patch-1
Apr 22, 2021
Merged

Fix incorrect ObjectiveFunction usage in tests#132
migarstka merged 5 commits intooxfordcontrol:masterfrom
odow:patch-1

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.

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

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.

4 participants