vendor/scs/test/problem_utils.h in scs-0.3.2 vs vendor/scs/test/problem_utils.h in scs-0.4.0
- old
+ new
@@ -203,13 +203,13 @@
SCS(finish_cone)(cone_work);
/**************** 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);
- mu_assert_less("Gap ERROR", ABS(gap - info->gap), 1e-8 * (1 + ABS(gap)));
+ 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)));
mu_assert_less("Dual obj ERROR", ABS(dobj - info->dobj),
1e-9 * (1 + ABS(dobj)));
/* slightly looser tol */