gtsam
4.0.0
gtsam
|
Data structure of a Linear Program.
Public Member Functions | |
bool | isFeasible (const VectorValues &x) const |
check feasibility | |
void | print (const string &s="") const |
print | |
bool | equals (const LP &other, double tol=1e-9) const |
equals | |
const KeyDimMap & | constrainedKeyDimMap () const |
Vector | costGradient (Key key, const VectorValues &delta) const |
Public Attributes | |
LinearCost | cost |
Linear cost factor. | |
EqualityFactorGraph | equalities |
Linear equality constraints: cE(x) = 0. | |
InequalityFactorGraph | inequalities |
Linear inequality constraints: cI(x) <= 0. | |
Public Types | |
using | shared_ptr = boost::shared_ptr< LP > |