34 #ifndef ACADO_TOOLKIT_CONDENSING_BASED_CP_SOLVER_HPP 35 #define ACADO_TOOLKIT_CONDENSING_BASED_CP_SOLVER_HPP 284 #include <acado/conic_solver/condensing_based_cp_solver.ipp> 287 #endif // ACADO_TOOLKIT_CONDENSING_BASED_CP_SOLVER_HPP
Data class for storing generic optimization variables.
Implements a very rudimentary block sparse matrix class.
returnValue projectHessian(DMatrix &H_, double dampingFactor)
virtual returnValue initializeCPsolver(InfeasibleQPhandling infeasibleQPhandling)
DenseQPsolver * cpSolverRelaxed
virtual returnValue finalizeSolve(BandedCP &cp)
returnValue generateObjectiveGradient()
virtual returnValue getFirstControl(DVector &u0_) const
BooleanType areRealTimeParametersDefined() const
virtual returnValue unfreezeCondensing()
returnValue expand(BandedCP &cp)
Allows to pass back messages to the calling function.
returnValue generateHessianBlockLine(uint nn, uint rowOffset, uint &rowOffset1)
CondensingBasedCPsolver()
BEGIN_NAMESPACE_ACADO typedef unsigned int uint
virtual returnValue setupRelaxedQPdata(InfeasibleQPhandling infeasibleQPhandling, DenseCP &_denseCPrelaxed) const
virtual returnValue freezeCondensing()
Base class for algorithms solving banded conic programs arising in optimal control.
returnValue computeCondensingOperator(BandedCP &cp)
virtual returnValue solveQP(uint maxIter, InfeasibleQPhandling infeasibleQPhandling=IQH_UNDEFINED)
#define CLOSE_NAMESPACE_ACADO
returnValue generateConstraintBlockLine(uint nn, uint rowOffset, uint &rowOffset1)
returnValue generateStateBoundVectors(uint nn, uint rowOffset, uint &rowOffset1)
virtual BandedCPsolver * clone() const
Abstract base class for algorithms solving quadratic programs.
uint getNumPoints() const
static const DVector emptyConstVector
Data class for storing generic conic programs.
CondensingBasedCPsolver & operator=(const CondensingBasedCPsolver &rhs)
virtual returnValue getVarianceCovariance(DMatrix &var)
virtual returnValue prepareSolve(BandedCP &cp)
virtual returnValue getParameters(DVector &p_) const
Encapsulates all user interaction for setting options, logging data and plotting results.
virtual returnValue solve(BandedCP &cp)
returnValue generateStateBoundBlockLine(uint nn, uint rowOffset, uint &rowOffset1)
void rhs(const real_t *x, real_t *f)
CondensingStatus condensingStatus
virtual returnValue setRealTimeParameters(const DVector &DeltaX, const DVector &DeltaP=emptyConstVector)
returnValue generateConstraintVectors(uint nn, uint rowOffset, uint &rowOffset1)
virtual returnValue setupRelaxedQPdataL2(DenseCP &_denseCPrelaxed) const
returnValue generateBoundVectors()
returnValue initializeCondensingOperator()
#define BEGIN_NAMESPACE_ACADO
virtual ~CondensingBasedCPsolver()
returnValue condense(BandedCP &cp)
virtual returnValue solveCPsubproblem()
Solves banded conic programs arising in optimal control using condensing.
virtual returnValue init(const OCPiterate &iter_)
virtual returnValue setupRelaxedQPdataL1(DenseCP &_denseCPrelaxed) const
Base class for algorithms solving conic programs.
Data class for storing conic programs arising from optimal control.