Replies: 2 comments 4 replies
-
|
Hi Mario! Yes HPIPM provides functions to compute both the forward and the adjoint sensitivities https://github.com/giaf/hpipm/blob/master/include/hpipm_d_ocp_qp_ipm.h#L269 For the moment, they are only available in C and not part of the python interface, but they can be added if needed. |
Beta Was this translation helpful? Give feedback.
-
|
I added the forward solution sensitivities to the python solver (just the basic one for now, not "solver2" that also removes x0 instead of setting upper and lower bounds equal) and an example of the sensitivity wrt changes in the first component of x0. 474730d The sensitivities are more general than just cost gradient or constraint bounds, you just need to pass the proper seeds. Comments and feedback are welcome, as well as any idea for a nice example. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi guys, does HPIPM provide the possibility to compute parametric sensitivities, similar to what was possible in HPMPC? If yes, is there a minimal example on how to call that in Python?
Thanks a lot in advance!
Best,
Mario
Beta Was this translation helpful? Give feedback.
All reactions