[CP-SAT] remove spurious log

This commit is contained in:
Laurent Perron
2022-07-04 14:58:58 +02:00
parent 647d7aa2a7
commit 946e5f5573

View File

@@ -1738,10 +1738,9 @@ inline std::function<void(Model*)> LowerOrEqual(IntegerVariable v, int64_t ub) {
IntegerLiteral::LowerOrEqual(v, IntegerValue(ub)),
std::vector<Literal>(), std::vector<IntegerLiteral>())) {
model->GetOrCreate<SatSolver>()->NotifyThatModelIsUnsat();
LOG(WARNING) << "Model trivially infeasible, variable " << v
<< " has lower bound " << model->Get(LowerBound(v))
<< " and LowerOrEqual() was called with an upper bound of "
<< ub;
VLOG(1) << "Model trivially infeasible, variable " << v
<< " has lower bound " << model->Get(LowerBound(v))
<< " and LowerOrEqual() was called with an upper bound of " << ub;
}
};
}