A class for export of an OCP solver using sparse QP solver FORCES. More...
#include <export_gauss_newton_forces.hpp>
A class for export of an OCP solver using sparse QP solver FORCES.
The class ExportGaussNewtonForces allows export of and OCP solver using the generalized Gauss-Newton method. The underlying QP is solved using the structured sparse QP solver FORCES.
Definition at line 53 of file export_gauss_newton_forces.hpp.
ExportGaussNewtonForces::ExportGaussNewtonForces | ( | 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 44 of file export_gauss_newton_forces.cpp.
virtual ExportGaussNewtonForces::~ExportGaussNewtonForces | ( | ) | [inline, virtual] |
Destructor.
Definition at line 68 of file export_gauss_newton_forces.hpp.
returnValue ExportGaussNewtonForces::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 114 of file export_gauss_newton_forces.cpp.
returnValue ExportGaussNewtonForces::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 78 of file export_gauss_newton_forces.cpp.
returnValue ExportGaussNewtonForces::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 95 of file export_gauss_newton_forces.cpp.
unsigned ExportGaussNewtonForces::getNumQPvars | ( | ) | const [virtual] |
Returns number of variables in underlying QP.
Implements ExportNLPSolver.
Definition at line 166 of file export_gauss_newton_forces.cpp.
returnValue ExportGaussNewtonForces::setup | ( | ) | [virtual] |
Initializes export of an algorithm.
Implements ExportNLPSolver.
Definition at line 53 of file export_gauss_newton_forces.cpp.
returnValue ExportGaussNewtonForces::setupConstraintsEvaluation | ( | void | ) | [protected, virtual] |
Set-up evaluation of constraints
Implements ExportNLPSolver.
Definition at line 579 of file export_gauss_newton_forces.cpp.
returnValue ExportGaussNewtonForces::setupEvaluation | ( | ) | [protected, virtual] |
Exports source code containing the evaluation routines of the algorithm.
Implements ExportNLPSolver.
Definition at line 838 of file export_gauss_newton_forces.cpp.
returnValue ExportGaussNewtonForces::setupMultiplicationRoutines | ( | ) | [protected, virtual] |
Exports source code containing the multiplication routines of the algorithm.
Implements ExportNLPSolver.
Definition at line 833 of file export_gauss_newton_forces.cpp.
returnValue ExportGaussNewtonForces::setupObjectiveEvaluation | ( | void | ) | [protected, virtual] |
Setting up of an objective evaluation:
Definition at line 175 of file export_gauss_newton_forces.cpp.
returnValue ExportGaussNewtonForces::setupQPInterface | ( | ) | [protected, virtual] |
Definition at line 990 of file export_gauss_newton_forces.cpp.
returnValue ExportGaussNewtonForces::setupVariables | ( | ) | [protected, virtual] |
Initialization of all member variables.
Implements ExportNLPSolver.
Definition at line 822 of file export_gauss_newton_forces.cpp.
ExportFunction ExportGaussNewtonForces::acc [private] |
Definition at line 203 of file export_gauss_newton_forces.hpp.
std::vector< ExportVariable > ExportGaussNewtonForces::conC [private] |
Definition at line 188 of file export_gauss_newton_forces.hpp.
std::vector< ExportVariable > ExportGaussNewtonForces::cond [private] |
Definition at line 189 of file export_gauss_newton_forces.hpp.
std::vector< ExportVariable > ExportGaussNewtonForces::conLB [private] |
Definition at line 177 of file export_gauss_newton_forces.hpp.
std::vector< std::vector< unsigned > > ExportGaussNewtonForces::conLBIndices [private] |
Definition at line 181 of file export_gauss_newton_forces.hpp.
std::vector< std::vector< double > > ExportGaussNewtonForces::conLBValues [private] |
Definition at line 182 of file export_gauss_newton_forces.hpp.
Definition at line 190 of file export_gauss_newton_forces.hpp.
Definition at line 185 of file export_gauss_newton_forces.hpp.
Definition at line 186 of file export_gauss_newton_forces.hpp.
std::vector< ExportVariable > ExportGaussNewtonForces::conUB [private] |
Definition at line 178 of file export_gauss_newton_forces.hpp.
std::vector< std::vector< unsigned > > ExportGaussNewtonForces::conUBIndices [private] |
Definition at line 181 of file export_gauss_newton_forces.hpp.
std::vector< std::vector< double > > ExportGaussNewtonForces::conUBValues [private] |
Definition at line 182 of file export_gauss_newton_forces.hpp.
bool ExportGaussNewtonForces::diagH [private] |
Definition at line 171 of file export_gauss_newton_forces.hpp.
bool ExportGaussNewtonForces::diagHN [private] |
Definition at line 172 of file export_gauss_newton_forces.hpp.
Definition at line 184 of file export_gauss_newton_forces.hpp.
Definition at line 159 of file export_gauss_newton_forces.hpp.
Definition at line 196 of file export_gauss_newton_forces.hpp.
Definition at line 198 of file export_gauss_newton_forces.hpp.
Definition at line 179 of file export_gauss_newton_forces.hpp.
std::vector< ExportVariable > ExportGaussNewtonForces::objGradients [private] |
Definition at line 162 of file export_gauss_newton_forces.hpp.
std::vector< ExportVariable > ExportGaussNewtonForces::objHessians [private] |
Definition at line 161 of file export_gauss_newton_forces.hpp.
Definition at line 195 of file export_gauss_newton_forces.hpp.
std::tr1::shared_ptr< ExportForcesGenerator > ExportGaussNewtonForces::qpGenerator [private] |
Definition at line 212 of file export_gauss_newton_forces.hpp.
std::tr1::shared_ptr< ExportForcesInterface > ExportGaussNewtonForces::qpInterface [private] |
Definition at line 211 of file export_gauss_newton_forces.hpp.
std::string ExportGaussNewtonForces::qpModuleName [private] |
Definition at line 208 of file export_gauss_newton_forces.hpp.
std::string ExportGaussNewtonForces::qpObjPrefix [private] |
Definition at line 209 of file export_gauss_newton_forces.hpp.
Definition at line 167 of file export_gauss_newton_forces.hpp.
Definition at line 169 of file export_gauss_newton_forces.hpp.
Definition at line 168 of file export_gauss_newton_forces.hpp.
Definition at line 165 of file export_gauss_newton_forces.hpp.
Definition at line 164 of file export_gauss_newton_forces.hpp.
Definition at line 179 of file export_gauss_newton_forces.hpp.
ExportVariable ExportGaussNewtonForces::x0 [private] |
Current state feedback.
Definition at line 155 of file export_gauss_newton_forces.hpp.