Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
|
#include <lp_tests.h>
Public Member Functions | |
SimpleLpTestParameters (const SolverType solver_type, SolveParameters parameters, const bool supports_duals, const bool supports_basis, const bool ensures_primal_ray, const bool ensures_dual_ray, const bool disallows_infeasible_or_unbounded) | |
Public Attributes | |
SolverType | solver_type |
The tested solver. | |
SolveParameters | parameters |
bool | supports_duals |
True if a dual solution is returned. | |
bool | supports_basis |
True if the solver produces a basis. | |
bool | ensures_primal_ray |
bool | ensures_dual_ray |
bool | disallows_infeasible_or_unbounded |
Friends | |
std::ostream & | operator<< (std::ostream &out, const SimpleLpTestParameters ¶ms) |
Definition at line 29 of file lp_tests.h.
|
inline |
Definition at line 48 of file lp_tests.h.
|
friend |
Definition at line 51 of file lp_tests.cc.
bool operations_research::math_opt::SimpleLpTestParameters::disallows_infeasible_or_unbounded |
If true, then TERMINATION_REASON_INFEASIBLE_OR_UNBOUNDED is never returned, it is always disambiguated to either TERMINATION_REASON_INFEASIBLE or TERMINATION_REASON_UNBOUNDED.
Definition at line 46 of file lp_tests.h.
bool operations_research::math_opt::SimpleLpTestParameters::ensures_dual_ray |
Definition at line 41 of file lp_tests.h.
bool operations_research::math_opt::SimpleLpTestParameters::ensures_primal_ray |
Definition at line 40 of file lp_tests.h.
SolveParameters operations_research::math_opt::SimpleLpTestParameters::parameters |
Definition at line 32 of file lp_tests.h.
SolverType operations_research::math_opt::SimpleLpTestParameters::solver_type |
The tested solver.
Definition at line 31 of file lp_tests.h.
bool operations_research::math_opt::SimpleLpTestParameters::supports_basis |
True if the solver produces a basis.
Definition at line 38 of file lp_tests.h.
bool operations_research::math_opt::SimpleLpTestParameters::supports_duals |
True if a dual solution is returned.
Definition at line 35 of file lp_tests.h.