qpOASES  3.2.1
An Implementation of the Online Active Set Strategy
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-2017 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 
35 #ifndef QPOASES_CONSTANTS_HPP
36 #define QPOASES_CONSTANTS_HPP
37 
38 
39 #include <qpOASES/Types.hpp>
40 
41 
43 
44 
47 #ifdef __USE_SINGLE_PRECISION__
48 const real_t EPS = 1.193e-07f;
49 #else
50 const real_t EPS = 2.221e-16;
51 #endif /* __USE_SINGLE_PRECISION__ */
52 
53 
57 const real_t ZERO = 1.0e-25;
58 
61 const real_t INFTY = 1.0e20;
62 
63 
66 const uint_t MAX_STRING_LENGTH = 160;
67 
68 
70 
71 
72 #endif /* QPOASES_CONSTANTS_HPP */
73 
74 
75 /*
76  * end of file
77  */
Bounds::getNFV
int_t getNFV() const
Definition: Bounds.ipp:55
real_t
BEGIN_NAMESPACE_QPOASES typedef double real_t
Definition: Types.hpp:171
Bounds::getNFX
int_t getNFX() const
Definition: Bounds.ipp:91
Bounds::fixed
Indexlist fixed
Definition: Bounds.hpp:243
END_NAMESPACE_QPOASES
#define END_NAMESPACE_QPOASES
Definition: Types.hpp:110
ZERO
const real_t ZERO
Definition: Constants.hpp:57
BEGIN_NAMESPACE_QPOASES
#define BEGIN_NAMESPACE_QPOASES
Definition: Types.hpp:107
Bounds::getFixed
Indexlist * getFixed()
Definition: Bounds.ipp:109
Bounds::getNBV
int_t getNBV() const
Definition: Bounds.ipp:64
Indexlist::getLength
int_t getLength() const
Definition: Indexlist.ipp:60
MAX_STRING_LENGTH
const uint_t MAX_STRING_LENGTH
Definition: Constants.hpp:66
INFTY
const real_t INFTY
Definition: Constants.hpp:61
Bounds::getFree
Indexlist * getFree()
Definition: Bounds.ipp:100
Bounds::freee
Indexlist freee
Definition: Bounds.hpp:242
ST_EQUALITY
@ ST_EQUALITY
Definition: Types.hpp:265
SubjectTo::n
int_t n
Definition: SubjectTo.hpp:210
Types.hpp
SubjectTo::getNumberOfType
int_t getNumberOfType(SubjectToType _type) const
Definition: SubjectTo.ipp:47
Bounds::getNV
int_t getNV() const
Definition: Bounds.ipp:46
ST_UNBOUNDED
@ ST_UNBOUNDED
Definition: Types.hpp:263
Indexlist
Stores and manages index lists.
Definition: Indexlist.hpp:55
EPS
const BEGIN_NAMESPACE_QPOASES real_t EPS
Definition: Constants.hpp:50
Bounds::getNUV
int_t getNUV() const
Definition: Bounds.ipp:73
Bounds::getNFR
int_t getNFR() const
Definition: Bounds.ipp:82
ST_BOUNDED
@ ST_BOUNDED
Definition: Types.hpp:264
int_t
int int_t
Definition: Types.hpp:180