Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
external_packages
qpOASES-3.0beta
include
qpOASES
extras
qpOASES-3.0beta/include/qpOASES/extras/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-2011 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
37
#ifndef QPOASES_OQPINTERFACE_HPP
38
#define QPOASES_OQPINTERFACE_HPP
39
40
41
#include <qpOASES/Utils.hpp>
42
#include <qpOASES/Options.hpp>
43
44
45
BEGIN_NAMESPACE_QPOASES
46
47
52
returnValue
readOQPdimensions
(
const
char
* path,
53
int
& nQP,
54
int
& nV,
55
int
& nC,
56
int
& nEC
57
);
58
66
returnValue
readOQPdata
(
const
char
* path,
67
int
& nQP,
68
int
& nV,
69
int
& nC,
70
int
& nEC,
71
real_t
**
H
,
72
real_t
**
g
,
73
real_t
**
A
,
74
real_t
**
lb
,
75
real_t
**
ub
,
76
real_t
**
lbA
,
77
real_t
**
ubA
,
78
real_t
**
xOpt
,
80
real_t
** yOpt,
82
real_t
** objOpt
84
);
85
86
92
returnValue
solveOQPbenchmark
(
int
nQP,
93
int
nV,
94
int
nC,
95
int
nEC,
96
const
real_t
*
const
_H,
97
const
real_t
*
const
g
,
98
const
real_t
*
const
_A,
99
const
real_t
*
const
lb
,
100
const
real_t
*
const
ub
,
101
const
real_t
*
const
lbA
,
102
const
real_t
*
const
ubA
,
103
BooleanType
isSparse,
104
const
Options
&
options
,
105
int
&
nWSR
,
107
real_t
& maxCPUtime,
108
real_t
& maxStationarity,
109
real_t
& maxFeasibility,
110
real_t
& maxComplementarity
111
);
112
118
returnValue
solveOQPbenchmark
(
int
nQP,
119
int
nV,
120
const
real_t
*
const
_H,
121
const
real_t
*
const
g
,
122
const
real_t
*
const
lb
,
123
const
real_t
*
const
ub
,
124
BooleanType
isSparse,
125
const
Options
&
options
,
126
int
&
nWSR
,
128
real_t
& maxCPUtime,
129
real_t
& maxStationarity,
130
real_t
& maxFeasibility,
131
real_t
& maxComplementarity
132
);
133
134
141
returnValue
runOQPbenchmark
(
const
char
* path,
142
BooleanType
isSparse,
143
const
Options
&
options
,
144
int
&
nWSR
,
146
real_t
& maxCPUtime,
147
real_t
& maxStationarity,
148
real_t
& maxFeasibility,
149
real_t
& maxComplementarity
150
);
151
152
END_NAMESPACE_QPOASES
153
154
155
#endif
/* QPOASES_OQPINTERFACE_HPP */
156
157
158
/*
159
* end of file
160
*/
runOQPbenchmark
returnValue runOQPbenchmark(const char *path, BooleanType isSparse, const Options &options, int &nWSR, real_t &maxCPUtime, real_t &maxStationarity, real_t &maxFeasibility, real_t &maxComplementarity)
Definition:
qpOASES-3.0beta/src/extras/OQPinterface.cpp:468
solveOQPbenchmark
returnValue solveOQPbenchmark(int nQP, int nV, int nC, int 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 &nWSR, real_t &maxCPUtime, real_t &maxStationarity, real_t &maxFeasibility, real_t &maxComplementarity)
Definition:
qpOASES-3.0beta/src/extras/OQPinterface.cpp:229
example1.A
A
Definition:
example1.py:34
g
real_t g[]
Definition:
qpOASES-3.0beta/examples/qrecipe.cpp:337
lbA
real_t lbA[]
Definition:
qpOASES-3.0beta/examples/qrecipe.cpp:380
returnValue
Allows to pass back messages to the calling function.
Definition:
acado_types.hpp:1139
example1.options
options
Definition:
example1.py:54
example1.nWSR
nWSR
Definition:
example1.py:59
BooleanType
BooleanType
Definition:
examples/code_generation/mpc_mhe/getting_started_export/qpoases/INCLUDE/Types.hpp:44
Options
Provides a generic way to set and pass user-specified options.
Definition:
options.hpp:65
END_NAMESPACE_QPOASES
#define END_NAMESPACE_QPOASES
Definition:
external_packages/qpOASES-3.0beta/include/qpOASES/Types.hpp:120
readOQPdimensions
BEGIN_NAMESPACE_QPOASES returnValue readOQPdimensions(const char *path, int &nQP, int &nV, int &nC, int &nEC)
Definition:
qpOASES-3.0beta/src/extras/OQPinterface.cpp:48
ubA
real_t ubA[]
Definition:
qpOASES-3.0beta/examples/qrecipe.cpp:386
ub
real_t ub[]
Definition:
qpOASES-3.0beta/examples/qrecipe.cpp:368
readOQPdata
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:
qpOASES-3.0beta/src/extras/OQPinterface.cpp:78
BEGIN_NAMESPACE_QPOASES
#define BEGIN_NAMESPACE_QPOASES
Definition:
external_packages/qpOASES-3.0beta/include/qpOASES/Types.hpp:117
real_t
double real_t
Definition:
AD_test.c:10
example1.H
H
Definition:
example1.py:33
lb
real_t lb[]
Definition:
qpOASES-3.0beta/examples/qrecipe.cpp:359
example1.xOpt
xOpt
Definition:
example1.py:73
acado
Author(s): Milan Vukov, Rien Quirynen
autogenerated on Mon Jun 10 2019 12:34:55