Hi,
I made a few changes such that removing ocp_model.set('constr_x0', x_0);
works.
However, I was also not able to solve the problem yet.
Failing to solve this QP.
QP solver returned error status 3 in iteration 0
Failed to solve the following QP:
BAbt =
1.00000 0.00000
0.00000 1.00000
0.00000 0.00000
b =
0.00000 0.00000
RSQrq =
0.00000 0.00000
0.00000 0.00000
0.00000 0.00000
2.00000 0.00000
0.00000 200.00000
0.00000 0.00000
rq =
0.00000 0.00000
-2.00000 0.00000
d =
2.00000 -2.00000
idxb =
DCt =
0.00000
0.00000
d_s =
idxs_rev =
-1
Z =
z =
iter res_stat res_eq res_ineq res_comp qp_stat qp_iter
0 2.000000e+00 0.000000e+00 2.000000e+00 0.000000e+00 0 0
Probably, the problem is that the initial cost matrix RSQrq is zero.
However, formulating a problem with 0 shooting nodes seems more involved from an interface point of view.
I am sorry, but acados
does not really aim to solve these kinds of problems (yet).