A class for export of Gauss-Newton condensed OCP solver. More...
#include <export_gauss_newton_condensed.hpp>
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 () |
Protected Member Functions inherited from ExportNLPSolver | |
returnValue | setupArrivalCostCalculation () |
returnValue | setupAuxiliaryFunctions () |
virtual returnValue | setupGetGeneralObjective () |
virtual returnValue | setupGetLSQObjective () |
virtual returnValue | setupGetObjective () |
virtual returnValue | setupInitialization () |
virtual returnValue | setupSimulation (void) |
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.
@param[in] _userInteraction Pointer to corresponding user interface. @param[in] _commonHeaderName Name of common header file to be included.
Definition at line 41 of file export_gauss_newton_condensed.cpp.
|
inlinevirtual |
Destructor.
Definition at line 66 of file export_gauss_newton_condensed.hpp.
|
virtual |
Exports source code of the auto-generated condensing algorithm into the given directory.
@param[in] code Code block containing the auto-generated condensing algorithm. \return SUCCESSFUL_RETURN
Implements ExportNLPSolver.
Definition at line 165 of file export_gauss_newton_condensed.cpp.
|
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 91 of file export_gauss_newton_condensed.cpp.
|
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 143 of file export_gauss_newton_condensed.cpp.
|
virtual |
Returns number of variables in underlying QP.
Implements ExportNLPSolver.
Definition at line 265 of file export_gauss_newton_condensed.cpp.
|
virtual |
Returns number of bounds on differential states.
Definition at line 273 of file export_gauss_newton_condensed.cpp.
|
protected |
Indicator for full condensing.
Definition at line 2424 of file export_gauss_newton_condensed.cpp.
|
virtual |
Initializes export of an algorithm.
\return SUCCESSFUL_RETURN
Implements ExportNLPSolver.
Definition at line 46 of file export_gauss_newton_condensed.cpp.
|
protectedvirtual |
Setup condensing routine variables and functions.
Definition at line 1223 of file export_gauss_newton_condensed.cpp.
|
protectedvirtual |
Set-up evaluation of constraints
Implements ExportNLPSolver.
Definition at line 491 of file export_gauss_newton_condensed.cpp.
|
protectedvirtual |
Exports source code containing the evaluation routines of the algorithm.
\return SUCCESSFUL_RETURN
Implements ExportNLPSolver.
Definition at line 2239 of file export_gauss_newton_condensed.cpp.
|
protectedvirtual |
Exports source code containing the multiplication routines of the algorithm.
\return SUCCESSFUL_RETURN
Implements ExportNLPSolver.
Definition at line 2096 of file export_gauss_newton_condensed.cpp.
|
protectedvirtual |
Setting up of an objective evaluation:
Definition at line 282 of file export_gauss_newton_condensed.cpp.
|
protectedvirtual |
Setup qpOASES interface.
Definition at line 2333 of file export_gauss_newton_condensed.cpp.
|
protectedvirtual |
Initialization of all member variables.
\return SUCCESSFUL_RETURN
Implements ExportNLPSolver.
Definition at line 2004 of file export_gauss_newton_condensed.cpp.
|
private |
Variable containing the QP constraint matrix.
Definition at line 260 of file export_gauss_newton_condensed.hpp.
|
private |
Definition at line 233 of file export_gauss_newton_condensed.hpp.
|
private |
Definition at line 234 of file export_gauss_newton_condensed.hpp.
|
private |
Definition at line 250 of file export_gauss_newton_condensed.hpp.
|
private |
Definition at line 249 of file export_gauss_newton_condensed.hpp.
|
private |
Definition at line 190 of file export_gauss_newton_condensed.hpp.
|
private |
Definition at line 182 of file export_gauss_newton_condensed.hpp.
|
private |
Definition at line 181 of file export_gauss_newton_condensed.hpp.
|
private |
Definition at line 207 of file export_gauss_newton_condensed.hpp.
|
private |
Current state feedback deviation.
Definition at line 169 of file export_gauss_newton_condensed.hpp.
|
private |
Definition at line 185 of file export_gauss_newton_condensed.hpp.
|
private |
Definition at line 173 of file export_gauss_newton_condensed.hpp.
|
private |
Definition at line 183 of file export_gauss_newton_condensed.hpp.
|
private |
Definition at line 242 of file export_gauss_newton_condensed.hpp.
|
private |
Variable containing the QP gradient.
Definition at line 262 of file export_gauss_newton_condensed.hpp.
|
private |
Definition at line 188 of file export_gauss_newton_condensed.hpp.
|
private |
Definition at line 188 of file export_gauss_newton_condensed.hpp.
|
private |
Definition at line 244 of file export_gauss_newton_condensed.hpp.
|
private |
Variable containing the QP Hessian matrix.
Definition at line 256 of file export_gauss_newton_condensed.hpp.
|
private |
Definition at line 187 of file export_gauss_newton_condensed.hpp.
|
private |
Definition at line 187 of file export_gauss_newton_condensed.hpp.
|
private |
Definition at line 187 of file export_gauss_newton_condensed.hpp.
|
private |
Variable containing the lower limits on QP variables.
Definition at line 264 of file export_gauss_newton_condensed.hpp.
|
private |
Variable containing lower limits on QP constraints.
Definition at line 268 of file export_gauss_newton_condensed.hpp.
|
private |
Definition at line 194 of file export_gauss_newton_condensed.hpp.
|
private |
Definition at line 193 of file export_gauss_newton_condensed.hpp.
|
private |
Definition at line 223 of file export_gauss_newton_condensed.hpp.
|
private |
Definition at line 224 of file export_gauss_newton_condensed.hpp.
|
private |
Definition at line 228 of file export_gauss_newton_condensed.hpp.
|
private |
Definition at line 203 of file export_gauss_newton_condensed.hpp.
|
private |
Definition at line 200 of file export_gauss_newton_condensed.hpp.
|
private |
Definition at line 221 of file export_gauss_newton_condensed.hpp.
|
private |
Definition at line 215 of file export_gauss_newton_condensed.hpp.
|
private |
Definition at line 212 of file export_gauss_newton_condensed.hpp.
|
private |
Definition at line 199 of file export_gauss_newton_condensed.hpp.
|
private |
Definition at line 202 of file export_gauss_newton_condensed.hpp.
|
private |
Definition at line 201 of file export_gauss_newton_condensed.hpp.
|
private |
Definition at line 226 of file export_gauss_newton_condensed.hpp.
|
private |
Definition at line 227 of file export_gauss_newton_condensed.hpp.
|
private |
Definition at line 208 of file export_gauss_newton_condensed.hpp.
|
private |
Definition at line 218 of file export_gauss_newton_condensed.hpp.
|
private |
Definition at line 216 of file export_gauss_newton_condensed.hpp.
|
private |
Definition at line 211 of file export_gauss_newton_condensed.hpp.
|
private |
Definition at line 213 of file export_gauss_newton_condensed.hpp.
|
private |
Definition at line 209 of file export_gauss_newton_condensed.hpp.
|
private |
Definition at line 219 of file export_gauss_newton_condensed.hpp.
|
private |
Definition at line 217 of file export_gauss_newton_condensed.hpp.
|
private |
Definition at line 210 of file export_gauss_newton_condensed.hpp.
|
private |
Definition at line 235 of file export_gauss_newton_condensed.hpp.
|
private |
Definition at line 236 of file export_gauss_newton_condensed.hpp.
|
private |
Definition at line 241 of file export_gauss_newton_condensed.hpp.
|
private |
Definition at line 185 of file export_gauss_newton_condensed.hpp.
|
private |
Definition at line 185 of file export_gauss_newton_condensed.hpp.
|
private |
Definition at line 185 of file export_gauss_newton_condensed.hpp.
|
private |
Definition at line 185 of file export_gauss_newton_condensed.hpp.
|
private |
Variable containing factorization of the QP Hessian matrix; R' * R = H.
Definition at line 258 of file export_gauss_newton_condensed.hpp.
|
private |
Definition at line 204 of file export_gauss_newton_condensed.hpp.
|
private |
Definition at line 205 of file export_gauss_newton_condensed.hpp.
|
private |
Definition at line 174 of file export_gauss_newton_condensed.hpp.
|
private |
Definition at line 176 of file export_gauss_newton_condensed.hpp.
|
private |
Definition at line 175 of file export_gauss_newton_condensed.hpp.
|
private |
Definition at line 249 of file export_gauss_newton_condensed.hpp.
|
private |
Definition at line 249 of file export_gauss_newton_condensed.hpp.
|
private |
Definition at line 249 of file export_gauss_newton_condensed.hpp.
|
private |
Definition at line 185 of file export_gauss_newton_condensed.hpp.
|
private |
Variable containing the upper limits on QP variables.
Definition at line 266 of file export_gauss_newton_condensed.hpp.
|
private |
Variable containing upper limits on QP constraints.
Definition at line 270 of file export_gauss_newton_condensed.hpp.
|
private |
Definition at line 194 of file export_gauss_newton_condensed.hpp.
|
private |
Definition at line 193 of file export_gauss_newton_condensed.hpp.
|
private |
Current state feedback.
Definition at line 167 of file export_gauss_newton_condensed.hpp.
|
private |
Definition at line 192 of file export_gauss_newton_condensed.hpp.
|
private |
Variable containing the primal QP variables.
Definition at line 272 of file export_gauss_newton_condensed.hpp.
|
private |
Variable containing the dual QP variables.
Definition at line 274 of file export_gauss_newton_condensed.hpp.
|
private |
Definition at line 220 of file export_gauss_newton_condensed.hpp.
|
private |
Definition at line 214 of file export_gauss_newton_condensed.hpp.
|
private |
Definition at line 206 of file export_gauss_newton_condensed.hpp.