Skip to content

Commit

Permalink
moving ECOS out
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Schmelzer committed Jun 2, 2024
1 parent 9579693 commit 82a3ba1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_markowitz/test_builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def test_dummy():
D.UPPER_BOUND_ASSETS: np.array([1.0]),
D.VOLA_UNCERTAINTY: np.zeros(1),
}
).solve(solver=cp.ECOS)
).solve(solver=cp.CLARABEL)

assert np.allclose(dict(problem.data)[(M.RISK, "chol")].value, np.eye(1))

Expand Down Expand Up @@ -68,7 +68,7 @@ def test_infeasible_problem():
)

with pytest.raises(CvxError):
problem.solve(solver=cp.ECOS)
problem.solve(solver=cp.CLARABEL)


def test_builder_risk():
Expand Down

0 comments on commit 82a3ba1

Please sign in to comment.