sync after new export procedure

This commit is contained in:
Laurent Perron
2023-01-23 13:20:43 +01:00
parent 0094ab9c88
commit 010f6dbce9
5 changed files with 1 additions and 6 deletions

View File

@@ -255,6 +255,5 @@ const std::vector<sat::BinaryClause>& ProblemState::NewlyAddedBinaryClauses()
void ProblemState::SynchronizationDone() {
binary_clause_manager_.ClearNewlyAdded();
}
} // namespace bop
} // namespace operations_research

View File

@@ -282,7 +282,6 @@ struct LearnedInfo {
// New binary clauses.
std::vector<sat::BinaryClause> binary_clauses;
};
} // namespace bop
} // namespace operations_research
#endif // OR_TOOLS_BOP_BOP_BASE_H_

View File

@@ -62,7 +62,6 @@ bool UpdateProblemStateBasedOnStatus(BopOptimizerBase::Status status,
return false;
}
} // anonymous namespace
//------------------------------------------------------------------------------

View File

@@ -1215,7 +1215,7 @@ void SolveFzWithCpModelProto(const fz::Model& fz_model,
// Fill the search order.
m.TranslateSearchAnnotations(fz_model.search_annotations(), logger);
if (p.display_all_solutions && !m.proto.has_objective()) {
if (p.display_all_solutions && !m.pb.has_objective()) {
// Enumerate all sat solutions.
m.parameters.set_enumerate_all_solutions(true);
}

View File

@@ -724,8 +724,6 @@ extern std::function<char *(void)> GRBplatform;
#define GRB_BATCH_ABORTED 3
#define GRB_BATCH_FAILED 4
#define GRB_BATCH_COMPLETED 5
} // namespace operations_research
#endif // OR_TOOLS_GUROBI_ENVIRONMENT_H_