mirror of
https://github.com/Z3Prover/z3
synced 2025-04-23 09:05:31 +00:00
revising pd-maxres
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
76c9abada2
commit
ee458fa601
2 changed files with 6 additions and 0 deletions
|
@ -247,6 +247,7 @@ public:
|
|||
break;
|
||||
}
|
||||
}
|
||||
m_lower = m_upper;
|
||||
trace();
|
||||
return l_true;
|
||||
}
|
||||
|
@ -468,6 +469,9 @@ public:
|
|||
fml = mk_not(m, mk_and(m, m_B.size(), m_B.c_ptr()));
|
||||
s().assert_expr(fml);
|
||||
m_lower += w;
|
||||
if (m_st == s_primal_dual) {
|
||||
m_lower = std::min(m_lower, m_upper);
|
||||
}
|
||||
trace();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue