Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
lperron committed Feb 10, 2025
1 parent 319f4e2 commit a1b4be7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ortools/sat/cp_model_presolve.cc
Original file line number Diff line number Diff line change
Expand Up @@ -3650,6 +3650,7 @@ void CpModelPresolver::ProcessOneLinearWithAmo(int ct_index,
if (!PropagateDomainsInLinear(/*ct_index=*/-1, &temp_ct_)) {
return;
}
if (context_->ModelIsUnsat()) return;
}

// Extract enforcement or fix literal.
Expand Down

0 comments on commit a1b4be7

Please sign in to comment.