OQPinterface.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 
38 #ifndef QPOASES_OQPINTERFACE_H
39 #define QPOASES_OQPINTERFACE_H
40 
41 
42 #include <qpOASES_e/Utils.h>
43 #include <qpOASES_e/Options.h>
44 
45 
47 
48 
53 returnValue readOQPdimensions( const char* path,
54  int* nQP,
55  int* nV,
56  int* nC,
57  int* nEC
58  );
59 
67 returnValue readOQPdata( const char* path,
68  int* nQP,
69  int* nV,
70  int* nC,
71  int* nEC,
72  real_t* H,
73  real_t* g,
74  real_t* A,
75  real_t* lb,
76  real_t* ub,
77  real_t* lbA,
78  real_t* ubA,
79  real_t* xOpt,
81  real_t* yOpt,
83  real_t* objOpt
85  );
86 
87 
94  int nV,
95  int nC,
96  int nEC,
97  real_t* _H,
98  const real_t* const g,
99  real_t* _A,
100  const real_t* const lb,
101  const real_t* const ub,
102  const real_t* const lbA,
103  const real_t* const ubA,
104  BooleanType isSparse,
105  BooleanType useHotstarts,
106  const Options* options,
107  int maxAllowedNWSR,
108  real_t* maxNWSR,
109  real_t* avgNWSR,
110  real_t* maxCPUtime,
111  real_t* avgCPUtime,
112  real_t* maxStationarity,
113  real_t* maxFeasibility,
114  real_t* maxComplementarity
115  );
116 
123  int nV,
124  real_t* _H,
125  const real_t* const g,
126  const real_t* const lb,
127  const real_t* const ub,
128  BooleanType isSparse,
129  BooleanType useHotstarts,
130  const Options* options,
131  int maxAllowedNWSR,
132  real_t* maxNWSR,
133  real_t* avgNWSR,
134  real_t* maxCPUtime,
135  real_t* avgCPUtime,
136  real_t* maxStationarity,
137  real_t* maxFeasibility,
138  real_t* maxComplementarity
139  );
140 
141 
150 returnValue runOQPbenchmark( const char* path,
151  BooleanType isSparse,
152  BooleanType useHotstarts,
153  const Options* options,
154  int maxAllowedNWSR,
155  real_t* maxNWSR,
156  real_t* avgNWSR,
157  real_t* maxCPUtime,
158  real_t* avgCPUtime,
159  real_t* maxStationarity,
160  real_t* maxFeasibility,
161  real_t* maxComplementarity
162  );
163 
165 
166 
167 #endif /* QPOASES_OQPINTERFACE_H */
168 
169 
170 /*
171  * end of file
172  */
returnValue solveOQPbenchmarkB(int nQP, int nV, real_t *_H, const real_t *const g, const real_t *const lb, const real_t *const ub, BooleanType isSparse, BooleanType useHotstarts, const Options *options, int maxAllowedNWSR, real_t *maxNWSR, real_t *avgNWSR, real_t *maxCPUtime, real_t *avgCPUtime, real_t *maxStationarity, real_t *maxFeasibility, real_t *maxComplementarity)
Definition: OQPinterface.c:302
Allows to pass back messages to the calling function.
BEGIN_NAMESPACE_QPOASES returnValue readOQPdimensions(const char *path, int *nQP, int *nV, int *nC, int *nEC)
Definition: OQPinterface.c:50
Provides a generic way to set and pass user-specified options.
Definition: options.hpp:65
returnValue readOQPdata(const char *path, int *nQP, int *nV, int *nC, int *nEC, real_t *H, real_t *g, real_t *A, real_t *lb, real_t *ub, real_t *lbA, real_t *ubA, real_t *xOpt, real_t *yOpt, real_t *objOpt)
Definition: OQPinterface.c:85
returnValue solveOQPbenchmark(int nQP, int nV, int nC, int nEC, real_t *_H, const real_t *const g, real_t *_A, const real_t *const lb, const real_t *const ub, const real_t *const lbA, const real_t *const ubA, BooleanType isSparse, BooleanType useHotstarts, const Options *options, int maxAllowedNWSR, real_t *maxNWSR, real_t *avgNWSR, real_t *maxCPUtime, real_t *avgCPUtime, real_t *maxStationarity, real_t *maxFeasibility, real_t *maxComplementarity)
Definition: OQPinterface.c:178
double real_t
Definition: AD_test.c:10
returnValue runOQPbenchmark(const char *path, BooleanType isSparse, BooleanType useHotstarts, const Options *options, int maxAllowedNWSR, real_t *maxNWSR, real_t *avgNWSR, real_t *maxCPUtime, real_t *avgCPUtime, real_t *maxStationarity, real_t *maxFeasibility, real_t *maxComplementarity)
Definition: OQPinterface.c:413


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