Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
|
Parameters for the MipSolutionHintTest suite below. More...
#include <ip_model_solve_parameters_tests.h>
Public Member Functions | |
SolutionHintTestParams (SolverType solver_type, std::optional< SolveParameters > single_hint_params, std::optional< SolveParameters > two_hint_params, std::string hint_accepted_message_regex) | |
Public Attributes | |
SolverType | solver_type |
The tested solver. | |
std::optional< SolveParameters > | single_hint_params |
std::optional< SolveParameters > | two_hint_params |
std::string | hint_accepted_message_regex |
Friends | |
std::ostream & | operator<< (std::ostream &out, const SolutionHintTestParams ¶ms) |
Parameters for the MipSolutionHintTest suite below.
Definition at line 42 of file ip_model_solve_parameters_tests.h.
|
inline |
Definition at line 43 of file ip_model_solve_parameters_tests.h.
|
friend |
Definition at line 45 of file ip_model_solve_parameters_tests.cc.
std::string operations_research::math_opt::SolutionHintTestParams::hint_accepted_message_regex |
A testing::ContainsRegex-compatible regex for the expected hint-acceptance message. see #regular-expression-syntax)
Definition at line 68 of file ip_model_solve_parameters_tests.h.
std::optional<SolveParameters> operations_research::math_opt::SolutionHintTestParams::single_hint_params |
Should be non-null if the solver supports a single hint. Furthermore, it must ensure that the solve terminates with the hinted solution, rather than the optimal solution. Some values (e.g. enable_output) may be overridden.
Definition at line 58 of file ip_model_solve_parameters_tests.h.
SolverType operations_research::math_opt::SolutionHintTestParams::solver_type |
The tested solver.
Definition at line 53 of file ip_model_solve_parameters_tests.h.
std::optional<SolveParameters> operations_research::math_opt::SolutionHintTestParams::two_hint_params |
Should be non-null if the solver supports a two hints. Furthermore, it must ensure that the solve terminates with the two hinted solutions (and returns both solutions), rather than the optimal solution. Some values (e.g. enable_output) may be overridden.
Definition at line 64 of file ip_model_solve_parameters_tests.h.