3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-06 17:44:08 +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_nra(s, m_nra_lim, *this)
{
// m_nlsat_delay_bound = lp_settings().nlsat_delay();
lra.m_find_monics_with_changed_bounds_func = [&](const indexed_uint_set& columns_with_changed_bounds) {
m_nlsat_delay_bound = lp_settings().nlsat_delay();
lra.m_find_monics_with_changed_bounds_func = [&](const indexed_uint_set& columns_with_changed_bounds) {
for (lpvar j : columns_with_changed_bounds) {
if (is_monic_var(j))
m_monics_with_changed_bounds.insert(j);
@ -1567,11 +1567,11 @@ lbool core::check() {
{1, check3} };
check_weighted(3, checks);
if (!m_lemmas.empty() || !m_literals.empty())
if (!m_lemmas.empty() || !m_literals.empty() || m_check_feasible)
return l_false;
}
if (no_effect() && should_run_bounded_nlsat())
if (no_effect() && should_run_bounded_nlsat())
ret = bounded_nlsat();
if (no_effect())