external_packages/qpoases/INCLUDE/Constants.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-2008 by Hans Joachim Ferreau et al. All rights reserved.
6  *
7  * qpOASES is free software; you can redistribute it and/or
8  * modify it under the terms of the GNU Lesser General Public
9  * License as published by the Free Software Foundation; either
10  * version 2.1 of the License, or (at your option) any later version.
11  *
12  * qpOASES is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15  * Lesser General Public License for more details.
16  *
17  * You should have received a copy of the GNU Lesser General Public
18  * License along with qpOASES; if not, write to the Free Software
19  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
20  *
21  */
22 
23 
34 #ifndef QPOASES_CONSTANTS_HPP
35 #define QPOASES_CONSTANTS_HPP
36 
37 #ifndef QPOASES_CUSTOM_INTERFACE
38 #include "acado_qpoases_interface.hpp"
39 #else
40  #define XSTR(x) #x
41  #define STR(x) XSTR(x)
42  #include STR(QPOASES_CUSTOM_INTERFACE)
43 #endif
44 
47 const int NVMAX = QPOASES_NVMAX;
48 
51 const int NCMAX = QPOASES_NCMAX;
52 
55 const int NCMAX_ALLOC = (NCMAX == 0) ? 1 : NCMAX;
56 
59 const int NWSRMAX = QPOASES_NWSRMAX;
60 
64 const real_t DESIREDACCURACY = (real_t) 1.0e-3;
65 
69 const real_t CRITICALACCURACY = (real_t) 1.0e-2;
70 
71 
72 
76 
80 const real_t ZERO = (real_t) 1.0e-50;
81 
84 const real_t INFTY = (real_t) 1.0e12;
85 
86 
91 const real_t BOUNDTOL = (real_t) 1.0e-10;
92 
95 const real_t BOUNDRELAXATION = (real_t) 1.0e3;
96 
97 
100 const int INDEXLISTFACTOR = 5;
101 
102 
103 #endif /* QPOASES_CONSTANTS_HPP */
104 
105 
106 /*
107  * end of file
108  */
static const real_t QPOASES_EPS
double real_t
Definition: AD_test.c:10


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