ACADO Toolkit
1.2.0beta
Toolkit for Automatic Control and Dynamic Optimization
|
Data class for storing conic programs arising from optimal control. More...
#include <banded_cp.hpp>
Public Member Functions | |
BandedCP () | |
Default constructor. | |
BandedCP (const BandedCP &rhs) | |
Copy constructor (deep copy). | |
virtual | ~BandedCP () |
Destructor. | |
BandedCP & | operator= (const BandedCP &rhs) |
Assignment operator (deep copy). | |
BooleanType | isLP () const |
Returns whether or not the conic program is an LP. | |
BooleanType | isQP () const |
Returns whether or not the conic program is an LP. | |
BooleanType | isSDP () const |
Returns whether or not the conic program is an SDP. | |
Public Attributes | |
int | nS |
Number of SDP constraints. | |
BlockMatrix | hessian |
the Hessian matrix | |
BlockMatrix | objectiveGradient |
the gradient of the objective | |
BlockMatrix | lowerBoundResiduum |
lower residuum of the bounds | |
BlockMatrix | upperBoundResiduum |
upper residuum of the bounds | |
BlockMatrix | dynGradient |
the sensitivities of the ODE/DAE | |
BlockMatrix | dynResiduum |
residuum of the ODE/DAE | |
BlockMatrix | constraintGradient |
the gradient of the constraints | |
BlockMatrix | lowerConstraintResiduum |
lower residuum of the constraints | |
BlockMatrix | upperConstraintResiduum |
upper residuum of the constraints | |
BlockMatrix ** | B |
SDP constraint tensor. | |
BlockMatrix * | lbB |
SDP lower bounds. | |
BlockMatrix * | ubB |
SDP upper bounds. | |
BlockMatrix | deltaX |
Primal solution of the banded QP. | |
BlockMatrix | lambdaBound |
Dual solution w.r.t. | |
BlockMatrix | lambdaDynamic |
Dual solution w.r.t. | |
BlockMatrix | lambdaConstraint |
Dual solution w.r.t. | |
BlockMatrix ** | ylbB |
Dual solution, SDB lower bound. | |
BlockMatrix ** | yubB |
Dual solution, SDP upper bound. | |
Protected Member Functions | |
void | copy (const BandedCP &rhs) |
void | clean () |
The class BandedCP (banded conic programs) is a data class to store conic programs that arise in the context of optimal control.
BandedCP::BandedCP | ( | const BandedCP & | rhs | ) |
References copy().
BandedCP::~BandedCP | ( | ) | [virtual] |
References clean().
void BandedCP::clean | ( | ) | [protected] |
Referenced by operator=(), and ~BandedCP().
void BandedCP::copy | ( | const BandedCP & | rhs | ) | [protected] |
References constraintGradient, deltaX, dynGradient, dynResiduum, hessian, lambdaBound, lambdaConstraint, lambdaDynamic, lowerBoundResiduum, lowerConstraintResiduum, objectiveGradient, upperBoundResiduum, and upperConstraintResiduum.
Referenced by BandedCP(), and operator=().
BEGIN_NAMESPACE_ACADO BooleanType BandedCP::isLP | ( | ) | const [inline] |
References BT_FALSE, BT_TRUE, hessian, BlockMatrix::isEmpty(), and isQP().
BooleanType BandedCP::isQP | ( | ) | const [inline] |
BooleanType BandedCP::isSDP | ( | ) | const [inline] |
Referenced by BandedCP().
Referenced by BandedCP().
int BandedCP::nS |
Referenced by BandedCP(), and isQP().
Referenced by BandedCP().
Referenced by BandedCP().
Referenced by BandedCP().