3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-10-04 15:03:57 +00:00

check the lar_solver status more often

Signed-off-by: Lev <levnach@hotmail.com>
This commit is contained in:
Lev 2018-11-06 16:12:52 -08:00 committed by Lev Nachmanson
parent c95f2a5bc6
commit efeeabe127
2 changed files with 39 additions and 8 deletions

View file

@ -2974,9 +2974,11 @@ public:
else {
ci = m_solver->add_var_bound(vi, k, b.get_value());
}
if (m_solver->get_status() == lp::lp_status::INFEASIBLE) {
return;
}
TRACE("arith", tout << "v" << b.get_var() << "\n";);
add_ineq_constraint(ci, literal(bv, !is_true));
propagate_eqs(vi, ci, k, b);
}