qpOASES 3.2.1
An Implementation of the Online Active Set Strategy
OQPinterface.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
38#ifndef QPOASES_OQPINTERFACE_HPP
39#define QPOASES_OQPINTERFACE_HPP
40
41
42#include <qpOASES/Options.hpp>
43
44
46
47
53returnValue readOqpDimensions( const char* path,
54 int_t& nQP,
55 int_t& nV,
56 int_t& nC,
57 int_t& nEC
58 );
59
68returnValue readOqpData( const char* path,
69 int_t& nQP,
70 int_t& nV,
71 int_t& nC,
72 int_t& nEC,
73 real_t** H,
74 real_t** g,
75 real_t** A,
76 real_t** lb,
77 real_t** ub,
78 real_t** lbA,
79 real_t** ubA,
80 real_t** xOpt,
82 real_t** yOpt,
84 real_t** objOpt
86 );
87
88
99 int_t nV,
100 int_t nC,
101 int_t nEC,
102 const real_t* const _H,
103 const real_t* const g,
104 const real_t* const _A,
105 const real_t* const lb,
106 const real_t* const ub,
107 const real_t* const lbA,
108 const real_t* const ubA,
109 BooleanType isSparse,
110 const Options& options,
111 int_t& nWSR,
113 real_t& maxCPUtime,
114 real_t& maxStationarity,
115 real_t& maxFeasibility,
116 real_t& maxComplementarity
117 );
118
126 int_t nV,
127 int_t nC,
128 int_t nEC,
129 const real_t* const _H,
130 const real_t* const g,
131 const real_t* const _A,
132 const real_t* const lb,
133 const real_t* const ub,
134 const real_t* const lbA,
135 const real_t* const ubA,
136 BooleanType isSparse,
137 BooleanType useHotstarts,
138 const Options& options,
139 int_t maxAllowedNWSR,
140 real_t& maxNWSR,
141 real_t& avgNWSR,
142 real_t& maxCPUtime,
143 real_t& avgCPUtime,
144 real_t& maxStationarity,
145 real_t& maxFeasibility,
146 real_t& maxComplementarity
147 );
148
149
160 int_t nV,
161 const real_t* const _H,
162 const real_t* const g,
163 const real_t* const lb,
164 const real_t* const ub,
165 BooleanType isSparse,
166 const Options& options,
167 int_t& nWSR,
169 real_t& maxCPUtime,
170 real_t& maxStationarity,
171 real_t& maxFeasibility,
172 real_t& maxComplementarity
173 );
174
182 int_t nV,
183 const real_t* const _H,
184 const real_t* const g,
185 const real_t* const lb,
186 const real_t* const ub,
187 BooleanType isSparse,
188 BooleanType useHotstarts,
189 const Options& options,
190 int_t maxAllowedNWSR,
191 real_t& maxNWSR,
192 real_t& avgNWSR,
193 real_t& maxCPUtime,
194 real_t& avgCPUtime,
195 real_t& maxStationarity,
196 real_t& maxFeasibility,
197 real_t& maxComplementarity
198 );
199
200
208returnValue runOqpBenchmark( const char* path,
209 BooleanType isSparse,
210 const Options& options,
211 int_t& nWSR,
213 real_t& maxCPUtime,
214 real_t& maxStationarity,
215 real_t& maxFeasibility,
216 real_t& maxComplementarity
217 );
218
219
228returnValue runOqpBenchmark( const char* path,
229 BooleanType isSparse,
230 BooleanType useHotstarts,
231 const Options& options,
232 int_t maxAllowedNWSR,
233 real_t& maxNWSR,
234 real_t& avgNWSR,
235 real_t& maxCPUtime,
236 real_t& avgCPUtime,
237 real_t& maxStationarity,
238 real_t& maxFeasibility,
239 real_t& maxComplementarity
240 );
241
243
244
245#endif /* QPOASES_OQPINTERFACE_HPP */
246
247
248/*
249 * end of file
250 */
returnValue
Defines all symbols for global return values.
Definition: MessageHandling.hpp:65
returnValue runOqpBenchmark(const char *path, BooleanType isSparse, const Options &options, int_t &nWSR, real_t &maxCPUtime, real_t &maxStationarity, real_t &maxFeasibility, real_t &maxComplementarity)
Definition: OQPinterface.cpp:569
returnValue readOqpData(const char *path, int_t &nQP, int_t &nV, int_t &nC, int_t &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.cpp:79
returnValue solveOqpBenchmark(int_t nQP, int_t nV, int_t nC, int_t nEC, const real_t *const _H, const real_t *const g, const real_t *const _A, const real_t *const lb, const real_t *const ub, const real_t *const lbA, const real_t *const ubA, BooleanType isSparse, const Options &options, int_t &nWSR, real_t &maxCPUtime, real_t &maxStationarity, real_t &maxFeasibility, real_t &maxComplementarity)
Definition: OQPinterface.cpp:230
BEGIN_NAMESPACE_QPOASES returnValue readOqpDimensions(const char *path, int_t &nQP, int_t &nV, int_t &nC, int_t &nEC)
Definition: OQPinterface.cpp:49
BooleanType
Definition: Types.hpp:204
int int_t
Definition: Types.hpp:180
BEGIN_NAMESPACE_QPOASES typedef double real_t
Definition: Types.hpp:171
#define END_NAMESPACE_QPOASES
Definition: Types.hpp:110
#define BEGIN_NAMESPACE_QPOASES
Definition: Types.hpp:107
Manages all user-specified options for solving QPs.
Definition: Options.hpp:57