Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
|
#include <logical_constraint_tests.h>
Protected Member Functions | |
absl::StatusOr< SolveResult > | SimpleSolve (const Model &model) |
A suite of unit tests for logical constraints.
To use these tests, in file <solver>_test.cc, write: INSTANTIATE_TEST_SUITE_P( <Solver>SimpleLogicalConstraintTest, SimpleLogicalConstraint, testing::Values(LogicalConstraintTestParameters( SolverType::k<Solver>, parameters, /*supports_integer_variables=*/false, /*supports_sos1=*/false, /*supports_sos2=*/false, /*supports_indicator=*/false, /*supports_incremental_add_and_deletes=*/false, /*supports_incremental_variable_deletions=*/false, /*supports_deleting_indicator_variables=*/false, /*supports_updating_binary_variables=*/false)));
Definition at line 84 of file logical_constraint_tests.h.
|
inlineprotected |
Definition at line 87 of file logical_constraint_tests.h.