expand table constraints; improve cut management; speed up presolve

This commit is contained in:
Laurent Perron
2020-03-19 00:24:10 +01:00
parent 0d6f6dddd9
commit a0cc52731e
15 changed files with 517 additions and 147 deletions

View File

@@ -17,6 +17,7 @@
#include <functional>
#include <vector>
#include "ortools/sat/cp_model_loader.h"
#include "ortools/sat/implied_bounds.h"
#include "ortools/sat/integer.h"
#include "ortools/sat/linear_programming_constraint.h"
@@ -778,9 +779,6 @@ SatSolver::Status SolveIntegerProblem(Model* model) {
return sat_solver->UnsatStatus();
}
if (model->Get<SharedRINSNeighborhoodManager>() != nullptr) {
// If RINS is activated, we need to make sure the SolutionDetails is
// created.
model->GetOrCreate<SolutionDetails>();
num_decisions_without_rins++;
// TODO(user): Experiment more around dynamically changing the
// threshold for trigerring RINS. Alternatively expose this as parameter