Go to the documentation of this file.
35 static constexpr
double maxAlpha = std::numeric_limits<double>::infinity();
65 if (lp.
cost.
keys().size() != allKeys.size()) {
67 std::set_difference(allKeys.begin(), allKeys.end(), lp.
cost.
begin(),
69 std::inserter(difference, difference.end()));
70 for (
Key k : difference) {
const KeyDimMap & constrainedKeyDimMap() const
EqualityFactorGraph equalities
Linear equality constraints: cE(x) = 0.
void merge(const FastSet &other)
const_iterator begin() const
LinearCost cost
Linear cost factor.
DenseIndex getDim(const_iterator variable) const override
static constexpr double maxAlpha
Active set method for solving LP, QP problems.
InequalityFactorGraph inequalities
Linear inequality constraints: cI(x) <= 0.
const_iterator end() const
KeyVector::const_iterator const_iterator
Const iterator over keys.
constABlock getA(const_iterator variable) const
This finds a feasible solution for an LP problem.
const KeyVector & keys() const
Access the factor's involved variable keys.
Struct used to hold a Linear Programming Problem.
Policy for ActivetSetSolver to solve Linear Programming.
NonlinearFactorGraph graph
std::uint64_t Key
Integer nonlinear key type.
static GaussianFactorGraph buildCostFunction(const LP &lp, const VectorValues &xk)
gtsam
Author(s):
autogenerated on Sun Dec 22 2024 04:11:57