34 #ifndef ACADO_TOOLKIT_BFGS_UPDATE_HPP 35 #define ACADO_TOOLKIT_BFGS_UPDATE_HPP 202 #include <acado/nlp_derivative_approximation/bfgs_update.ipp> 205 #endif // ACADO_TOOLKIT_BFGS_UPDATE_HPP
Data class for storing generic optimization variables.
virtual returnValue initScaling(BlockMatrix &B, const BlockMatrix &x, const BlockMatrix &y)
Implements a very rudimentary block sparse matrix class.
BFGSupdate & operator=(const BFGSupdate &rhs)
virtual NLPderivativeApproximation * clone() const
Allows to pass back messages to the calling function.
virtual returnValue apply(BlockMatrix &B, const BlockMatrix &x, const BlockMatrix &y)
BEGIN_NAMESPACE_ACADO typedef unsigned int uint
#define CLOSE_NAMESPACE_ACADO
returnValue setSubBlockLine(const int &N, const int &line1, const int &line2, const int &offset, BlockMatrix &M, const BlockMatrix &x)
Implements a constant Hessian as approximation of second-order derivatives within NLPsolvers...
virtual returnValue initHessian(BlockMatrix &B, uint N, const OCPiterate &iter)
Encapsulates all user interaction for setting options, logging data and plotting results.
returnValue setBFGSModification(const BFGSModificationType &modification_)
void rhs(const real_t *x, real_t *f)
Implements BFGS updates for approximating second-order derivatives within NLPsolvers.
#define BEGIN_NAMESPACE_ACADO
BFGSModificationType modification
BooleanType performsBlockUpdates() const
virtual returnValue applyUpdate(BlockMatrix &B, const BlockMatrix &x, const BlockMatrix &y)
virtual returnValue applyBlockDiagonalUpdate(BlockMatrix &B, const BlockMatrix &x, const BlockMatrix &y)
returnValue getSubBlockLine(const int &N, const int &line1, const int &line2, const int &offset, const BlockMatrix &M, BlockMatrix &x)
Base class for techniques of approximating second-order derivatives within NLPsolvers.