CppAD: A C++ Algorithmic Differentiation Package  20130918
template<class Dvector , class FG_eval >
void CppAD::ipopt::solve ( const std::string &  options,
const Dvector &  xi,
const Dvector &  xl,
const Dvector &  xu,
const Dvector &  gl,
const Dvector &  gu,
FG_eval &  fg_eval,
ipopt::solve_result< Dvector > &  solution 
)

Use Ipopt to Solve a Nonlinear Programming Problem.

Template Parameters:
Bvectorsimple vector class with elements of type bool.
Dvectorsimple vector class with elements of type double.
FG_evalfunction object used to evaluate f(x) and g(x); see fg_eval below. It must also support
     FG_eval::ADvector
to dentify the type used for the arguments to fg_eval.
Parameters:
optionslist of options, one for each line. Ipopt options (are optional) and have one of the following forms
     String   name  value
     Numeric  name  value
     Integer  name  value
The following other possible options are listed below:
     Retape   value
xiinitial argument value to start optimization procedure at.
xllower limit for argument during optimization
xuupper limit for argument during optimization
gllower limit for g(x) during optimization.
guupper limit for g(x) during optimization.
fg_evalfunction that evaluates the objective and constraints using the syntax
     fg_eval(fg, x)
solutionstructure that holds the solution of the optimization.

Definition at line 470 of file solve.hpp.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines