Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
|
#include <callback_tests.h>
A suite of unit tests to show that a solver handles other callbacks correctly.
To use these tests, in file <solver>_test.cc, write: INSTANTIATE_TEST_SUITE_P(<Solver>CallbackTest, CallbackTest, testing::Values(CallbackTestParams( SolverType::k<Solver>, /*integer_variables=*/true, /*supported_events=*/{...})); (In Values
above, you can put any list of SolverType
s).
Definition at line 127 of file callback_tests.h.