Public Member Functions | Protected Member Functions | List of all members

Base class for algorithms solving conic programs. More...

#include <dense_cp_solver.hpp>

Inheritance diagram for DenseCPsolver:
Inheritance graph
[legend]

Public Member Functions

virtual DenseCPsolverclone () const =0
 
 DenseCPsolver ()
 
 DenseCPsolver (UserInteraction *_userInteraction)
 
 DenseCPsolver (const DenseCPsolver &rhs)
 
virtual uint getNumberOfIterations () const =0
 
virtual returnValue getVarianceCovariance (DMatrix &var)=0
 
virtual returnValue getVarianceCovariance (DMatrix &H, DMatrix &var)=0
 
virtual returnValue init (const DenseCP *cp_)=0
 
DenseCPsolveroperator= (const DenseCPsolver &rhs)
 
virtual returnValue solve (DenseCP *cp_)=0
 
virtual ~DenseCPsolver ()
 
- Public Member Functions inherited from AlgorithmicBase
int addLogRecord (LogRecord &_record)
 
returnValue addOption (OptionsName name, int value)
 
returnValue addOption (OptionsName name, double value)
 
returnValue addOption (uint idx, OptionsName name, int value)
 
returnValue addOption (uint idx, OptionsName name, double value)
 
returnValue addOptionsList ()
 
 AlgorithmicBase ()
 
 AlgorithmicBase (UserInteraction *_userInteraction)
 
 AlgorithmicBase (const AlgorithmicBase &rhs)
 
returnValue get (OptionsName name, int &value) const
 
returnValue get (OptionsName name, double &value) const
 
returnValue get (OptionsName name, std::string &value) const
 
returnValue get (uint idx, OptionsName name, int &value) const
 
returnValue get (uint idx, OptionsName name, double &value) const
 
returnValue getAll (LogName _name, MatrixVariablesGrid &values) const
 
returnValue getFirst (LogName _name, DMatrix &firstValue) const
 
returnValue getFirst (LogName _name, VariablesGrid &firstValue) const
 
returnValue getLast (LogName _name, DMatrix &lastValue) const
 
returnValue getLast (LogName _name, VariablesGrid &lastValue) const
 
Options getOptions (uint idx) const
 
BooleanType haveOptionsChanged () const
 
BooleanType haveOptionsChanged (uint idx) const
 
AlgorithmicBaseoperator= (const AlgorithmicBase &rhs)
 
returnValue plot (PlotFrequency _frequency=PLOT_IN_ANY_CASE)
 
returnValue printLogRecord (std::ostream &_stream, int idx, LogPrintMode _mode=PRINT_ITEM_BY_ITEM) const
 
returnValue replot (PlotFrequency _frequency=PLOT_IN_ANY_CASE)
 
returnValue set (OptionsName name, int value)
 
returnValue set (OptionsName name, double value)
 
returnValue set (OptionsName name, const std::string &value)
 
returnValue set (uint idx, OptionsName name, int value)
 
returnValue set (uint idx, OptionsName name, double value)
 
returnValue setAll (LogName _name, const MatrixVariablesGrid &values)
 
returnValue setLast (LogName _name, int lastValue, double time=-INFTY)
 
returnValue setLast (LogName _name, double lastValue, double time=-INFTY)
 
returnValue setLast (LogName _name, const DVector &lastValue, double time=-INFTY)
 
returnValue setLast (LogName _name, const DMatrix &lastValue, double time=-INFTY)
 
returnValue setLast (LogName _name, const VariablesGrid &lastValue, double time=-INFTY)
 
returnValue setOptions (const Options &arg)
 
returnValue setOptions (uint idx, const Options &arg)
 
virtual ~AlgorithmicBase ()
 

Protected Member Functions

virtual returnValue setupLogging ()
 
virtual returnValue setupOptions ()
 

Additional Inherited Members

- Protected Attributes inherited from AlgorithmicBase
int outputLoggingIdx
 
BooleanType useModuleStandalone
 
UserInteractionuserInteraction
 

Detailed Description

Base class for algorithms solving conic programs.

The class Dense CP Solver is a base class for all conic solvers that are able to solve conic problems.

Author
Boris Houska, Hans Joachim Ferreau

Definition at line 58 of file dense_cp_solver.hpp.

Constructor & Destructor Documentation

BEGIN_NAMESPACE_ACADO DenseCPsolver::DenseCPsolver ( )

Default constructor.

Definition at line 43 of file dense_cp_solver.cpp.

DenseCPsolver::DenseCPsolver ( UserInteraction _userInteraction)

Definition at line 50 of file dense_cp_solver.cpp.

DenseCPsolver::DenseCPsolver ( const DenseCPsolver rhs)

Copy constructor (deep copy).

Definition at line 61 of file dense_cp_solver.cpp.

DenseCPsolver::~DenseCPsolver ( )
virtual

Destructor.

Definition at line 66 of file dense_cp_solver.cpp.

Member Function Documentation

virtual DenseCPsolver* DenseCPsolver::clone ( ) const
pure virtual

Implemented in QPsolver_qpOASES, and DenseQPsolver.

virtual uint DenseCPsolver::getNumberOfIterations ( ) const
pure virtual

Returns number of iterations performed at last QP solution.

Returns
Number of iterations performed at last QP solution

Implemented in DenseQPsolver.

virtual returnValue DenseCPsolver::getVarianceCovariance ( DMatrix var)
pure virtual

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

Returns
SUCCESSFUL_RETURN RET_MEMBER_NOT_INITIALISED

Implemented in DenseQPsolver, and QPsolver_qpOASES.

virtual returnValue DenseCPsolver::getVarianceCovariance ( DMatrix H,
DMatrix var 
)
pure virtual

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

Returns
SUCCESSFUL_RETURN RET_MEMBER_NOT_INITIALISED

Implemented in DenseQPsolver, and QPsolver_qpOASES.

virtual returnValue DenseCPsolver::init ( const DenseCP cp_)
pure virtual

initializes the dense conic solver

Implemented in DenseQPsolver.

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

Assignment operator (deep copy).

Definition at line 72 of file dense_cp_solver.cpp.

returnValue DenseCPsolver::setupLogging ( )
protectedvirtual

Reimplemented in DenseQPsolver.

Definition at line 93 of file dense_cp_solver.cpp.

returnValue DenseCPsolver::setupOptions ( )
protectedvirtual

Definition at line 87 of file dense_cp_solver.cpp.

virtual returnValue DenseCPsolver::solve ( DenseCP cp_)
pure virtual

Solves the CP

Implemented in DenseQPsolver, and QPsolver_qpOASES.


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


acado
Author(s): Milan Vukov, Rien Quirynen
autogenerated on Mon Jun 10 2019 12:35:23