A class for export of an OCP solver using sparse QP solver qpDUNES. More...
#include <export_gauss_newton_qpdunes.hpp>
A class for export of an OCP solver using sparse QP solver qpDUNES.
The class ExportGaussNewtonQpDunes allows export of and OCP solver using the generalized Gauss-Newton method. The underlying QP is solved using the structured sparse QP solver qpDUNES.
Definition at line 52 of file export_gauss_newton_qpdunes.hpp.
ExportGaussNewtonQpDunes::ExportGaussNewtonQpDunes | ( | UserInteraction * | _userInteraction = 0 , |
const std::string & | _commonHeaderName = "" |
||
) |
Default constructor.
[in] | _userInteraction | Pointer to corresponding user interface. |
[in] | _commonHeaderName | Name of common header file to be included. |
Definition at line 39 of file export_gauss_newton_qpdunes.cpp.
virtual ExportGaussNewtonQpDunes::~ExportGaussNewtonQpDunes | ( | ) | [inline, virtual] |
Destructor.
Definition at line 67 of file export_gauss_newton_qpdunes.hpp.
returnValue ExportGaussNewtonQpDunes::getCode | ( | ExportStatementBlock & | code | ) | [virtual] |
Exports source code of the auto-generated condensing algorithm into the given directory.
[in] | code | Code block containing the auto-generated condensing algorithm. |
Implements ExportNLPSolver.
Reimplemented in ExportExactHessianQpDunes.
Definition at line 146 of file export_gauss_newton_qpdunes.cpp.
returnValue ExportGaussNewtonQpDunes::getDataDeclarations | ( | ExportStatementBlock & | declarations, |
ExportStruct | dataStruct = ACADO_ANY |
||
) | const [virtual] |
Adds all data declarations of the auto-generated condensing algorithm to given list of declarations.
[in] | declarations | List of declarations. |
Reimplemented from ExportNLPSolver.
Definition at line 89 of file export_gauss_newton_qpdunes.cpp.
returnValue ExportGaussNewtonQpDunes::getFunctionDeclarations | ( | ExportStatementBlock & | declarations | ) | const [virtual] |
Adds all function (forward) declarations of the auto-generated condensing algorithm to given list of declarations.
[in] | declarations | List of declarations. |
Implements ExportNLPSolver.
Reimplemented in ExportExactHessianQpDunes.
Definition at line 124 of file export_gauss_newton_qpdunes.cpp.
unsigned ExportGaussNewtonQpDunes::getNumQPvars | ( | ) | const [virtual] |
Returns number of variables in underlying QP.
Implements ExportNLPSolver.
Definition at line 209 of file export_gauss_newton_qpdunes.cpp.
returnValue ExportGaussNewtonQpDunes::setup | ( | ) | [virtual] |
Initializes export of an algorithm.
Implements ExportNLPSolver.
Reimplemented in ExportExactHessianQpDunes.
Definition at line 44 of file export_gauss_newton_qpdunes.cpp.
returnValue ExportGaussNewtonQpDunes::setupConstraintsEvaluation | ( | void | ) | [protected, virtual] |
Set-up evaluation of constraints
Implements ExportNLPSolver.
Definition at line 488 of file export_gauss_newton_qpdunes.cpp.
returnValue ExportGaussNewtonQpDunes::setupEvaluation | ( | ) | [protected, virtual] |
Exports source code containing the evaluation routines of the algorithm.
Implements ExportNLPSolver.
Definition at line 914 of file export_gauss_newton_qpdunes.cpp.
returnValue ExportGaussNewtonQpDunes::setupMultiplicationRoutines | ( | ) | [protected, virtual] |
Exports source code containing the multiplication routines of the algorithm.
Implements ExportNLPSolver.
Definition at line 909 of file export_gauss_newton_qpdunes.cpp.
returnValue ExportGaussNewtonQpDunes::setupObjectiveEvaluation | ( | void | ) | [protected, virtual] |
Setting up of an objective evaluation:
Reimplemented in ExportExactHessianQpDunes.
Definition at line 218 of file export_gauss_newton_qpdunes.cpp.
returnValue ExportGaussNewtonQpDunes::setupQPInterface | ( | ) | [protected, virtual] |
Setup of the glue code for the QP solver interaction.
Definition at line 1102 of file export_gauss_newton_qpdunes.cpp.
returnValue ExportGaussNewtonQpDunes::setupVariables | ( | ) | [protected, virtual] |
Initialization of all member variables.
Implements ExportNLPSolver.
Definition at line 898 of file export_gauss_newton_qpdunes.cpp.
ExportFunction ExportGaussNewtonQpDunes::acc [protected] |
Definition at line 211 of file export_gauss_newton_qpdunes.hpp.
ExportFunction ExportGaussNewtonQpDunes::cleanup [protected] |
Definition at line 200 of file export_gauss_newton_qpdunes.hpp.
bool ExportGaussNewtonQpDunes::diagH [protected] |
Definition at line 182 of file export_gauss_newton_qpdunes.hpp.
bool ExportGaussNewtonQpDunes::diagHN [protected] |
Definition at line 182 of file export_gauss_newton_qpdunes.hpp.
Definition at line 187 of file export_gauss_newton_qpdunes.hpp.
Definition at line 173 of file export_gauss_newton_qpdunes.hpp.
ExportFunction ExportGaussNewtonQpDunes::feedback [protected] |
Definition at line 195 of file export_gauss_newton_qpdunes.hpp.
ExportFunction ExportGaussNewtonQpDunes::getKKT [protected] |
Definition at line 206 of file export_gauss_newton_qpdunes.hpp.
ExportFunction ExportGaussNewtonQpDunes::preparation [protected] |
Definition at line 194 of file export_gauss_newton_qpdunes.hpp.
ExportVariable ExportGaussNewtonQpDunes::qpA [protected] |
Definition at line 165 of file export_gauss_newton_qpdunes.hpp.
ExportVariable ExportGaussNewtonQpDunes::qpC [protected] |
Definition at line 160 of file export_gauss_newton_qpdunes.hpp.
ExportVariable ExportGaussNewtonQpDunes::qpc [protected] |
Definition at line 161 of file export_gauss_newton_qpdunes.hpp.
std::vector< unsigned > ExportGaussNewtonQpDunes::qpConDim [protected] |
Definition at line 189 of file export_gauss_newton_qpdunes.hpp.
ExportVariable ExportGaussNewtonQpDunes::qpg [protected] |
Definition at line 157 of file export_gauss_newton_qpdunes.hpp.
ExportVariable ExportGaussNewtonQpDunes::qpgN [protected] |
Definition at line 158 of file export_gauss_newton_qpdunes.hpp.
ExportVariable ExportGaussNewtonQpDunes::qpH [protected] |
Definition at line 156 of file export_gauss_newton_qpdunes.hpp.
std::tr1::shared_ptr< ExportQpDunesInterface > ExportGaussNewtonQpDunes::qpInterface [protected] |
qpDUNES interface object.
Definition at line 215 of file export_gauss_newton_qpdunes.hpp.
ExportVariable ExportGaussNewtonQpDunes::qpLambda [protected] |
Definition at line 168 of file export_gauss_newton_qpdunes.hpp.
ExportVariable ExportGaussNewtonQpDunes::qpLb [protected] |
Definition at line 163 of file export_gauss_newton_qpdunes.hpp.
ExportVariable ExportGaussNewtonQpDunes::qpLb0 [protected] |
Definition at line 162 of file export_gauss_newton_qpdunes.hpp.
ExportVariable ExportGaussNewtonQpDunes::qpLbA [protected] |
Definition at line 166 of file export_gauss_newton_qpdunes.hpp.
ExportVariable ExportGaussNewtonQpDunes::qpMu [protected] |
Definition at line 168 of file export_gauss_newton_qpdunes.hpp.
ExportVariable ExportGaussNewtonQpDunes::qpPrimal [protected] |
Definition at line 168 of file export_gauss_newton_qpdunes.hpp.
ExportVariable ExportGaussNewtonQpDunes::qpUb [protected] |
Definition at line 163 of file export_gauss_newton_qpdunes.hpp.
ExportVariable ExportGaussNewtonQpDunes::qpUb0 [protected] |
Definition at line 162 of file export_gauss_newton_qpdunes.hpp.
ExportVariable ExportGaussNewtonQpDunes::qpUbA [protected] |
Definition at line 166 of file export_gauss_newton_qpdunes.hpp.
ExportFunction ExportGaussNewtonQpDunes::setObjQ1Q2 [protected] |
Definition at line 178 of file export_gauss_newton_qpdunes.hpp.
ExportFunction ExportGaussNewtonQpDunes::setObjQN1QN2 [protected] |
Definition at line 180 of file export_gauss_newton_qpdunes.hpp.
ExportFunction ExportGaussNewtonQpDunes::setObjR1R2 [protected] |
Definition at line 179 of file export_gauss_newton_qpdunes.hpp.
ExportFunction ExportGaussNewtonQpDunes::setStagef [protected] |
Definition at line 176 of file export_gauss_newton_qpdunes.hpp.
ExportFunction ExportGaussNewtonQpDunes::setStageH [protected] |
Definition at line 175 of file export_gauss_newton_qpdunes.hpp.
ExportFunction ExportGaussNewtonQpDunes::setStagePac [protected] |
Definition at line 188 of file export_gauss_newton_qpdunes.hpp.
ExportFunction ExportGaussNewtonQpDunes::shiftQpData [protected] |
Definition at line 201 of file export_gauss_newton_qpdunes.hpp.
ExportVariable ExportGaussNewtonQpDunes::x0 [protected] |
Current state feedback.
Definition at line 152 of file export_gauss_newton_qpdunes.hpp.