SQP fails in racecar example

Hi @fach23,

You can get the full horizon of the states and controls variables from the solver, so you can “debug” quite well.
It is explained in this post: Full horizon and cost function value from S-function - #11 by AlexWin

You can get the Slack Variable values as well, I did not try this out though:

Maybe this helps you a bit!
Greets, Alex

1 Like