external_packages/qpOASES-3.2.0/include/qpOASES/extras/SolutionAnalysis.hpp
Go to the documentation of this file.
1 /*
2  * This file is part of qpOASES.
3  *
4  * qpOASES -- An Implementation of the Online Active Set Strategy.
5  * Copyright (C) 2007-2015 by Hans Joachim Ferreau, Andreas Potschka,
6  * Christian Kirches et al. All rights reserved.
7  *
8  * qpOASES is free software; you can redistribute it and/or
9  * modify it under the terms of the GNU Lesser General Public
10  * License as published by the Free Software Foundation; either
11  * version 2.1 of the License, or (at your option) any later version.
12  *
13  * qpOASES is distributed in the hope that it will be useful,
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
16  * See the GNU Lesser General Public License for more details.
17  *
18  * You should have received a copy of the GNU Lesser General Public
19  * License along with qpOASES; if not, write to the Free Software
20  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
21  *
22  */
23 
24 
36 #ifndef QPOASES_SOLUTIONANALYSIS_HPP
37 #define QPOASES_SOLUTIONANALYSIS_HPP
38 
39 
40 #include <qpOASES/SQProblem.hpp>
42 
43 
45 
46 
57 class SolutionAnalysis
58 {
59  /*
60  * PUBLIC MEMBER FUNCTIONS
61  */
62  public:
65 
68  );
69 
72 
75  );
76 
77 
82  real_t* const maxStat = 0,
83  real_t* const maxFeas = 0,
84  real_t* const maxCmpl = 0
85  ) const;
86 
91  real_t* const maxStat = 0,
92  real_t* const maxFeas = 0,
93  real_t* const maxCmpl = 0
94  ) const;
95 
100  real_t* const maxStat = 0,
101  real_t* const maxFeas = 0,
102  real_t* const maxCmpl = 0
103  ) const;
104 
105 
113  const real_t* const g_b_bA_VAR,
115  real_t* const Primal_Dual_VAR
117  ) const;
118 
126  const real_t* const g_b_bA_VAR,
128  real_t* const Primal_Dual_VAR
130  ) const;
131 
139  const real_t* const g_b_bA_VAR,
141  real_t* const Primal_Dual_VAR
143  ) const;
144 
148 
149  /*
150  * PROTECTED MEMBER VARIABLES
151  */
152  protected:
153 
154 };
155 
156 
158 
159 #include <qpOASES/extras/SolutionAnalysis.ipp>
160 
161 #endif /* QPOASES_SOLUTIONANALYSIS_HPP */
162 
163 
164 /*
165  * end of file
166  */
Implements the online active set strategy for box-constrained QPs.
Implements the online active set strategy for QPs with varying matrices.
Allows to pass back messages to the calling function.
void rhs(const real_t *x, real_t *f)
real_t getKktViolation(QProblemB *const qp, real_t *const maxStat=0, real_t *const maxFeas=0, real_t *const maxCmpl=0) const
returnValue checkCurvatureOnStronglyActiveConstraints(SQProblemSchur *qp)
returnValue getVarianceCovariance(QProblemB *qp, real_t *g_b_bA_VAR, real_t *Primal_Dual_VAR) const
Implements the online active set strategy for QPs with varying, sparse matrices.
double real_t
Definition: AD_test.c:10
Implements the online active set strategy for QPs with general constraints.


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