1#ifndef WBC_OSQP_SOLVER_HPP
2#define WBC_OSQP_SOLVER_HPP
5#include <OsqpEigen/Solver.hpp>
33 case OsqpEigen::ErrorExitFlag::DataValidationError:
return "DataValidationError";
34 case OsqpEigen::ErrorExitFlag::SettingsValidationError:
return "SettingsValidationError";
35 case OsqpEigen::ErrorExitFlag::LinsysSolverLoadError:
return "LinsysSolverLoadError";
36 case OsqpEigen::ErrorExitFlag::LinsysSolverInitError:
return "LinsysSolverInitError";
37 case OsqpEigen::ErrorExitFlag::NonCvxError:
return "NonCvxError";
38 case OsqpEigen::ErrorExitFlag::MemAllocError:
return "MemAllocError";
39 case OsqpEigen::ErrorExitFlag::WorkspaceNotInitError:
return "WorkspaceNotInitError";
40 default:
return "NoError";
Definition OsqpSolver.hpp:11
OsqpSolver()
Definition OsqpSolver.cpp:6
virtual void solve(const HierarchicalQP &hierarchical_qp, base::VectorXd &solver_output)
solve Solve the given quadratic program
Definition OsqpSolver.cpp:12
void resetData(uint nq, uint nc)
Eigen::VectorXd upper_bound
Definition OsqpSolver.hpp:28
std::string exitFlagToString(OsqpEigen::ErrorExitFlag flag)
Definition OsqpSolver.hpp:31
Eigen::MatrixXd constraint_mat_dense
Definition OsqpSolver.hpp:24
Eigen::VectorXd gradient
Definition OsqpSolver.hpp:26
Eigen::MatrixXd hessian_dense
Definition OsqpSolver.hpp:22
OsqpEigen::Solver solver
Definition OsqpSolver.hpp:20
~OsqpSolver()
Definition OsqpSolver.cpp:9
Eigen::SparseMatrix< double > hessian_sparse
Definition OsqpSolver.hpp:23
bool configured
Definition OsqpSolver.hpp:19
Eigen::SparseMatrix< double > constraint_mat_sparse
Definition OsqpSolver.hpp:25
Eigen::VectorXd lower_bound
Definition OsqpSolver.hpp:27
Definition QPSolver.hpp:14
Definition ContactsAccelerationConstraint.cpp:3
Describes a hierarchy of quadratic programs.
Definition QuadraticProgram.hpp:57