40 for (
auto factor : qp.
cost) {
44 return no_constant_factor;
IsDerived< DERIVEDFACTOR > push_back(std::shared_ptr< DERIVEDFACTOR > factor)
Add a factor directly using a shared_ptr.
Active set method for solving LP, QP problems.
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.