Optimal solutions sensitivity analysis with CppAD and Ipopt #138
Replies: 1 comment
-
If one were to add a new feature the CppAD user API, it would have to have documentation and have automated tests. The CppAD documentation is written in omhelp, which is not widely used. I have started work on converting its documentation to sphinx, but am not yet happy with the automatic conversion. For an example of documenaiton that has been converted from omhelp to sphinx see Another option is to create a repository that distributes a CppAD addon; see |
Beta Was this translation helpful? Give feedback.
-
Hello! I just wrote a class that performs the analytical sensitivity analysis w.r.t. parameters based on optimal solutions computed from Ipopt. I have used this tool for sensitivity analysis in optimal control problems with +7000 DOFs and it works super well (it matches a numerically computed gradient using finite differences).
Would this be something that you want included into your repository?
The files are:
sensitivity_analysis.h
sensitivity_analysis.hpp
and a small academic test can be fount at: sensitivity_analysis_test.cpp
Cheers!
Beta Was this translation helpful? Give feedback.
All reactions