Prev Next

@(@\newcommand{\W}[1]{ \; #1 \; } \newcommand{\R}[1]{ {\rm #1} } \newcommand{\B}[1]{ {\bf #1} } \newcommand{\D}[2]{ \frac{\partial #1}{\partial #2} } \newcommand{\DD}[3]{ \frac{\partial^2 #1}{\partial #2 \partial #3} } \newcommand{\Dpow}[2]{ \frac{\partial^{#1}}{\partial {#2}^{#1}} } \newcommand{\dpow}[2]{ \frac{ {\rm d}^{#1}}{{\rm d}\, {#2}^{#1}} }@)@
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