Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
|
#include <cuts.h>
Public Attributes | |
bool | only_run_at_level_zero = false |
std::vector< IntegerVariable > | vars |
std::function< bool(LinearConstraintManager *manager)> | generate_cuts |
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:
std::function<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 |