Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
|
#include <generic_tests.h>
Public Member Functions | |
GenericTestParameters (SolverType solver_type, bool support_interrupter, bool integer_variables, std::string expected_log, SolveParameters solve_parameters={}) | |
Public Attributes | |
SolverType | solver_type |
The tested solver. | |
bool | support_interrupter |
True if the solver support SolveInterrupter. | |
bool | integer_variables |
True if the tests should be performed with integer variables. | |
std::string | expected_log |
A message included in the solver logs when an optimal solution is found. | |
SolveParameters | solve_parameters |
Additional parameters to control the solve. | |
Friends | |
std::ostream & | operator<< (std::ostream &out, const GenericTestParameters ¶ms) |
Definition at line 30 of file generic_tests.h.
operations_research::math_opt::GenericTestParameters::GenericTestParameters | ( | SolverType | solver_type, |
bool | support_interrupter, | ||
bool | integer_variables, | ||
std::string | expected_log, | ||
SolveParameters | solve_parameters = {} ) |
Definition at line 55 of file generic_tests.cc.
|
friend |
Definition at line 66 of file generic_tests.cc.
std::string operations_research::math_opt::GenericTestParameters::expected_log |
A message included in the solver logs when an optimal solution is found.
Definition at line 45 of file generic_tests.h.
bool operations_research::math_opt::GenericTestParameters::integer_variables |
True if the tests should be performed with integer variables.
Definition at line 42 of file generic_tests.h.
SolveParameters operations_research::math_opt::GenericTestParameters::solve_parameters |
Additional parameters to control the solve.
Definition at line 48 of file generic_tests.h.
SolverType operations_research::math_opt::GenericTestParameters::solver_type |
The tested solver.
Definition at line 36 of file generic_tests.h.
bool operations_research::math_opt::GenericTestParameters::support_interrupter |
True if the solver support SolveInterrupter.
Definition at line 39 of file generic_tests.h.