mirror of
https://github.com/Z3Prover/z3
synced 2025-07-19 10:52:02 +00:00
fixes in lar_solver around nl unit propagation
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
This commit is contained in:
parent
702322a6e9
commit
a297a2b25c
8 changed files with 28 additions and 6 deletions
|
@ -138,6 +138,7 @@ void core::add_monic(lpvar v, unsigned sz, lpvar const* vs) {
|
|||
m_add_buffer[i] = j;
|
||||
}
|
||||
m_emons.add(v, m_add_buffer);
|
||||
m_monics_with_changed_bounds.insert(v);
|
||||
}
|
||||
|
||||
void core::push() {
|
||||
|
@ -1938,6 +1939,7 @@ void core::add_lower_bound_monic(lpvar j, const lp::mpq& v, bool is_strict, std:
|
|||
}
|
||||
|
||||
void core::calculate_implied_bounds_for_monic(lp::lpvar monic_var) {
|
||||
if (!is_monic_var(monic_var)) return;
|
||||
m_propagated.reserve(monic_var + 1, false);
|
||||
bool throttle = params().arith_nl_throttle_unit_prop();
|
||||
if (throttle && m_propagated[monic_var])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue