|
wbc
|
#include <QPSwiftSolver.hpp>
Public Member Functions | |
| QPSwiftSolver () | |
| ~QPSwiftSolver () | |
| virtual void | solve (const wbc::HierarchicalQP &hierarchical_qp, Eigen::VectorXd &solver_output, bool allow_warm_start=true) |
| solve Solve the given quadratic program | |
Public Member Functions inherited from wbc::QPSolver | |
| QPSolver () | |
| virtual | ~QPSolver () |
| void | reset () |
| reset Enforces reconfiguration at next call to solve() | |
Public Attributes | |
| settings | options |
Protected Member Functions | |
| void | toQpSwift (const QuadraticProgram &qp) |
| void | setOptions (settings opt) |
Protected Attributes | |
| Eigen::MatrixXd | P |
| Eigen::VectorXd | c |
| Eigen::MatrixXd | A |
| Eigen::MatrixXd | G |
| Eigen::VectorXd | b |
| Eigen::VectorXd | h |
| int | n_dec |
| int | n_ineq |
| int | n_eq |
| int | n_bounds |
| QP * | my_qp |
Protected Attributes inherited from wbc::QPSolver | |
| bool | configured |
The QPSwiftSolver solves a quadratic problem of type
Reference: Pandala, Abhishek Goud and Ding, Yanran and Park, Hae-Won. QpSWIFT: A Real-Time Sparse Quadratic Program Solver for Robotic Applications, IEEE Robotics and Automation Letters, 2019
Parameters:
| wbc::QPSwiftSolver::QPSwiftSolver | ( | ) |
| wbc::QPSwiftSolver::~QPSwiftSolver | ( | ) |
|
inlineprotected |
|
virtual |
solve Solve the given quadratic program
| hierarchical_qp | Description of the hierarchical quadratic program to solve. |
| solver_output | solution of the quadratic program |
Implements wbc::QPSolver.
|
protected |
|
protected |
Cost function gradient
|
protected |
Inequality constraint matrix
|
protected |
Cost function Hessian matrix
|
protected |
Equality constraint matrix
|
protected |
Equality constraint vector
|
protected |
Number of lower/upper bounds on the decision variables
|
protected |
Number equality constraints
|
protected |
Inequality constraint vector
|
protected |
Number inequality constraints
|
protected |
Number decision variables
| settings wbc::QPSwiftSolver::options |
|
protected |