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>
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}
\]
◆ EiquadprogSolver()
wbc::EiquadprogSolver::EiquadprogSolver |
( |
| ) |
|
◆ ~EiquadprogSolver()
wbc::EiquadprogSolver::~EiquadprogSolver |
( |
| ) |
|
|
virtual |
◆ getMaxNIter()
uint wbc::EiquadprogSolver::getMaxNIter |
( |
| ) |
|
|
inline |
Get the maximum number of working set recalculations to be performed during the initial homotopy
◆ getNter()
int wbc::EiquadprogSolver::getNter |
( |
| ) |
|
|
inline |
Get number of working set recalculations actually performed
◆ setMaxNIter()
void wbc::EiquadprogSolver::setMaxNIter |
( |
const uint & | n | ) |
|
|
inline |
Set the maximum number of working set recalculations to be performed during the initial homotopy
◆ solve()
void wbc::EiquadprogSolver::solve |
( |
const wbc::HierarchicalQP & | hierarchical_qp, |
|
|
base::VectorXd & | solver_output ) |
|
virtual |
solve Solve the given quadratic program
- Parameters
-
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.
◆ _actual_n_iter
int wbc::EiquadprogSolver::_actual_n_iter |
|
protected |
◆ _ci0_vec
Eigen::VectorXd wbc::EiquadprogSolver::_ci0_vec |
|
protected |
◆ _CI_mtx
Eigen::MatrixXd wbc::EiquadprogSolver::_CI_mtx |
|
protected |
◆ _n_iter
int wbc::EiquadprogSolver::_n_iter |
|
protected |
◆ _solver
eiquadprog::solvers::EiquadprogFast wbc::EiquadprogSolver::_solver |
|
protected |
The documentation for this class was generated from the following files: