A class for export of an OCP solver using sparse QP solver qpDUNES. More...
#include <export_gauss_newton_qpdunes2.hpp>
A class for export of an OCP solver using sparse QP solver qpDUNES.
The class ExportGaussNewtonQpDunes2 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 51 of file export_gauss_newton_qpdunes2.hpp.
ExportGaussNewtonQpDunes2::ExportGaussNewtonQpDunes2 | ( | 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 40 of file export_gauss_newton_qpdunes2.cpp.
virtual ExportGaussNewtonQpDunes2::~ExportGaussNewtonQpDunes2 | ( | ) | [inline, virtual] |
Destructor.
Definition at line 66 of file export_gauss_newton_qpdunes2.hpp.
returnValue ExportGaussNewtonQpDunes2::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.
Definition at line 132 of file export_gauss_newton_qpdunes2.cpp.
returnValue ExportGaussNewtonQpDunes2::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 79 of file export_gauss_newton_qpdunes2.cpp.
returnValue ExportGaussNewtonQpDunes2::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.
Definition at line 110 of file export_gauss_newton_qpdunes2.cpp.
unsigned ExportGaussNewtonQpDunes2::getNumQPvars | ( | ) | const [virtual] |
Returns number of variables in underlying QP.
Implements ExportNLPSolver.
Definition at line 195 of file export_gauss_newton_qpdunes2.cpp.
returnValue ExportGaussNewtonQpDunes2::setup | ( | ) | [virtual] |
Initializes export of an algorithm.
Implements ExportNLPSolver.
Definition at line 45 of file export_gauss_newton_qpdunes2.cpp.
returnValue ExportGaussNewtonQpDunes2::setupConstraintsEvaluation | ( | void | ) | [protected, virtual] |
Set-up evaluation of constraints
Implements ExportNLPSolver.
Definition at line 554 of file export_gauss_newton_qpdunes2.cpp.
returnValue ExportGaussNewtonQpDunes2::setupEvaluation | ( | ) | [protected, virtual] |
Exports source code containing the evaluation routines of the algorithm.
Implements ExportNLPSolver.
Definition at line 975 of file export_gauss_newton_qpdunes2.cpp.
returnValue ExportGaussNewtonQpDunes2::setupMultiplicationRoutines | ( | ) | [protected, virtual] |
Exports source code containing the multiplication routines of the algorithm.
Implements ExportNLPSolver.
Definition at line 970 of file export_gauss_newton_qpdunes2.cpp.
returnValue ExportGaussNewtonQpDunes2::setupObjectiveEvaluation | ( | void | ) | [protected, virtual] |
Setting up of an objective evaluation:
Definition at line 204 of file export_gauss_newton_qpdunes2.cpp.
returnValue ExportGaussNewtonQpDunes2::setupQPInterface | ( | ) | [protected, virtual] |
Setup of the glue code for the QP solver interaction.
Definition at line 1089 of file export_gauss_newton_qpdunes2.cpp.
returnValue ExportGaussNewtonQpDunes2::setupVariables | ( | ) | [protected, virtual] |
Initialization of all member variables.
Implements ExportNLPSolver.
Definition at line 959 of file export_gauss_newton_qpdunes2.cpp.
ExportFunction ExportGaussNewtonQpDunes2::acc [protected] |
Definition at line 207 of file export_gauss_newton_qpdunes2.hpp.
ExportFunction ExportGaussNewtonQpDunes2::cleanup [protected] |
Definition at line 196 of file export_gauss_newton_qpdunes2.hpp.
Definition at line 183 of file export_gauss_newton_qpdunes2.hpp.
Definition at line 171 of file export_gauss_newton_qpdunes2.hpp.
ExportFunction ExportGaussNewtonQpDunes2::feedback [protected] |
Definition at line 191 of file export_gauss_newton_qpdunes2.hpp.
ExportFunction ExportGaussNewtonQpDunes2::getKKT [protected] |
Definition at line 202 of file export_gauss_newton_qpdunes2.hpp.
ExportFunction ExportGaussNewtonQpDunes2::preparation [protected] |
Definition at line 190 of file export_gauss_newton_qpdunes2.hpp.
ExportVariable ExportGaussNewtonQpDunes2::qpA [protected] |
Definition at line 163 of file export_gauss_newton_qpdunes2.hpp.
ExportVariable ExportGaussNewtonQpDunes2::qpC [protected] |
Definition at line 158 of file export_gauss_newton_qpdunes2.hpp.
ExportVariable ExportGaussNewtonQpDunes2::qpc [protected] |
Definition at line 159 of file export_gauss_newton_qpdunes2.hpp.
std::vector< unsigned > ExportGaussNewtonQpDunes2::qpConDim [protected] |
Definition at line 185 of file export_gauss_newton_qpdunes2.hpp.
ExportVariable ExportGaussNewtonQpDunes2::qpg [protected] |
Definition at line 156 of file export_gauss_newton_qpdunes2.hpp.
ExportVariable ExportGaussNewtonQpDunes2::qpH [protected] |
Definition at line 155 of file export_gauss_newton_qpdunes2.hpp.
std::tr1::shared_ptr< ExportQpDunesInterface > ExportGaussNewtonQpDunes2::qpInterface [protected] |
qpDUNES interface object.
Definition at line 211 of file export_gauss_newton_qpdunes2.hpp.
ExportVariable ExportGaussNewtonQpDunes2::qpLambda [protected] |
Definition at line 166 of file export_gauss_newton_qpdunes2.hpp.
ExportVariable ExportGaussNewtonQpDunes2::qpLb [protected] |
Definition at line 161 of file export_gauss_newton_qpdunes2.hpp.
ExportVariable ExportGaussNewtonQpDunes2::qpLb0 [protected] |
Definition at line 160 of file export_gauss_newton_qpdunes2.hpp.
ExportVariable ExportGaussNewtonQpDunes2::qpLbA [protected] |
Definition at line 164 of file export_gauss_newton_qpdunes2.hpp.
ExportVariable ExportGaussNewtonQpDunes2::qpMu [protected] |
Definition at line 166 of file export_gauss_newton_qpdunes2.hpp.
ExportVariable ExportGaussNewtonQpDunes2::qpPrimal [protected] |
Definition at line 166 of file export_gauss_newton_qpdunes2.hpp.
ExportVariable ExportGaussNewtonQpDunes2::qpUb [protected] |
Definition at line 161 of file export_gauss_newton_qpdunes2.hpp.
ExportVariable ExportGaussNewtonQpDunes2::qpUb0 [protected] |
Definition at line 160 of file export_gauss_newton_qpdunes2.hpp.
ExportVariable ExportGaussNewtonQpDunes2::qpUbA [protected] |
Definition at line 164 of file export_gauss_newton_qpdunes2.hpp.
ExportFunction ExportGaussNewtonQpDunes2::setObjQ1Q2 [protected] |
Definition at line 176 of file export_gauss_newton_qpdunes2.hpp.
Definition at line 178 of file export_gauss_newton_qpdunes2.hpp.
ExportFunction ExportGaussNewtonQpDunes2::setObjR1R2 [protected] |
Definition at line 177 of file export_gauss_newton_qpdunes2.hpp.
ExportFunction ExportGaussNewtonQpDunes2::setStagef [protected] |
Definition at line 174 of file export_gauss_newton_qpdunes2.hpp.
ExportFunction ExportGaussNewtonQpDunes2::setStageH [protected] |
Definition at line 173 of file export_gauss_newton_qpdunes2.hpp.
ExportFunction ExportGaussNewtonQpDunes2::setStagePac [protected] |
Definition at line 184 of file export_gauss_newton_qpdunes2.hpp.
ExportFunction ExportGaussNewtonQpDunes2::shiftQpData [protected] |
Definition at line 197 of file export_gauss_newton_qpdunes2.hpp.
ExportVariable ExportGaussNewtonQpDunes2::x0 [protected] |
Current state feedback.
Definition at line 151 of file export_gauss_newton_qpdunes2.hpp.