mirror of
https://github.com/Z3Prover/z3
synced 2025-07-19 10:52:02 +00:00
restore the lemma scheme
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
This commit is contained in:
parent
288e66de59
commit
47b64e689c
5 changed files with 39 additions and 91 deletions
|
@ -1818,18 +1818,14 @@ bool core::improve_bounds() {
|
|||
}
|
||||
return bounds_improved;
|
||||
}
|
||||
// returns false if and only if makes lp_solver inconsistent
|
||||
bool core::propagate(vector<lemma>& lemmas) {
|
||||
|
||||
void core::propagate(vector<lemma>& lemmas) {
|
||||
// propagate linear monomials, those that have all, or all but one, variables fixed
|
||||
lemmas.reset();
|
||||
m_lemma_vec = &lemmas;
|
||||
|
||||
m_monomial_bounds.unit_propagate();
|
||||
if (lra.get_status() == lp::lp_status::INFEASIBLE) {
|
||||
TRACE("nla_solver", tout << "propagation found infeasibility\n";);
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue