@@ -740,6 +740,10 @@ message CpSolverResponse {
|
||||
// changing your model to minimize the number of assumptions at false, but
|
||||
// this is likely an harder problem to solve.
|
||||
//
|
||||
// Important: Currently, this is minimized only in single-thread and if the
|
||||
// problem is not an optimization problem, otherwise, it will always include
|
||||
// all the assumptions.
|
||||
//
|
||||
// TODO(user): Allows for returning multiple core at once.
|
||||
repeated int32 sufficient_assumptions_for_infeasibility = 23;
|
||||
|
||||
|
||||
@@ -6425,6 +6425,7 @@ CpModelPresolver::CpModelPresolver(PresolveContext* context,
|
||||
context_->params().keep_all_feasible_solutions_in_presolve() ||
|
||||
context_->params().enumerate_all_solutions() ||
|
||||
context_->params().fill_tightened_domains_in_response() ||
|
||||
!context_->working_model->assumptions().empty() ||
|
||||
!context_->params().cp_model_presolve();
|
||||
|
||||
// We copy the search strategy to the mapping_model.
|
||||
|
||||
Reference in New Issue
Block a user