Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
|
Parameters for the MessageCallbackTest suite below. More...
#include <callback_tests.h>
Public Member Functions | |
MessageCallbackTestParams (SolverType solver_type, bool support_message_callback, bool support_interrupter, bool integer_variables, std::string ending_substring, SolveParameters solve_parameters={}) | |
Public Attributes | |
SolverType | solver_type |
The tested solver. | |
bool | support_message_callback |
bool | support_interrupter |
True if the solver supports SolveInterrupter. | |
bool | integer_variables |
True if the tests should be performed with integer variables. | |
std::string | ending_substring |
A sub-string expected to be found on the last log lines. | |
SolveParameters | solve_parameters |
Additional parameters to control the solve. | |
Friends | |
std::ostream & | operator<< (std::ostream &out, const MessageCallbackTestParams ¶ms) |
Parameters for the MessageCallbackTest suite below.
Definition at line 33 of file callback_tests.h.
operations_research::math_opt::MessageCallbackTestParams::MessageCallbackTestParams | ( | SolverType | solver_type, |
bool | support_message_callback, | ||
bool | support_interrupter, | ||
bool | integer_variables, | ||
std::string | ending_substring, | ||
SolveParameters | solve_parameters = {} ) |
Definition at line 51 of file callback_tests.cc.
|
friend |
Definition at line 62 of file callback_tests.cc.
std::string operations_research::math_opt::MessageCallbackTestParams::ending_substring |
A sub-string expected to be found on the last log lines.
Definition at line 54 of file callback_tests.h.
bool operations_research::math_opt::MessageCallbackTestParams::integer_variables |
True if the tests should be performed with integer variables.
Definition at line 51 of file callback_tests.h.
SolveParameters operations_research::math_opt::MessageCallbackTestParams::solve_parameters |
Additional parameters to control the solve.
Definition at line 57 of file callback_tests.h.
SolverType operations_research::math_opt::MessageCallbackTestParams::solver_type |
The tested solver.
Definition at line 41 of file callback_tests.h.
bool operations_research::math_opt::MessageCallbackTestParams::support_interrupter |
True if the solver supports SolveInterrupter.
Definition at line 48 of file callback_tests.h.
bool operations_research::math_opt::MessageCallbackTestParams::support_message_callback |
True if the solver is expected to support message callbacks. False if not, in which case the solver is expected to ignore the callback.
Definition at line 45 of file callback_tests.h.