optimization_algorithm.hpp
Go to the documentation of this file.
1 /*
2  * This file is part of ACADO Toolkit.
3  *
4  * ACADO Toolkit -- A Toolkit for Automatic Control and Dynamic Optimization.
5  * Copyright (C) 2008-2014 by Boris Houska, Hans Joachim Ferreau,
6  * Milan Vukov, Rien Quirynen, KU Leuven.
7  * Developed within the Optimization in Engineering Center (OPTEC)
8  * under supervision of Moritz Diehl. All rights reserved.
9  *
10  * ACADO Toolkit is free software; you can redistribute it and/or
11  * modify it under the terms of the GNU Lesser General Public
12  * License as published by the Free Software Foundation; either
13  * version 3 of the License, or (at your option) any later version.
14  *
15  * ACADO Toolkit is distributed in the hope that it will be useful,
16  * but WITHOUT ANY WARRANTY; without even the implied warranty of
17  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18  * Lesser General Public License for more details.
19  *
20  * You should have received a copy of the GNU Lesser General Public
21  * License along with ACADO Toolkit; if not, write to the Free Software
22  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
23  *
24  */
25 
26 
33 #ifndef ACADO_TOOLKIT_OPTIMIZATION_ALGORITHM_HPP
34 #define ACADO_TOOLKIT_OPTIMIZATION_ALGORITHM_HPP
35 
38 
40 
41 
55 {
56  //
57  // PUBLIC MEMBER FUNCTIONS:
58  //
59  public:
60 
63 
65  OptimizationAlgorithm( const OCP& ocp_ );
66 
69 
71  virtual ~OptimizationAlgorithm( );
72 
75 
76 
82  virtual returnValue init( );
83 
85  virtual returnValue solve( );
86 
87 
88 
89  //
90  // PROTECTED MEMBER FUNCTIONS:
91  //
92  protected:
93 
98  virtual returnValue setupOptions( );
99 
104  virtual returnValue setupLogging( );
105 
108  Constraint *H
109  );
110 
111  virtual returnValue initializeNlpSolver( const OCPiterate& _userInit
112  );
113 
115  );
116 
117 
118  //
119  // DATA MEMBERS:
120  //
121  protected:
122 };
123 
124 
126 
127 
128 
129 //#include <acado/optimization_algorithm/optimization_algorithm.ipp>
130 
131 
132 #endif // ACADO_TOOLKIT_OPTIMIZATION_ALGORITHM_HPP
133 
134 /*
135  * end of file
136  */
virtual returnValue initializeNlpSolver(const OCPiterate &_userInit)
Data class for storing generic optimization variables.
Definition: ocp_iterate.hpp:57
User-interface to formulate and solve optimal control problems and static NLPs.
Stores and evaluates the constraints of optimal control problems.
Definition: constraint.hpp:60
virtual returnValue initializeObjective(Objective *F)
Allows to pass back messages to the calling function.
virtual returnValue init()
#define CLOSE_NAMESPACE_ACADO
Base class for user-interfaces to formulate and solve optimal control problems and static NLPs...
Base class for discretizing a DifferentialEquation for use in optimal control algorithms.
virtual returnValue setupOptions()
Encapsulates all user interaction for setting options, logging data and plotting results.
Data class for defining optimal control problems.
Definition: ocp.hpp:89
virtual returnValue allocateNlpSolver(Objective *F, DynamicDiscretization *G, Constraint *H)
#define BEGIN_NAMESPACE_ACADO
OptimizationAlgorithm & operator=(const OptimizationAlgorithm &arg)
virtual returnValue setupLogging()
virtual returnValue solve()
Stores and evaluates the objective function of optimal control problems.
Definition: objective.hpp:123


acado
Author(s): Milan Vukov, Rien Quirynen
autogenerated on Mon Jun 10 2019 12:34:54