This commit is contained in:
Laurent Perron
2021-11-22 11:52:13 +01:00
parent 24b32ddc57
commit d1d0b4b5a2

View File

@@ -7301,6 +7301,8 @@ CpSolverStatus CpModelPresolver::Presolve() {
}
}
if (context_->ModelIsUnsat()) return InfeasibleStatus();
// If the objective is a floating point one, we scale it.
//
// TODO(user): We should probably try to delay this even more. For that we