I am using python to generate C code for a contouring controller using HPIPM, and then use that C code in a C++ environment. However, sometimes I get this error:
which translates to ACADOS_MINSTEP error, if I am not mistaken.
Now, the question I have is: I am using SQP_RTI, why does it say that there are multiple iterations? I thought only one iteration was used. Also, is there any option that I can modify in the nlp solver to alleviate the occurrence of this error? Or is it inherently linked to the complexity of the cost function I am working with?
In RTI, a single QP is solved within every solver call.
However, the QP solver itself (here HPIPM) is also an iterative method.
Error status 3 in HPIPM corresponds to “NaN in solution detected”.
For me to understand better, is the levenberg_marquardt term the lambda in this paper https://people.duke.edu/~hpgavin/ce281/lm.pdf Eq. (12)? Is there any way to choose a good value?