Skip to content

Commit

Permalink
unittest: fix by setting eps_primal_inf smaller
Browse files Browse the repository at this point in the history
- on windows, some feasible problems where detected as infeasible, setting a stricter threshold solves this issue
  • Loading branch information
fabinsch committed Jun 13, 2024
1 parent be49962 commit 1fd4cec
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/src/dense_qp_with_eq_and_in.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,7 @@ DOCTEST_TEST_CASE("sparse random strongly convex qp with degenerate inequality "
strong_convexity_factor);
proxqp::dense::QP<T> qp{ dim, n_eq, n_in }; // creating QP object
qp.settings.eps_abs = eps_abs;
qp.settings.eps_primal_inf = 1e-6;
qp.settings.eps_rel = 0;
qp.init(qp_random.H,
qp_random.g,
Expand Down

0 comments on commit 1fd4cec

Please sign in to comment.