\(\newcommand{\B}[1]{ {\bf #1} }\) \(\newcommand{\R}[1]{ {\rm #1} }\) \(\newcommand{\W}[1]{ \; #1 \; }\)
ipopt_options¶
View page sourceAn Ipopt Options Argument¶
Prototype¶
An Ipopt options argument options has prototype
const std::string&options
It contains a list of Ipopt options.
Format¶
Each option corresponds to a line in options and
is terminated by the '\n' character.
This includes the last line; i.e., the last character in options
is a '\n' .
Each line
consists of three non-empty tokens separated by one or more spaces.
String¶
You can set any Ipopt string option using a line with the following syntax:
Stringname value
Here name is any valid Ipopt string option and value is its setting.
Integer¶
You can set any Ipopt integer option using a line with the following syntax:
Integername value
Here name is any valid Ipopt integer option and value is its setting.
Numeric¶
You can set any Ipopt numeric option using a line with the following syntax:
Numericname value
Here name is any valid Ipopt numeric option and value is its setting.