Public Member Functions | Protected Member Functions | Private Attributes

A class for export of Gauss-Newton condensed OCP solver. More...

#include <export_gauss_newton_condensed.hpp>

Inheritance diagram for ExportGaussNewtonCondensed:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 ExportGaussNewtonCondensed (UserInteraction *_userInteraction=0, const std::string &_commonHeaderName="")
virtual returnValue getCode (ExportStatementBlock &code)
virtual returnValue getDataDeclarations (ExportStatementBlock &declarations, ExportStruct dataStruct=ACADO_ANY) const
virtual returnValue getFunctionDeclarations (ExportStatementBlock &declarations) const
unsigned getNumQPvars () const
virtual unsigned getNumStateBounds () const
virtual returnValue setup ()
virtual ~ExportGaussNewtonCondensed ()

Protected Member Functions

bool performFullCondensing () const
virtual returnValue setupCondensing ()
virtual returnValue setupConstraintsEvaluation (void)
virtual returnValue setupEvaluation ()
virtual returnValue setupMultiplicationRoutines ()
virtual returnValue setupObjectiveEvaluation (void)
virtual returnValue setupQPInterface ()
virtual returnValue setupVariables ()

Private Attributes

ExportVariable Dx0
ExportVariable x0
Objective evaluation
ExportFunction evaluateObjective
ExportFunction setObjQ1Q2
ExportFunction setObjR1R2
ExportFunction setObjQN1QN2
Condensing functions and variables
ExportFunction condensePrep
ExportFunction condenseFdb
ExportFunction expand
ExportVariable T
ExportVariable E
ExportVariable QE
ExportVariable QGx
ExportVariable QDy
ExportVariable Qd
ExportVariable H00
ExportVariable H10
ExportVariable H11
ExportVariable g0
ExportVariable g1
ExportCholeskySolver cholSolver
std::vector< unsigned > xBoundsIdx
ExportVariable lbValues
ExportVariable ubValues
ExportVariable lbAValues
ExportVariable ubAValues
Helper functions
ExportFunction multGxd
ExportFunction moveGxT
ExportFunction multGxGx
ExportFunction multGxGu
ExportFunction moveGuE
ExportFunction setBlockH11
ExportFunction setBlockH11_R1
ExportFunction zeroBlockH11
ExportFunction copyHTH
ExportFunction multQ1d
ExportFunction multQN1d
ExportFunction multRDy
ExportFunction multQDy
ExportFunction multEQDy
ExportFunction multQETGx
ExportFunction zeroBlockH10
ExportFunction multEDu
ExportFunction multQ1Gx
ExportFunction multQN1Gx
ExportFunction multQ1Gu
ExportFunction multQN1Gu
ExportFunction zeroBlockH00
ExportFunction multCTQC
ExportFunction macCTSlx
ExportFunction macETSlu
ExportFunction multHxC
ExportFunction multHxE
ExportFunction macHxd
Contraint evaluation variables
ExportVariable A10
ExportVariable A20
ExportVariable pacA01Dx0
ExportVariable pocA02Dx0
RTI related
ExportFunction preparation
ExportFunction feedback
ExportFunction getKKT
Covariance calculation varibables and functions
ExportVariable CEN
ExportVariable sigmaTmp
ExportVariable sigma
ExportVariable sigmaN
ExportFunction calculateCovariance
qpOASES interface variables
ExportVariable H
ExportVariable R
ExportVariable A
ExportVariable g
ExportVariable lb
ExportVariable ub
ExportVariable lbA
ExportVariable ubA
ExportVariable xVars
ExportVariable yVars

Detailed Description

A class for export of Gauss-Newton condensed OCP solver.

The class ExportGaussNewtonCondensed allows to export an OCP solver using the generalized Gauss-Newton method. The sparse QP is condensed and solved with qpOASES QP solver.

Authors:
Hans Joachim Ferreau, Boris Houska, Milan Vukov

Definition at line 51 of file export_gauss_newton_condensed.hpp.


Constructor & Destructor Documentation

BEGIN_NAMESPACE_ACADO ExportGaussNewtonCondensed::ExportGaussNewtonCondensed ( UserInteraction _userInteraction = 0,
const std::string &  _commonHeaderName = "" 
)

Default constructor.

Parameters:
[in]_userInteractionPointer to corresponding user interface.
[in]_commonHeaderNameName of common header file to be included.

Definition at line 40 of file export_gauss_newton_condensed.cpp.

Destructor.

Definition at line 66 of file export_gauss_newton_condensed.hpp.


Member Function Documentation

