mirror of
https://github.com/Z3Prover/z3
synced 2025-04-24 01:25:31 +00:00
move monomial propagation from theory_lra to nla_solver
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
This commit is contained in:
parent
d2c0f7dba7
commit
896aba31f8
3 changed files with 10 additions and 9 deletions
|
@ -108,4 +108,10 @@ namespace nla {
|
|||
return m_core->lemmas();
|
||||
}
|
||||
|
||||
void solver::propagate_bounds_for_touched_monomials() {
|
||||
init_bound_propagation();
|
||||
for (unsigned v : monics_with_changed_bounds())
|
||||
calculate_implied_bounds_for_monic(v);
|
||||
reset_monics_with_changed_bounds();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -51,6 +51,6 @@ namespace nla {
|
|||
void calculate_implied_bounds_for_monic(lp::lpvar v);
|
||||
void init_bound_propagation();
|
||||
vector<nla::lemma> const& lemmas() const;
|
||||
|
||||
void propagate_bounds_for_touched_monomials();
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue