Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
operations_research::math_opt::CallbackTest Class Reference

#include <callback_tests.h>

Inheritance diagram for operations_research::math_opt::CallbackTest:

Detailed Description

A suite of unit tests to show that a solver handles other callbacks correctly.

Note
the tests use callbacks that are not thread-safe and request that the underlying solvers run in single threaded mode.

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 SolverTypes).

Definition at line 127 of file callback_tests.h.


The documentation for this class was generated from the following file: