Hi,
I am trying to implement a parametrized NLP which needs to be solved in a receding horizon fashion (NMPC) and ultimately need to deployed on an embedded platform that supports both C and C++.
I was able to set up my problem in CasADi and got good results using IPOPT and SQP method using qpOASES solver. Unfortunately, the SQP method with OSQP and QRQP solvers does not provide robust solutions and often fails with the following error.

It seems from the previous posts that a self-contained C code can only be generated with QRQP and OSQP solvers. Since qpOASES (I guess) is fully written in C++ and my embedded platform supports C++. Would there be any way of generating self contained C++ code with
CasADi? Any leads in this regard would be appreciated.
Cheers