An OCP solver based on the block N^2 condensing algorithm. More...
#include <export_gauss_newton_block_cn2.hpp>
Protected Member Functions | |
virtual returnValue | setupCondensing () |
virtual returnValue | setupConstraintsEvaluation (void) |
virtual returnValue | setupEvaluation ()=0 |
virtual returnValue | setupMultiplicationRoutines () |
virtual returnValue | setupQPInterface ()=0 |
virtual returnValue | setupVariables () |
Protected Member Functions inherited from ExportGaussNewtonCN2 | |
bool | performFullCondensing () const |
virtual returnValue | setupObjectiveEvaluation (void) |
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) |
An OCP solver based on the block N^2 condensing algorithm.
Definition at line 50 of file export_gauss_newton_block_cn2.hpp.
BEGIN_NAMESPACE_ACADO ExportGaussNewtonBlockCN2::ExportGaussNewtonBlockCN2 | ( | 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 38 of file export_gauss_newton_block_cn2.cpp.
|
inlinevirtual |
Destructor.
Definition at line 64 of file export_gauss_newton_block_cn2.hpp.
uint ExportGaussNewtonBlockCN2::getBlockSize | ( | ) | const |
Definition at line 1089 of file export_gauss_newton_block_cn2.cpp.
|
pure 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
Reimplemented from ExportGaussNewtonCN2.
Implemented in ExportGaussNewtonBlockForces, and ExportGaussNewtonBlockQpDunes.
|
virtual |
Adds all data declarations of the auto-generated condensing algorithm to given list of declarations.
[in] | declarations | List of declarations. |
Reimplemented from ExportGaussNewtonCN2.
Definition at line 103 of file export_gauss_newton_block_cn2.cpp.
|
virtual |
Adds all function (forward) declarations of the auto-generated condensing algorithm to given list of declarations.
[in] | declarations | List of declarations. |
Reimplemented from ExportGaussNewtonCN2.
Definition at line 125 of file export_gauss_newton_block_cn2.cpp.
uint ExportGaussNewtonBlockCN2::getNumberOfBlocks | ( | ) | const |
Definition at line 1097 of file export_gauss_newton_block_cn2.cpp.
uint ExportGaussNewtonBlockCN2::getNumBlockVariables | ( | ) | const |
Definition at line 1105 of file export_gauss_newton_block_cn2.cpp.
|
virtual |
Returns number of variables in underlying QP.
Implements ExportNLPSolver.
Definition at line 140 of file export_gauss_newton_block_cn2.cpp.
|
virtual |
Definition at line 1110 of file export_gauss_newton_block_cn2.cpp.
|
virtual |
Initializes export of an algorithm.
\return SUCCESSFUL_RETURN
Reimplemented from ExportGaussNewtonCN2.
Reimplemented in ExportGaussNewtonBlockForces, and ExportGaussNewtonBlockQpDunes.
Definition at line 43 of file export_gauss_newton_block_cn2.cpp.
|
protectedvirtual |
NEW CODE END
Reimplemented from ExportGaussNewtonCN2.
Reimplemented in ExportGaussNewtonBlockForces.
Definition at line 457 of file export_gauss_newton_block_cn2.cpp.
|
protectedvirtual |
Set-up evaluation of constraints
Reimplemented from ExportGaussNewtonCN2.
Reimplemented in ExportGaussNewtonBlockForces.
Definition at line 151 of file export_gauss_newton_block_cn2.cpp.
|
protectedpure virtual |
Exports source code containing the evaluation routines of the algorithm.
\return SUCCESSFUL_RETURN
Reimplemented from ExportGaussNewtonCN2.
Implemented in ExportGaussNewtonBlockForces, and ExportGaussNewtonBlockQpDunes.
|
protectedvirtual |
Exports source code containing the multiplication routines of the algorithm.
\return SUCCESSFUL_RETURN
Reimplemented from ExportGaussNewtonCN2.
Definition at line 1084 of file export_gauss_newton_block_cn2.cpp.
|
protectedpure virtual |
Reimplemented from ExportGaussNewtonCN2.
Implemented in ExportGaussNewtonBlockForces, and ExportGaussNewtonBlockQpDunes.
|
protectedvirtual |
Initialization of all member variables.
\return SUCCESSFUL_RETURN
Reimplemented from ExportGaussNewtonCN2.
Reimplemented in ExportGaussNewtonBlockForces.
Definition at line 1047 of file export_gauss_newton_block_cn2.cpp.
|
protected |
Definition at line 154 of file export_gauss_newton_block_cn2.hpp.
|
protected |
Definition at line 167 of file export_gauss_newton_block_cn2.hpp.
|
protected |
Definition at line 170 of file export_gauss_newton_block_cn2.hpp.
|
protected |
Definition at line 161 of file export_gauss_newton_block_cn2.hpp.
|
protected |
Definition at line 162 of file export_gauss_newton_block_cn2.hpp.
|
protected |
Definition at line 156 of file export_gauss_newton_block_cn2.hpp.
|
protected |
Definition at line 158 of file export_gauss_newton_block_cn2.hpp.
|
protected |
Definition at line 160 of file export_gauss_newton_block_cn2.hpp.
|
protected |
Definition at line 165 of file export_gauss_newton_block_cn2.hpp.
|
protected |
Definition at line 163 of file export_gauss_newton_block_cn2.hpp.
|
protected |
Definition at line 165 of file export_gauss_newton_block_cn2.hpp.
|
protected |
Definition at line 163 of file export_gauss_newton_block_cn2.hpp.
|
protected |
Definition at line 168 of file export_gauss_newton_block_cn2.hpp.