Skip to content

Commit

Permalink
reduce test tols
Browse files Browse the repository at this point in the history
  • Loading branch information
bodono committed Feb 15, 2022
1 parent dac517b commit af3b7ea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/problem_utils.h
Original file line number Diff line number Diff line change
Expand Up @@ -205,9 +205,9 @@ const char *verify_solution_correct(ScsData *d, ScsCone *k, ScsSettings *stgs,
/**************** ASSERTS *****************/
if (status == SCS_SOLVED) {
mu_assert_less("Primal residual ERROR", ABS(res_pri - info->res_pri),
1e-11);
1e-10);
mu_assert_less("Dual residual ERROR", ABS(res_dual - info->res_dual),
1e-11);
1e-10);
mu_assert_less("Gap ERROR", ABS(gap - info->gap), 1e-7 * (1 + ABS(gap)));
mu_assert_less("Primal obj ERROR", ABS(pobj - info->pobj),
1e-9 * (1 + ABS(pobj)));
Expand Down

0 comments on commit af3b7ea

Please sign in to comment.