\(\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}} }\)
ipopt¶
View page sourceIncluding Ipopt Library Examples, Tests, and pkg-config¶
Examples and Tests¶
If include_ipopt is on the cmake command line, you will be able to run the Ipopt examples and tests.
include_ipopt¶
If include_ipopt=true
is on the cmake command line,
then the pkg-config will find the
necessary information to link in ipopt.
The value of PKG_CONFIG_PATH must be such that the command
pkg-config ipopt --path --print-errors
finds the location of the file ipopt.pc
.
Deprecated Library¶
If include_ipopt=true
is on the cmake command line,
the deprecated cppad_ipopt_nlp
example and tests as well as installing the cppad_ipopt
library
during the make install
step.
get_ipopt¶
If you are using Unix, you can download and install
a copy of Ipopt using get_ipopt.sh .
The corresponding install prefix is
build/prefix
.
Include Directories¶
It may be necessary to remove /coin-or
from the end of the
include directories reported by
pkg-config ipopt --cflags