acado_constants.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 
35 #ifndef ACADO_TOOLKIT_ACADO_CONSTANTS_HPP
36 #define ACADO_TOOLKIT_ACADO_CONSTANTS_HPP
37 
39 
41 
43 const double EPS = 2.221e-16;
44 
46 const double ZERO_EPS = 2.221e-16;
47 
49 const double EQUALITY_EPS = 1.0e-12;
50 
52 const double SQRT_EPS = 1.490301982821e-08;
53 
55 const double THIRD_ROOT_EPS = 6.055957976542e-06;
56 
58 const double FOURTH_ROOT_EPS = 1.22077925228967e-04;
59 
62 const double ZERO = 1.0e-50;
63 
65 const double INFTY = 1.0e12;
66 
69 #ifndef INFINITY
70 const double INFINITY = 1.0/1e-53;
71 #endif
72 
74 const double ACADO_NAN = INFTY;
75 
79 const double BOUNDTOL = 1.0e-10;
80 
84 const double BOUNDRELAXATION = 1.0e3;
85 
87 const double DEFAULT_SAMPLING_TIME = 1.0;
88 
90 const unsigned int MAX_LENGTH_STRING = 1024;
91 
93 const unsigned int MAX_LENGTH_NAME = 80;
94 
96 
97 #endif // ACADO_TOOLKIT_ACADO_CONSTANTS_HPP
98 
99 /*
100  * end of file
101  */
const double INFTY
const unsigned int MAX_LENGTH_STRING
const double SQRT_EPS
BEGIN_NAMESPACE_ACADO const double EPS
const double ZERO
const double INFINITY
#define CLOSE_NAMESPACE_ACADO
const double BOUNDTOL
const unsigned int MAX_LENGTH_NAME
const double THIRD_ROOT_EPS
const double FOURTH_ROOT_EPS
const double DEFAULT_SAMPLING_TIME
const double EQUALITY_EPS
#define BEGIN_NAMESPACE_ACADO
const double ACADO_NAN
const double BOUNDRELAXATION
const double ZERO_EPS


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