A class for export of Gauss-Newton condensed OCP solver. More...
#include <export_gauss_newton_condensed.hpp>
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.
Definition at line 51 of file export_gauss_newton_condensed.hpp.
BEGIN_NAMESPACE_ACADO ExportGaussNewtonCondensed::ExportGaussNewtonCondensed | ( | 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_condensed.cpp.
virtual ExportGaussNewtonCondensed::~ExportGaussNewtonCondensed | ( | ) | [inline, virtual] |
Destructor.
Definition at line 66 of file export_gauss_newton_condensed.hpp.
returnValue ExportGaussNewtonCondensed::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 164 of file export_gauss_newton_condensed.cpp.
returnValue ExportGaussNewtonCondensed::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 90 of file export_gauss_newton_condensed.cpp.
returnValue ExportGaussNewtonCondensed::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 142 of file export_gauss_newton_condensed.cpp.
unsigned ExportGaussNewtonCondensed::getNumQPvars | ( | ) | const [virtual] |
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.
Definition at line 272 of file export_gauss_newton_condensed.cpp.
bool ExportGaussNewtonCondensed::performFullCondensing | ( | ) | const [protected] |
Indicator for full condensing.
Definition at line 2391 of file export_gauss_newton_condensed.cpp.
returnValue ExportGaussNewtonCondensed::setup | ( | ) | [virtual] |
Initializes export of an algorithm.
Implements ExportNLPSolver.
Definition at line 45 of file export_gauss_newton_condensed.cpp.
returnValue ExportGaussNewtonCondensed::setupCondensing | ( | void | ) | [protected, virtual] |
Setup condensing routine variables and functions.
Definition at line 1222 of file export_gauss_newton_condensed.cpp.
returnValue ExportGaussNewtonCondensed::setupConstraintsEvaluation | ( | void | ) | [protected, virtual] |
Set-up evaluation of constraints
Implements ExportNLPSolver.
Definition at line 490 of file export_gauss_newton_condensed.cpp.
returnValue ExportGaussNewtonCondensed::setupEvaluation | ( | ) | [protected, virtual] |
Exports source code containing the evaluation routines of the algorithm.
Implements ExportNLPSolver.
Definition at line 2238 of file export_gauss_newton_condensed.cpp.
returnValue ExportGaussNewtonCondensed::setupMultiplicationRoutines | ( | ) | [protected, virtual] |
Exports source code containing the multiplication routines of the algorithm.
Implements ExportNLPSolver.
Definition at line 2095 of file export_gauss_newton_condensed.cpp.
returnValue ExportGaussNewtonCondensed::setupObjectiveEvaluation | ( | void | ) | [protected, virtual] |
Setting up of an objective evaluation:
Definition at line 281 of file export_gauss_newton_condensed.cpp.
returnValue ExportGaussNewtonCondensed::setupQPInterface | ( | ) | [protected, virtual] |
Setup qpOASES interface.
Definition at line 2332 of file export_gauss_newton_condensed.cpp.
returnValue ExportGaussNewtonCondensed::setupVariables | ( | ) | [protected, virtual] |
Initialization of all member variables.
Implements ExportNLPSolver.
Definition at line 2003 of file export_gauss_newton_condensed.cpp.
ExportVariable ExportGaussNewtonCondensed::A [private] |
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.
ExportVariable ExportGaussNewtonCondensed::E [private] |
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.
ExportVariable ExportGaussNewtonCondensed::g [private] |
Variable containing the QP gradient.
Definition at line 262 of file export_gauss_newton_condensed.hpp.
ExportVariable ExportGaussNewtonCondensed::g0 [private] |
Definition at line 188 of file export_gauss_newton_condensed.hpp.
ExportVariable ExportGaussNewtonCondensed::g1 [private] |
Definition at line 188 of file export_gauss_newton_condensed.hpp.
Definition at line 244 of file export_gauss_newton_condensed.hpp.
ExportVariable ExportGaussNewtonCondensed::H [private] |
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.
ExportVariable ExportGaussNewtonCondensed::lb [private] |
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.
ExportVariable ExportGaussNewtonCondensed::Qd [private] |
Definition at line 185 of file export_gauss_newton_condensed.hpp.
Definition at line 185 of file export_gauss_newton_condensed.hpp.
ExportVariable ExportGaussNewtonCondensed::QE [private] |
Definition at line 185 of file export_gauss_newton_condensed.hpp.
Definition at line 185 of file export_gauss_newton_condensed.hpp.
ExportVariable ExportGaussNewtonCondensed::R [private] |
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.
ExportVariable ExportGaussNewtonCondensed::T [private] |
Definition at line 185 of file export_gauss_newton_condensed.hpp.
ExportVariable ExportGaussNewtonCondensed::ub [private] |
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.
ExportVariable ExportGaussNewtonCondensed::x0 [private] |
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.