Update test to run AA type-I as well.
@@ -165,6 +165,27 @@ static const char *qafiro_tiny_qp(void) {
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);
+
+ /* test other settings */
+ stgs->warm_start = 0;
+ stgs->normalize = 0;
+ stgs->adaptive_scale = 0;
+ stgs->acceleration_lookback = -10;
+ stgs->acceleration_interval = 10;
+ stgs->log_csv_filename = "qafiro_tiny_qp.csv";
+
+ exitflag = scs(d, k, stgs, sol, &info);
+
+ perr = info.pobj - opt;
+ derr = info.dobj - opt;
+
+ scs_printf("primal obj error %4e\n", perr);
+ scs_printf("dual obj error %4e\n", derr);
+
+ 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);
