OQPinterface.hpp
Go to the documentation of this file.
00001 /*
00002  *      This file is part of qpOASES.
00003  *
00004  *      qpOASES -- An Implementation of the Online Active Set Strategy.
00005  *      Copyright (C) 2007-2011 by Hans Joachim Ferreau, Andreas Potschka,
00006  *      Christian Kirches et al. All rights reserved.
00007  *
00008  *      qpOASES is free software; you can redistribute it and/or
00009  *      modify it under the terms of the GNU Lesser General Public
00010  *      License as published by the Free Software Foundation; either
00011  *      version 2.1 of the License, or (at your option) any later version.
00012  *
00013  *      qpOASES is distributed in the hope that it will be useful,
00014  *      but WITHOUT ANY WARRANTY; without even the implied warranty of
00015  *      MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
00016  *      See the GNU Lesser General Public License for more details.
00017  *
00018  *      You should have received a copy of the GNU Lesser General Public
00019  *      License along with qpOASES; if not, write to the Free Software
00020  *      Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
00021  *
00022  */
00023 
00024 
00037 #ifndef QPOASES_OQPINTERFACE_HPP
00038 #define QPOASES_OQPINTERFACE_HPP
00039 
00040 
00041 #include <qpOASES/Utils.hpp>
00042 #include <qpOASES/Options.hpp>
00043 
00044 
00045 BEGIN_NAMESPACE_QPOASES
00046 
00047 
00052 returnValue readOQPdimensions(  const char* path,       
00053                                                                 int& nQP,                       
00054                                                                 int& nV,                        
00055                                                                 int& nC,                        
00056                                                                 int& nEC                        
00057                                                                 );
00058 
00066 returnValue readOQPdata(        const char* path,       
00067                                                         int& nQP,                       
00068                                                         int& nV,                        
00069                                                         int& nC,                        
00070                                                         int& nEC,                       
00071                                                         real_t** H,                     
00072                                                         real_t** g,                     
00073                                                         real_t** A,                     
00074                                                         real_t** lb,            
00075                                                         real_t** ub,            
00076                                                         real_t** lbA,           
00077                                                         real_t** ubA,           
00078                                                         real_t** xOpt,          
00080                                                         real_t** yOpt,          
00082                                                         real_t** objOpt         
00084                                                         );
00085 
00086 
00092 returnValue solveOQPbenchmark(  int nQP,                                        
00093                                                                 int nV,                                         
00094                                                                 int nC,                                         
00095                                                                 int nEC,                                        
00096                                                                 const real_t* const _H,         
00097                                                                 const real_t* const g,          
00098                                                                 const real_t* const _A,         
00099                                                                 const real_t* const lb,         
00100                                                                 const real_t* const ub,         
00101                                                                 const real_t* const lbA,        
00102                                                                 const real_t* const ubA,        
00103                                                                 BooleanType isSparse,           
00104                                                                 const Options& options,         
00105                                                                 int& nWSR,                                      
00107                                                                 real_t& maxCPUtime,                     
00108                                                                 real_t& maxStationarity,        
00109                                                                 real_t& maxFeasibility,         
00110                                                                 real_t& maxComplementarity      
00111                                                                 );
00112 
00118 returnValue solveOQPbenchmark(  int nQP,                                        
00119                                                                 int nV,                                         
00120                                                                 const real_t* const _H,         
00121                                                                 const real_t* const g,          
00122                                                                 const real_t* const lb,         
00123                                                                 const real_t* const ub,         
00124                                                                 BooleanType isSparse,           
00125                                                                 const Options& options,         
00126                                                                 int& nWSR,                                      
00128                                                                 real_t& maxCPUtime,                     
00129                                                                 real_t& maxStationarity,        
00130                                                                 real_t& maxFeasibility,         
00131                                                                 real_t& maxComplementarity      
00132                                                                 );
00133 
00134 
00141 returnValue runOQPbenchmark(    const char* path,                       
00142                                                                 BooleanType isSparse,           
00143                                                                 const Options& options,         
00144                                                                 int& nWSR,                                      
00146                                                                 real_t& maxCPUtime,                     
00147                                                                 real_t& maxStationarity,        
00148                                                                 real_t& maxFeasibility,         
00149                                                                 real_t& maxComplementarity      
00150                                                                 );
00151 
00152 END_NAMESPACE_QPOASES
00153 
00154 
00155 #endif  /* QPOASES_OQPINTERFACE_HPP */
00156 
00157 
00158 /*
00159  *      end of file
00160  */


acado
Author(s): Milan Vukov, Rien Quirynen
autogenerated on Thu Aug 27 2015 11:59:22