Including the cppad_ipopt Library and Tests
Keywords: including the cppad_ipopt library tests ipopt cppad prefix get purpose ipopt_prefix examples get_ipopt

| Prev | Next |  |  |  |  |  |  |

Including the cppad_ipopt Library and Tests
Purpose
Includes the cppad_ipopt_nlp example and tests as well as installing the `cppad_ipopt` library during the `make install` step.
ipopt_prefix
If you have Ipopt installed on your system, you can specify the value for `ipopt_prefix` on the cmake command line. The value of `ipopt_prefix` must be such that, for one of the directories `dir` in cmake_install_includedirs , `
ipopt_prefix/dir/coin/IpIpoptApplication.hpp
` is a valid way to reference to the include file `IpIpoptApplication.hpp`.
Examples and Tests
If you include `ipopt_prefix` on the cmake command line, you will be able to run the Ipopt examples and tests by executing the following commands starting in the distribution directory : `
cd cppad_ipopt
make check_ipopt
`
get_ipopt
If you are using Unix, you can download and install a copy of Ipopt using get_ipopt.sh . The corresponding `ipopt_prefix` would be `build/prefix`.

Input File: omh/install/ipopt_prefix.omh