examples/code_generation/mpc_mhe/getting_started_export/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 #include QPOASES_CUSTOM_INTERFACE
41 #endif
42 
45 const int NVMAX = QPOASES_NVMAX;
46 
49 const int NCMAX = QPOASES_NCMAX;
50 
53 const int NCMAX_ALLOC = (NCMAX == 0) ? 1 : NCMAX;
54 
57 const int NWSRMAX = QPOASES_NWSRMAX;
58 
62 const real_t DESIREDACCURACY = (real_t) 1.0e-3;
63 
67 const real_t CRITICALACCURACY = (real_t) 1.0e-2;
68 
69 
70 
74 
78 const real_t ZERO = (real_t) 1.0e-50;
79 
82 const real_t INFTY = (real_t) 1.0e12;
83 
84 
89 const real_t BOUNDTOL = (real_t) 1.0e-10;
90 
93 const real_t BOUNDRELAXATION = (real_t) 1.0e3;
94 
95 
98 const int INDEXLISTFACTOR = 5;
99 
100 
101 #endif /* QPOASES_CONSTANTS_HPP */
102 
103 
104 /*
105  * end of file
106  */
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