Exports source code of the auto-generated condensing algorithm into the given directory.

Parameters:
[in]codeCode block containing the auto-generated condensing algorithm.
Returns:
SUCCESSFUL_RETURN

Implements ExportNLPSolver.

Definition at line 164 of file export_gauss_newton_condensed.cpp.

Adds all data declarations of the auto-generated condensing algorithm to given list of declarations.

Parameters:
[in]declarationsList of declarations.
Returns:
SUCCESSFUL_RETURN

Reimplemented from ExportNLPSolver.

Definition at line 90 of file export_gauss_newton_condensed.cpp.

Adds all function (forward) declarations of the auto-generated condensing algorithm to given list of declarations.

Parameters:
[in]declarationsList of declarations.
Returns:
SUCCESSFUL_RETURN

Implements ExportNLPSolver.

Definition at line 142 of file export_gauss_newton_condensed.cpp.

unsigned ExportGaussNewtonCondensed::getNumQPvars ( ) const [virtual]

Returns number of variables in underlying QP.

Returns:
Number of variables in underlying QP

Implements ExportNLPSolver.

Definition at line 264 of file export_gauss_newton_condensed.cpp.

unsigned ExportGaussNewtonCondensed::getNumStateBounds ( ) const [virtual]

Returns number of bounds on differential states.

Returns:
Number of bounds on differential states

Definition at line 272 of file export_gauss_newton_condensed.cpp.

Indicator for full condensing.

Definition at line 2391 of file export_gauss_newton_condensed.cpp.

Initializes export of an algorithm.

Returns:
SUCCESSFUL_RETURN

Implements ExportNLPSolver.

Definition at line 45 of file export_gauss_newton_condensed.cpp.

Setup condensing routine variables and functions.

Definition at line 1222 of file export_gauss_newton_condensed.cpp.

Set-up evaluation of constraints

  • box constraints on states and controls
Returns:
SUCCESSFUL_RETURN

Implements ExportNLPSolver.

Definition at line 490 of file export_gauss_newton_condensed.cpp.

Exports source code containing the evaluation routines of the algorithm.

Returns:
SUCCESSFUL_RETURN

Implements ExportNLPSolver.

Definition at line 2238 of file export_gauss_newton_condensed.cpp.

Exports source code containing the multiplication routines of the algorithm.

Returns:
SUCCESSFUL_RETURN

Implements ExportNLPSolver.

Definition at line 2095 of file export_gauss_newton_condensed.cpp.

Setting up of an objective evaluation:

  • functions and derivatives evaulation
  • creating Hessians and gradients
Returns:
SUCCESSFUL_RETURN

Definition at line 281 of file export_gauss_newton_condensed.cpp.

Setup qpOASES interface.

Definition at line 2332 of file export_gauss_newton_condensed.cpp.

Initialization of all member variables.

Returns:
SUCCESSFUL_RETURN

Implements ExportNLPSolver.

Definition at line 2003 of file export_gauss_newton_condensed.cpp.


Member Data Documentation

Variable containing the QP constraint matrix.

Definition at line 260 of file export_gauss_newton_condensed.hpp.

Definition at line 233 of file export_gauss_newton_condensed.hpp.

Definition at line 234 of file export_gauss_newton_condensed.hpp.

Definition at line 250 of file export_gauss_newton_condensed.hpp.

Definition at line 249 of file export_gauss_newton_condensed.hpp.

Definition at line 190 of file export_gauss_newton_condensed.hpp.

Definition at line 182 of file export_gauss_newton_condensed.hpp.

Definition at line 181 of file export_gauss_newton_condensed.hpp.

Definition at line 207 of file export_gauss_newton_condensed.hpp.

Current state feedback deviation.

Definition at line 169 of file export_gauss_newton_condensed.hpp.

Definition at line 185 of file export_gauss_newton_condensed.hpp.

Definition at line 173 of file export_gauss_newton_condensed.hpp.

Definition at line 183 of file export_gauss_newton_condensed.hpp.

Definition at line 242 of file export_gauss_newton_condensed.hpp.

Variable containing the QP gradient.

Definition at line 262 of file export_gauss_newton_condensed.hpp.

Definition at line 188 of file export_gauss_newton_condensed.hpp.

Definition at line 188 of file export_gauss_newton_condensed.hpp.

Definition at line 244 of file export_gauss_newton_condensed.hpp.

Variable containing the QP Hessian matrix.

Definition at line 256 of file export_gauss_newton_condensed.hpp.

Definition at line 187 of file export_gauss_newton_condensed.hpp.

