I recently added the option to access the residuals of each SQP iteration from Python.
The cost value is not as easily available internally.
You could simulate a system with an extra cost state to obtain the cost value with high accuracy.
I recently added the option to access the residuals of each SQP iteration from Python.
The cost value is not as easily available internally.
You could simulate a system with an extra cost state to obtain the cost value with high accuracy.