Public Member Functions | Protected Member Functions

Base class for algorithms solving banded conic programs arising in optimal control. More...

#include <banded_cp_solver.hpp>

Inheritance diagram for BandedCPsolver:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 BandedCPsolver ()
 BandedCPsolver (UserInteraction *_userInteraction)
 BandedCPsolver (const BandedCPsolver &rhs)
virtual BandedCPsolverclone () const =0
virtual returnValue finalizeSolve (BandedCP &cp)
virtual returnValue freezeCondensing ()
virtual returnValue getFirstControl (DVector &u0_) const =0
virtual returnValue getParameters (DVector &p_) const =0
virtual returnValue getVarianceCovariance (DMatrix &var)
virtual returnValue init (const OCPiterate &iter_)=0
BandedCPsolveroperator= (const BandedCPsolver &rhs)
virtual returnValue prepareSolve (BandedCP &cp)
virtual returnValue setRealTimeParameters (const DVector &DeltaX, const DVector &DeltaP=emptyConstVector)
virtual returnValue solve (BandedCP &cp)=0
virtual returnValue unfreezeCondensing ()
virtual ~BandedCPsolver ()

Protected Member Functions

virtual returnValue setupLogging ()
virtual returnValue setupOptions ()

Detailed Description

Base class for algorithms solving banded conic programs arising in optimal control.

The class Banded CP Solver is a base class for all conic solvers that are able to deal with the specific band structure that arises in the optimal control context.

Author:
Boris Houska, Hans Joachim Ferreau

Definition at line 63 of file banded_cp_solver.hpp.


Constructor & Destructor Documentation

Default constructor.

Definition at line 43 of file banded_cp_solver.cpp.

Definition at line 50 of file banded_cp_solver.cpp.

Copy constructor (deep copy).

Definition at line 61 of file banded_cp_solver.cpp.

Destructor.

Definition at line 66 of file banded_cp_solver.cpp.


Member Function Documentation

virtual BandedCPsolver* BandedCPsolver::clone ( ) const [pure virtual]

Assignment operator (deep copy).

Implemented in CondensingBasedCPsolver.

Solves a given banded conic program

Reimplemented in CondensingBasedCPsolver.

Definition at line 90 of file banded_cp_solver.cpp.

Reimplemented in CondensingBasedCPsolver.

Definition at line 114 of file banded_cp_solver.cpp.

virtual returnValue BandedCPsolver::getFirstControl ( DVector u0_) const [pure virtual]

Implemented in CondensingBasedCPsolver.

virtual returnValue BandedCPsolver::getParameters ( DVector p_) const [pure virtual]

Implemented in CondensingBasedCPsolver.

Returns a variance-covariance estimate if possible or an error message otherwise.

Returns:
SUCCESSFUL_RETURN RET_MEMBER_NOT_INITIALISED

Reimplemented in CondensingBasedCPsolver.

Definition at line 98 of file banded_cp_solver.cpp.

virtual returnValue BandedCPsolver::init ( const OCPiterate iter_) [pure virtual]

Initializes the banded conic solver

Implemented in CondensingBasedCPsolver.

BandedCPsolver & BandedCPsolver::operator= ( const BandedCPsolver rhs)

Assignment operator (deep copy).

Definition at line 71 of file banded_cp_solver.cpp.

Solves a given banded conic program

Reimplemented in CondensingBasedCPsolver.

Definition at line 83 of file banded_cp_solver.cpp.

returnValue BandedCPsolver::setRealTimeParameters ( const DVector DeltaX,
const DVector DeltaP = emptyConstVector 
) [virtual]

Reimplemented in CondensingBasedCPsolver.

Definition at line 105 of file banded_cp_solver.cpp.

returnValue BandedCPsolver::setupLogging ( ) [protected, virtual]

Definition at line 143 of file banded_cp_solver.cpp.

returnValue BandedCPsolver::setupOptions ( ) [protected, virtual]

Definition at line 131 of file banded_cp_solver.cpp.

virtual returnValue BandedCPsolver::solve ( BandedCP cp) [pure virtual]

Solves a given banded conic program in feedback mode:

Parameters:
cpthe banded conic program to be solved
DeltaXdifference between state estimate and previous prediction
DeltaPdifference between current and previous parameter value

Returns:
SUCCESSFUL_RETURN (if successful)
or a specific error message from the dense CP solver.

Implemented in CondensingBasedCPsolver.

Reimplemented in CondensingBasedCPsolver.

Definition at line 120 of file banded_cp_solver.cpp.


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


acado
Author(s): Milan Vukov, Rien Quirynen
autogenerated on Sat Jun 8 2019 19:40:23