wbc
|
The EiquadprogSolver class is a wrapper for the qp-solver eiquadprog (see https://github.com/stack-of-tasks/eiquadprog). It solves problems of shape: More...
#include <EiquadprogSolver.hpp>
Public Member Functions | |
EiquadprogSolver () | |
virtual | ~EiquadprogSolver () |
virtual void | solve (const wbc::HierarchicalQP &hierarchical_qp, Eigen::VectorXd &solver_output, bool allow_warm_start=true) |
solve Solve the given quadratic program | |
void | setMaxNIter (const uint &n) |
uint | getMaxNIter () |
int | getNter () |
![]() | |
QPSolver () | |
virtual | ~QPSolver () |
void | reset () |
reset Enforces reconfiguration at next call to solve() | |
Protected Attributes | |
eiquadprog::solvers::EiquadprogFast | _solver |
int | _n_iter |
int | _actual_n_iter |
Eigen::MatrixXd | _CI_mtx |
Eigen::VectorXd | _ci0_vec |
![]() | |
bool | configured |
The EiquadprogSolver class is a wrapper for the qp-solver eiquadprog (see https://github.com/stack-of-tasks/eiquadprog). It solves problems of shape:
\[ \begin{array}{ccc} min(\mathbf{x}) & \frac{1}{2} \mathbf{x}^T\mathbf{G}\mathbf{x}+\mathbf{x}^T\mathbf{g0}& \\ & & \\ s.t. & \mathbf{CE}x + ce0 = 0& \\ & \mathbf{CI}x + ci0 \geq 0& \\ \end{array} \]
The implements the algorithm of Goldfarb and Idnani for the solution of a (convex) Quadratic Programming problem: D. Goldfarb, A. Idnani. A numerically stable dual method for solving strictly convex quadratic programs. Mathematical Programming 27 (1983) pp. 1-33.
Solver parameters
wbc::EiquadprogSolver::EiquadprogSolver | ( | ) |
|
virtual |
|
inline |
Get the maximum number of working set recalculations to be performed during the initial homotopy
|
inline |
Get number of working set recalculations actually performed
|
inline |
Set the maximum number of working set recalculations to be performed during the initial homotopy
|
virtual |
solve Solve the given quadratic program
constraints | Description of the hierarchical quadratic program to solve. Each vector entry correspond to a stage in the hierarchy where the first entry has the highest priority. Currently only one priority level is implemented. |
solver_output | solution of the quadratic program |
Implements wbc::QPSolver.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |