I am using c code generated files to solve nonlinear MPC problem in C++. While solving the problem the solver fails at an iteration with status 4. I know that status 4 means that the QP solver has failed. Further for the same iteration I get the QP status as ‘QP solver returned error status 3 QP iteration 7’.
Thank you for directing me to the link, that’s exactly what I was looking for. I tried solving the same problem with different values of levenberg_marquardt parameter unfortunately I still run into the same error code. Could you please suggest me to look for some other tuning or parameter setting to solve the issue?