38 for (
auto factor : qp.
cost) {
42 return no_constant_factor;
Active set method for solving LP, QP problems.
IsDerived< DERIVEDFACTOR > push_back(boost::shared_ptr< DERIVEDFACTOR > factor)
Add a factor directly using a shared_ptr.
GaussianFactorGraph cost
Quadratic cost factors.
static const GaussianFactorGraph buildCostFunction(const QP &qp, const VectorValues &xk=VectorValues())
Simply the cost of the QP problem.
Factor graphs of a Quadratic Programming problem.
Policy for ActivetSetSolver to solve Linear Programming.
A Gaussian factor using the canonical parameters (information form)
static constexpr double maxAlpha
This finds a feasible solution for a QP problem.