#include <gtsam_unstable/linear/LPInitSolver.h>
#include <gtsam_unstable/linear/LPSolver.h>
#include <gtsam/base/Testable.h>
#include <gtsam/inference/FactorGraph-inst.h>
#include <gtsam/inference/Symbol.h>
#include <gtsam/linear/GaussianFactorGraph.h>
#include <gtsam/linear/VectorValues.h>
#include <gtsam_unstable/linear/EqualityFactorGraph.h>
#include <gtsam_unstable/linear/InequalityFactorGraph.h>
#include <gtsam_unstable/linear/InfeasibleInitialValues.h>
#include <CppUnitLite/TestHarness.h>
Go to the source code of this file.
Namespaces | |
gtsam | |
traits | |
Functions | |
int | main () |
LP | simpleLP1 () |
gtsam::TEST (LPInitSolver, InfiniteLoopSingleVar) | |
gtsam::TEST (LPInitSolver, InfiniteLoopMultiVar) | |
gtsam::TEST (LPInitSolver, Initialization) | |
TEST (LPSolver, OverConstrainedLinearSystem) | |
TEST (LPSolver, overConstrainedLinearSystem2) | |
TEST (LPSolver, SimpleTest1) | |
TEST (LPSolver, TestWithoutInitialValues) | |
TEST (LPSolver, LinearCost) | |
Variables | |
static const Vector | kOne = Vector::Ones(1) |
static const Vector | kZero = Vector::Zero(1) |
int main | ( | void | ) |
Definition at line 231 of file testLPSolver.cpp.
LP simpleLP1 | ( | ) |
min -x1-x2 s.t. x1 + 2x2 <= 4 4x1 + 2x2 <= 12 -x1 + x2 <= 1 x1, x2 >= 0
Definition at line 47 of file testLPSolver.cpp.
TEST | ( | LPSolver | , |
OverConstrainedLinearSystem | |||
) |
TEST gtsam solver with an over-constrained system x + y = 1 x - y = 5 x + 2y = 6
Definition at line 161 of file testLPSolver.cpp.
TEST | ( | LPSolver | , |
overConstrainedLinearSystem2 | |||
) |
Definition at line 174 of file testLPSolver.cpp.
TEST | ( | LPSolver | , |
SimpleTest1 | |||
) |
Definition at line 186 of file testLPSolver.cpp.
TEST | ( | LPSolver | , |
TestWithoutInitialValues | |||
) |
Definition at line 205 of file testLPSolver.cpp.
TEST | ( | LPSolver | , |
LinearCost | |||
) |
TODO: More TEST cases:
Definition at line 221 of file testLPSolver.cpp.
|
static |
Definition at line 37 of file testLPSolver.cpp.
|
static |
Definition at line 37 of file testLPSolver.cpp.