Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
|
#include <lp_model_solve_parameters_tests.h>
Public Member Functions | |
LpModelSolveParametersTestParameters (const SolverType solver_type, const bool exact_zeros, const bool supports_duals, const bool supports_primal_only_warm_starts, SolveParameters parameters={}) | |
Public Attributes | |
SolverType | solver_type |
bool | exact_zeros |
bool | supports_duals |
bool | supports_primal_only_warm_starts |
True if the solver supports warm starts on the primal solution only. | |
SolveParameters | parameters |
Friends | |
std::ostream & | operator<< (std::ostream &out, const LpModelSolveParametersTestParameters ¶ms) |
Definition at line 27 of file lp_model_solve_parameters_tests.h.
|
inline |
Definition at line 40 of file lp_model_solve_parameters_tests.h.
|
friend |
Definition at line 31 of file lp_model_solve_parameters_tests.cc.
bool operations_research::math_opt::LpModelSolveParametersTestParameters::exact_zeros |
If true, we EXPECT that the solver to return a value of exactly 0.0 for decisions variables >= 0 that take zero at the optimum on a very small problem. In general, simplex solvers are more likely to do this, but very few solvers actually guarantee this. All tests relying on this behavior are brittle and we should try to eliminate them.
Definition at line 34 of file lp_model_solve_parameters_tests.h.
SolveParameters operations_research::math_opt::LpModelSolveParametersTestParameters::parameters |
Definition at line 38 of file lp_model_solve_parameters_tests.h.
SolverType operations_research::math_opt::LpModelSolveParametersTestParameters::solver_type |
Definition at line 28 of file lp_model_solve_parameters_tests.h.
bool operations_research::math_opt::LpModelSolveParametersTestParameters::supports_duals |
Definition at line 35 of file lp_model_solve_parameters_tests.h.
bool operations_research::math_opt::LpModelSolveParametersTestParameters::supports_primal_only_warm_starts |
True if the solver supports warm starts on the primal solution only.
Definition at line 37 of file lp_model_solve_parameters_tests.h.