User-interface to formulate and solve optimal control problems and static NLPs. More...
#include <optimization_algorithm.hpp>
Public Member Functions | |
virtual returnValue | init () |
OptimizationAlgorithm & | operator= (const OptimizationAlgorithm &arg) |
OptimizationAlgorithm () | |
OptimizationAlgorithm (const OCP &ocp_) | |
OptimizationAlgorithm (const OptimizationAlgorithm &arg) | |
virtual returnValue | solve () |
virtual | ~OptimizationAlgorithm () |
Protected Member Functions | |
virtual returnValue | allocateNlpSolver (Objective *F, DynamicDiscretization *G, Constraint *H) |
virtual returnValue | initializeNlpSolver (const OCPiterate &_userInit) |
virtual returnValue | initializeObjective (Objective *F) |
virtual returnValue | setupLogging () |
virtual returnValue | setupOptions () |
User-interface to formulate and solve optimal control problems and static NLPs.
The class OptimizationAlgorithm serves as a user-interface to formulate and solve optimal control problems and static nonlinear programming (NLP) problems.
Definition at line 54 of file optimization_algorithm.hpp.
Default constructor.
Definition at line 46 of file optimization_algorithm.cpp.
OptimizationAlgorithm::OptimizationAlgorithm | ( | const OCP & | ocp_ | ) |
Default constructor.
Definition at line 55 of file optimization_algorithm.cpp.
Copy constructor (deep copy).
Definition at line 62 of file optimization_algorithm.cpp.
OptimizationAlgorithm::~OptimizationAlgorithm | ( | ) | [virtual] |
Destructor.
Definition at line 68 of file optimization_algorithm.cpp.
returnValue OptimizationAlgorithm::allocateNlpSolver | ( | Objective * | F, |
DynamicDiscretization * | G, | ||
Constraint * | H | ||
) | [protected, virtual] |
Implements OptimizationAlgorithmBase.
Definition at line 194 of file optimization_algorithm.cpp.
returnValue OptimizationAlgorithm::init | ( | ) | [virtual] |
Initializes the (internal) optimization algorithm part of the RealTimeAlgorithm.
Definition at line 86 of file optimization_algorithm.cpp.
returnValue OptimizationAlgorithm::initializeNlpSolver | ( | const OCPiterate & | _userInit | ) | [protected, virtual] |
Implements OptimizationAlgorithmBase.
Reimplemented in MultiObjectiveAlgorithm, ParameterEstimationAlgorithm, and MHEalgorithm.
Definition at line 205 of file optimization_algorithm.cpp.
returnValue OptimizationAlgorithm::initializeObjective | ( | Objective * | F | ) | [protected, virtual] |
Implements OptimizationAlgorithmBase.
Reimplemented in MultiObjectiveAlgorithm, ParameterEstimationAlgorithm, and MHEalgorithm.
Definition at line 212 of file optimization_algorithm.cpp.
OptimizationAlgorithm & OptimizationAlgorithm::operator= | ( | const OptimizationAlgorithm & | arg | ) |
Assignment operator (deep copy).
Definition at line 74 of file optimization_algorithm.cpp.
returnValue OptimizationAlgorithm::setupLogging | ( | ) | [protected, virtual] |
Sets-up default logging information.
Reimplemented from Logging.
Definition at line 182 of file optimization_algorithm.cpp.
returnValue OptimizationAlgorithm::setupOptions | ( | ) | [protected, virtual] |
Sets-up default options.
Reimplemented from Options.
Reimplemented in MultiObjectiveAlgorithm.
Definition at line 129 of file optimization_algorithm.cpp.
returnValue OptimizationAlgorithm::solve | ( | ) | [virtual] |
Starts execution.
Reimplemented in MultiObjectiveAlgorithm.
Definition at line 100 of file optimization_algorithm.cpp.