Definition at line 187 of file export_gauss_newton_condensed.hpp.

Definition at line 187 of file export_gauss_newton_condensed.hpp.

Variable containing the lower limits on QP variables.

Definition at line 264 of file export_gauss_newton_condensed.hpp.

Variable containing lower limits on QP constraints.

Definition at line 268 of file export_gauss_newton_condensed.hpp.

Definition at line 194 of file export_gauss_newton_condensed.hpp.

Definition at line 193 of file export_gauss_newton_condensed.hpp.

Definition at line 223 of file export_gauss_newton_condensed.hpp.

Definition at line 224 of file export_gauss_newton_condensed.hpp.

Definition at line 228 of file export_gauss_newton_condensed.hpp.

Definition at line 203 of file export_gauss_newton_condensed.hpp.

Definition at line 200 of file export_gauss_newton_condensed.hpp.

Definition at line 221 of file export_gauss_newton_condensed.hpp.

Definition at line 215 of file export_gauss_newton_condensed.hpp.

Definition at line 212 of file export_gauss_newton_condensed.hpp.

Definition at line 199 of file export_gauss_newton_condensed.hpp.

Definition at line 202 of file export_gauss_newton_condensed.hpp.

Definition at line 201 of file export_gauss_newton_condensed.hpp.

Definition at line 226 of file export_gauss_newton_condensed.hpp.

Definition at line 227 of file export_gauss_newton_condensed.hpp.

Definition at line 208 of file export_gauss_newton_condensed.hpp.

Definition at line 218 of file export_gauss_newton_condensed.hpp.

Definition at line 216 of file export_gauss_newton_condensed.hpp.

Definition at line 211 of file export_gauss_newton_condensed.hpp.

Definition at line 213 of file export_gauss_newton_condensed.hpp.

Definition at line 209 of file export_gauss_newton_condensed.hpp.

Definition at line 219 of file export_gauss_newton_condensed.hpp.

Definition at line 217 of file export_gauss_newton_condensed.hpp.

Definition at line 210 of file export_gauss_newton_condensed.hpp.

Definition at line 235 of file export_gauss_newton_condensed.hpp.

Definition at line 236 of file export_gauss_newton_condensed.hpp.

Definition at line 241 of file export_gauss_newton_condensed.hpp.

Definition at line 185 of file export_gauss_newton_condensed.hpp.

Definition at line 185 of file export_gauss_newton_condensed.hpp.

Definition at line 185 of file export_gauss_newton_condensed.hpp.

Definition at line 185 of file export_gauss_newton_condensed.hpp.

Variable containing factorization of the QP Hessian matrix; R' * R = H.

Definition at line 258 of file export_gauss_newton_condensed.hpp.

Definition at line 204 of file export_gauss_newton_condensed.hpp.

Definition at line 205 of file export_gauss_newton_condensed.hpp.

Definition at line 174 of file export_gauss_newton_condensed.hpp.

Definition at line 176 of file export_gauss_newton_condensed.hpp.

Definition at line 175 of file export_gauss_newton_condensed.hpp.

Definition at line 249 of file export_gauss_newton_condensed.hpp.

Definition at line 249 of file export_gauss_newton_condensed.hpp.

Definition at line 249 of file export_gauss_newton_condensed.hpp.

Definition at line 185 of file export_gauss_newton_condensed.hpp.

Variable containing the upper limits on QP variables.

Definition at line 266 of file export_gauss_newton_condensed.hpp.

Variable containing upper limits on QP constraints.

Definition at line 270 of file export_gauss_newton_condensed.hpp.

Definition at line 194 of file export_gauss_newton_condensed.hpp.

Definition at line 193 of file export_gauss_newton_condensed.hpp.

Current state feedback.

Definition at line 167 of file export_gauss_newton_condensed.hpp.

std::vector< unsigned > ExportGaussNewtonCondensed::xBoundsIdx [private]

Definition at line 192 of file export_gauss_newton_condensed.hpp.

Variable containing the primal QP variables.

Definition at line 272 of file export_gauss_newton_condensed.hpp.

Variable containing the dual QP variables.

Definition at line 274 of file export_gauss_newton_condensed.hpp.

Definition at line 220 of file export_gauss_newton_condensed.hpp.

Definition at line 214 of file export_gauss_newton_condensed.hpp.

Definition at line 206 of file export_gauss_newton_condensed.hpp.


The documentation for this class was generated from the following files:


acado
Author(s): Milan Vukov, Rien Quirynen
autogenerated on Thu Aug 27 2015 12:01:38