ip_method.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 
34 #ifndef ACADO_TOOLKIT_IP_METHOD_HPP
35 #define ACADO_TOOLKIT_IP_METHOD_HPP
36 
37 
40 
41 
43 
44 
55 class IPmethod : public NLPsolver
56 {
57  //
58  // PUBLIC MEMBER FUNCTIONS:
59  //
60  public:
61 
63  IPmethod( );
64 
65  IPmethod( UserInteraction* _userInteraction
66  );
67 
69  IPmethod( const NLP& nlp_ );
70 
72  IPmethod( const IPmethod& rhs );
73 
75  ~IPmethod( );
76 
78  IPmethod& operator=( const IPmethod& rhs );
79 
80 
82  virtual returnValue init(VariablesGrid *xd,
83  VariablesGrid *xa,
84  VariablesGrid *p,
85  VariablesGrid *u,
86  VariablesGrid *w );
87 
88 
90  virtual returnValue solve( int maxNumSteps );
91 
92 
93  //
94  // PROTECTED MEMBER FUNCTIONS:
95  //
96  protected:
97 
98 
99 
100 
101  //
102  // DATA MEMBERS:
103  //
104  protected:
105 };
106 
107 
109 
110 
111 
112 #include <acado/nlp_solver/ip_method.ipp>
113 
114 
115 #endif // ACADO_TOOLKIT_IP_METHOD_HPP
116 
117 /*
118  * end of file
119  */
Implements different interior-point methods for solving NLPs.
Definition: ip_method.hpp:55
virtual returnValue solve(int maxNumSteps)
Provides a time grid consisting of vector-valued optimization variables at each grid point...
Allows to pass back messages to the calling function.
IPmethod & operator=(const IPmethod &rhs)
#define CLOSE_NAMESPACE_ACADO
Data class for defining static optimization problems.
Definition: nlp.hpp:47
virtual returnValue init(VariablesGrid *xd, VariablesGrid *xa, VariablesGrid *p, VariablesGrid *u, VariablesGrid *w)
Encapsulates all user interaction for setting options, logging data and plotting results.
void rhs(const real_t *x, real_t *f)
Base class for different algorithms for solving nonlinear programming (NLP) problems.
Definition: nlp_solver.hpp:59
#define BEGIN_NAMESPACE_ACADO


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