Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
|
#include <multi_objective_tests.h>
Protected Member Functions | |
absl::StatusOr< SolveResult > | SimpleSolve (const Model &model) |
A suite of unit tests for multiple objectives. Note that a solver that does not support multiple objectives should still use this fixture to ensure that it is not silently ignoring one.
To use these tests, in file <solver>_test.cc, write: INSTANTIATE_TEST_SUITE_P( <Solver>SimpleMultiObjectiveTest, SimpleMultiObjectiveTest, testing::Values( MultiObjectiveTestParameters( SolverType::k<Solver>, parameters, /*supports_multi_objectives=*/false, /*supports_incremental_objective_add_and_delete=*/false, /*supports_incremental_objective_modification=*/false)));
Definition at line 66 of file multi_objective_tests.h.
|
inlineprotected |
Definition at line 69 of file multi_objective_tests.h.