18 #ifndef __solvers_proxqp_hpp__
19 #define __solvers_proxqp_hpp__
22 #include <proxsuite/proxqp/dense/dense.hpp>
23 #include <proxsuite/proxqp/sparse/sparse.hpp>
24 #include <proxsuite/proxqp/results.hpp>
27 #define START_PROFILER_PROXQP(x) START_PROFILER(x)
28 #define STOP_PROFILER_PROXQP(x) STOP_PROFILER(x)
30 #define START_PROFILER_PROXQP(x)
31 #define STOP_PROFILER_PROXQP(x)
34 using namespace proxsuite;
35 using namespace proxsuite::proxqp;
44 EIGEN_MAKE_ALIGNED_OPERATOR_NEW
54 void resize(
unsigned int n,
unsigned int neq,
unsigned int nin)
override;
57 void retrieveQPData(
const HQPData& problemData,
58 const bool hessianRegularization =
false)
override;
68 double getObjectiveValue()
override;
71 bool setMaximumIterations(
unsigned int maxIter)
override;
73 void setMuInequality(
double muIn);
74 void setMuEquality(
double muEq);
75 void setRho(
double rho);
76 void setEpsilonAbsolute(
double epsAbs);
77 void setEpsilonRelative(
double epsRel);
78 void setVerbose(
bool isVerbose =
false);
81 void sendMsg(
const std::string& s);
Definition: solver-HQP-output.hpp:29
Abstract interface for a Quadratic Program (HQP) solver.
Definition: solver-HQP-base.hpp:34
Definition: solver-proxqp.hpp:42
math::ConstRefVector ConstRefVector
Definition: solver-proxqp.hpp:49
double m_muEq
Definition: solver-proxqp.hpp:96
double m_muIn
Definition: solver-proxqp.hpp:95
bool m_isVerbose
Definition: solver-proxqp.hpp:99
double m_rho
Definition: solver-proxqp.hpp:94
dense::QP< double > m_solver
Definition: solver-proxqp.hpp:86
math::RefVector RefVector
Definition: solver-proxqp.hpp:48
math::ConstRefMatrix ConstRefMatrix
Definition: solver-proxqp.hpp:50
QPDataTpl< double > m_qpData
number of variables
Definition: solver-proxqp.hpp:92
EIGEN_MAKE_ALIGNED_OPERATOR_NEW typedef math::Matrix Matrix
Definition: solver-proxqp.hpp:46
double m_objValue
Definition: solver-proxqp.hpp:83
unsigned int m_n
number of inequality constraints
Definition: solver-proxqp.hpp:90
const QPData getQPData() const
Definition: solver-proxqp.hpp:61
unsigned int m_neq
Definition: solver-proxqp.hpp:88
double m_epsAbs
Definition: solver-proxqp.hpp:97
math::Vector Vector
Definition: solver-proxqp.hpp:47
double m_hessian_regularization
Definition: solver-proxqp.hpp:84
unsigned int m_nin
number of equality constraints
Definition: solver-proxqp.hpp:89
double m_epsRel
Definition: solver-proxqp.hpp:98
#define TSID_DLLAPI
Definition: config.hh:88
const Eigen::Ref< const Matrix > ConstRefMatrix
Definition: fwd.hpp:51
const Eigen::Ref< const Vector > ConstRefVector
Definition: fwd.hpp:48
Eigen::Matrix< Scalar, Eigen::Dynamic, 1 > Vector
Definition: fwd.hpp:35
Eigen::Ref< Vector > RefVector
Definition: fwd.hpp:47
Eigen::Matrix< Scalar, Eigen::Dynamic, Eigen::Dynamic > Matrix
Definition: fwd.hpp:36
pinocchio::container::aligned_vector< ConstraintLevel > HQPData
Definition: fwd.hpp:99
Definition: constraint-bound.hpp:25