![]() |
Google OR-Tools v9.14
a fast and portable software suite for combinatorial optimization
|
A "cut" generator on a set of IntegerVariable.
The generate_cuts() function can get the current LP solution with manager->LpValues(). Note that a CutGenerator should:
#include <cuts.h>
Public Attributes | |
| bool | only_run_at_level_zero = false |
| std::vector< IntegerVariable > | vars |
| absl::AnyInvocable< bool(LinearConstraintManager *manager)> | generate_cuts |
| absl::AnyInvocable<bool(LinearConstraintManager* manager)> operations_research::sat::CutGenerator::generate_cuts |
| bool operations_research::sat::CutGenerator::only_run_at_level_zero = false |
| std::vector<IntegerVariable> operations_research::sat::CutGenerator::vars |