18 #ifndef __invdyn_solvers_hqp_base_hpp__ 19 #define __invdyn_solvers_hqp_base_hpp__ 36 EIGEN_MAKE_ALIGNED_OPERATOR_NEW
38 static std::string
const HQP_status_string[5];
47 virtual const std::string&
name()
const {
return m_name; }
49 virtual void resize(
unsigned int n,
unsigned int neq,
unsigned int nin) = 0;
56 virtual void retrieveQPData(
const HQPData& problemData,
57 const bool hessianRegularization) = 0;
60 virtual double getObjectiveValue() = 0;
66 m_useWarmStart = useWarmStart;
72 virtual bool setMaximumIterations(
unsigned int maxIter);
77 virtual bool setMaximumTime(
double seconds);
90 #endif // ifndef __invdyn_solvers_hqp_base_hpp__ virtual bool getUseWarmStart()
Eigen::Ref< Vector > RefVector
const Eigen::Ref< const Matrix > ConstRefMatrix
math::ConstRefMatrix ConstRefMatrix
class TSID_DLLAPI SolverHQPBase
virtual const std::string & name() const
math::RefVector RefVector
virtual double getMaximumTime()
const Eigen::Ref< const Vector > ConstRefVector
virtual unsigned int getMaximumIterations()
Mat & solve(const ModelTpl< Scalar, Options, JointCollectionTpl > &model, const DataTpl< Scalar, Options, JointCollectionTpl > &data, const Eigen::MatrixBase< Mat > &y)
math::ConstRefVector ConstRefVector
virtual void setUseWarmStart(bool useWarmStart)
Abstract interface for a Quadratic Program (HQP) solver.