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) 34using namespace proxsuite;
35using namespace proxsuite::proxqp;
44 EIGEN_MAKE_ALIGNED_OPERATOR_NEW
54 void resize(
unsigned int n,
unsigned int neq,
unsigned int nin)
override;
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
SolverHQPBase(const std::string &name)
Definition solver-HQP-base.cpp:16
virtual const std::string & name() const
Definition solver-HQP-base.hpp:47
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
SolverProxQP(const std::string &name)
Definition solver-proxqp.cpp:13
void resize(unsigned int n, unsigned int neq, unsigned int nin) override
Definition solver-proxqp.cpp:33
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
void retrieveQPData(const HQPData &problemData, const bool hessianRegularization=false) override
Definition solver-proxqp.cpp:83
double m_epsRel
Definition solver-proxqp.hpp:98
const Eigen::Ref< const Matrix > ConstRefMatrix
Definition fwd.hpp:38
const Eigen::Ref< const Vector > ConstRefVector
Definition fwd.hpp:35
Eigen::Matrix< Scalar, Eigen::Dynamic, 1 > Vector
Definition fwd.hpp:22
Eigen::Ref< Vector > RefVector
Definition fwd.hpp:34
Eigen::Matrix< Scalar, Eigen::Dynamic, Eigen::Dynamic > Matrix
Definition fwd.hpp:23
QPDataTpl< double > QPData
Definition fwd.hpp:102
pinocchio::container::aligned_vector< ConstraintLevel > HQPData
Definition fwd.hpp:99
Definition constraint-bound.hpp:25
Definition solver-qpData.hpp:23