QP solver return value vs SQP solver return value

Hi,

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’.

Can you elaborate the status 3 for QP?

Thanks in advance

See here:

Hi Jonathan,

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?

Thanks in advance!