Options.h
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_OPTIONS_H
37 #define QPOASES_OPTIONS_H
38 
39 
40 #include <qpOASES_e/Utils.h>
41 
42 
44 
45 
56 typedef struct
57 {
60  BooleanType enableRamping;
61  BooleanType enableFarBounds;
63  BooleanType enableRegularisation;
64  BooleanType enableFullLITests;
65  BooleanType enableNZCTests;
66  int enableDriftCorrection;
67  int enableCholeskyRefactorisation;
68  BooleanType enableEqualities;
70  real_t terminationTolerance;
71  real_t boundTolerance;
72  real_t boundRelaxation;
73  real_t epsNum;
74  real_t epsDen;
75  real_t maxPrimalJump;
76  real_t maxDualJump;
78  real_t initialRamping;
79  real_t finalRamping;
80  real_t initialFarBounds;
81  real_t growFarBounds;
83  real_t epsFlipping;
84  int numRegularisationSteps;
85  real_t epsRegularisation;
86  int numRefinementSteps;
87  real_t epsIterRef;
88  real_t epsLITests;
89  real_t epsNZCTests;
91  BooleanType enableDropInfeasibles;
95 } Options;
96 
97 
98 void OptionsCON( Options* _THIS
99  );
100 
103 void OptionsCPY( Options* FROM,
104  Options* TO
105  );
106 
107 
111  );
112 
116  );
117 
121  );
122 
126  );
127 
128 
136  );
137 
138 
142  );
143 
144 
146 
147 
148 #endif /* QPOASES_OPTIONS_H */
149 
150 
151 /*
152  * end of file
153  */
Allows to pass back messages to the calling function.
returnValue Options_setToFast(Options *_THIS)
Definition: Options.c:252
int dropBoundPriority
Definition: Options.h:92
enableFlippingBounds
Definition: example1b.py:52
returnValue Options_ensureConsistency(Options *_THIS)
Definition: Options.c:263
int dropIneqConPriority
Definition: Options.h:94
initialStatusBounds
Definition: example1b.py:53
returnValue Options_print(Options *_THIS)
Definition: Options.c:406
void OptionsCON(Options *_THIS)
Definition: Options.c:50
printLevel
Definition: example1.py:55
Provides a generic way to set and pass user-specified options.
Definition: options.hpp:65
int dropEqConPriority
Definition: Options.h:93
numRefinementSteps
Definition: example1b.py:54
PrintLevel
returnValue Options_setToMPC(Options *_THIS)
Definition: Options.c:214
void OptionsCPY(Options *FROM, Options *TO)
Definition: Options.c:64
returnValue Options_setToDefault(Options *_THIS)
Definition: Options.c:112
double real_t
Definition: AD_test.c:10
returnValue Options_setToReliable(Options *_THIS)
Definition: Options.c:193


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