vendor/scs/test/problems/qafiro_tiny_qp.h in scs-0.3.2 vs vendor/scs/test/problems/qafiro_tiny_qp.h in scs-0.4.0
- old
+ new
@@ -1,8 +1,9 @@
#include "glbopts.h"
#include "linalg.h"
#include "minunit.h"
+#include "problem_utils.h"
#include "scs.h"
#include "scs_matrix.h"
#include "util.h"
static const char *qafiro_tiny_qp(void) {
@@ -139,10 +140,10 @@
/* test warm-starting */
stgs->warm_start = 1;
exitflag = scs(d, k, stgs, sol, &info);
/* 25 iters should be enough if warm-started */
- mu_assert("qafiro_tiny_qp: warm-start failure", info.iter <= 50);
+ mu_assert("qafiro_tiny_qp: warm-start failure", info.iter <= 100);
success = ABS(perr) < 1e-4 && ABS(derr) < 1e-4 && exitflag == SCS_SOLVED;
mu_assert("qafiro_tiny_qp: SCS failed to produce outputflag SCS_SOLVED",
success);