3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-12 12:08:18 +00:00

initialize delay bound

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2023-10-26 03:26:41 -07:00
parent 76f9e1d2b3
commit 5622fd1362

View file

@ -40,8 +40,8 @@ core::core(lp::lar_solver& s, params_ref const& p, reslimit & lim) :
m_use_nra_model(false), m_use_nra_model(false),
m_nra(s, m_nra_lim, *this) m_nra(s, m_nra_lim, *this)
{ {
// m_nlsat_delay_bound = lp_settings().nlsat_delay(); m_nlsat_delay_bound = lp_settings().nlsat_delay();
lra.m_find_monics_with_changed_bounds_func = [&](const indexed_uint_set& columns_with_changed_bounds) { lra.m_find_monics_with_changed_bounds_func = [&](const indexed_uint_set& columns_with_changed_bounds) {
for (lpvar j : columns_with_changed_bounds) { for (lpvar j : columns_with_changed_bounds) {
if (is_monic_var(j)) if (is_monic_var(j))
m_monics_with_changed_bounds.insert(j); m_monics_with_changed_bounds.insert(j);
@ -1567,11 +1567,11 @@ lbool core::check() {
{1, check3} }; {1, check3} };
check_weighted(3, checks); check_weighted(3, checks);
if (!m_lemmas.empty() || !m_literals.empty()) if (!m_lemmas.empty() || !m_literals.empty() || m_check_feasible)
return l_false; return l_false;
} }
if (no_effect() && should_run_bounded_nlsat()) if (no_effect() && should_run_bounded_nlsat())
ret = bounded_nlsat(); ret = bounded_nlsat();
if (no_effect()) if (no_effect())