qpOASES_e_matlab_utils.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 /* Work-around for settings where mexErrMsgTxt causes unexpected behaviour. */
39 #ifdef __AVOID_MEXERRMSGTXT__
40  #define myMexErrMsgTxt( TEXT ) mexPrintf( "%s\n\n",(TEXT) );
41 #else
42  #define myMexErrMsgTxt mexErrMsgTxt
43 #endif
44 
45 
46 #include "mex.h"
47 #include "matrix.h"
48 #include "string.h"
49 
50 
51 
52 static int QPInstance_nexthandle = -1;
53 
54 /*
55  * QProblem instance class
56  */
57 typedef struct
58 {
59  int handle;
60 
63  BooleanType isSimplyBounded;
64 
67 
68 } QPInstance;
69 
70 
71 void QPInstanceCON( QPInstance* _THIS,
72  int _nV,
73  int _nC,
74  HessianType _hessianType,
75  BooleanType _isSimplyBounded
76  );
77 
78 int QPInstance_getNV( QPInstance* _THIS );
79 
80 int QPInstance_getNC( QPInstance* _THIS );
81 
82 
83 #define MAX_NUM_QPINSTANCES 10
85 
86 
87 /*
88  * end of file
89  */
int QPInstance_getNV(QPInstance *_THIS)
Implements the online active set strategy for box-constrained QPs.
static QPInstance QPInstances[MAX_NUM_QPINSTANCES]
Interfaces matrix-vector operations tailored to general dense matrices.
void QPInstanceCON(QPInstance *_THIS, int _nV, int _nC, HessianType _hessianType, BooleanType _isSimplyBounded)
int QPInstance_getNC(QPInstance *_THIS)
Implements the online active set strategy for QPs with general constraints.
static int QPInstance_nexthandle
#define MAX_NUM_QPINSTANCES


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