Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
|
#include <lp_initial_basis_tests.h>
Protected Member Functions | |
LpBasisStartTest () | |
SolveStats | SolveWithWarmStart (bool is_maximize, bool starting_basis_max_opt) |
SolveStats | RoundTripSolve () |
int | SetUpVariableBoundBoxModel () |
int | SetUpConstraintBoxModel () |
int | SetUpRangedConstraintBoxModel () |
int | SetUpBasicRangedConstraintModel () |
int | SetUpUnboundedVariablesAndConstraintsModel () |
int | SetUpFixedVariablesModel () |
int | SetUpEqualitiesModel () |
Protected Member Functions inherited from operations_research::math_opt::BaseSolverTest | |
SolverType | TestedSolver () const |
Protected Attributes | |
Model | model_ |
LinearExpression | objective_expression_ |
Basis | max_optimal_basis_ |
Basis | min_optimal_basis_ |
const SolveParameters | params_ |
A suite of unit tests to show that an LP solver handles basis start correctly.
To use these tests, in file <solver>_test.cc write: INSTANTIATE_TEST_SUITE_P(<Solver>LpBasisStartTest, LpBasisStartTest, testing::Values(SolverType::k<Solver>));
Definition at line 29 of file lp_initial_basis_tests.h.
|
protected |
Set threads=1 so that the underlying solver doesn't use an ensemble of LP algorithms.
Definition at line 34 of file lp_initial_basis_tests.cc.
|
protected |
Definition at line 52 of file lp_initial_basis_tests.cc.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
Definition at line 38 of file lp_initial_basis_tests.cc.
|
protected |
Definition at line 46 of file lp_initial_basis_tests.h.
|
protected |
Definition at line 47 of file lp_initial_basis_tests.h.
|
protected |
Definition at line 43 of file lp_initial_basis_tests.h.
|
protected |
Definition at line 44 of file lp_initial_basis_tests.h.
|
protected |
Definition at line 49 of file lp_initial_basis_tests.h.