Closed mkatliar closed 8 years ago
Before exiting, hpmpc prints:
5178.71808 0.00013 0.10000 -nan
What are these numbers and why is a nan
there?
The solver worked with the AVX target, and failed with the SSE3 and C99 targets. Now the bug is solved.
For next time, please specify the target you are using. Also please report the solution you get form other solvers as reference, the above output from IPOPT gives me no useful information beside the fact that it converged.
Finally, please send me the test problem in a format I can run directly (i.e. a test problem in C instead of a bunch of matrices from Matlab), instead of spending a lot of time in converting between different languages, with the risk of solving something different.
[The numbers in your second comment are from a print of the infinity norm of residuals that we added together for debugging in the wrapper, you can remove them.]
The QP data passed to
c_order_d_ip_ocp_hard_tv()
are in thefailed_qp.m file
(see qp.zip). The following code converts the QP toCasADi
nlp and solves it in MATLAB:Output:
On the same problem
c_order_d_ip_ocp_hard_tv()
returns-1
and*kk == 0
.To my best knowledge, the problem is feasible and the data are well-formed.