mirror of
https://github.com/Z3Prover/z3
synced 2025-04-30 20:35:51 +00:00
throttle intervals
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
This commit is contained in:
parent
999ca2ed70
commit
f24bd352e1
9 changed files with 517 additions and 24 deletions
|
@ -25,6 +25,7 @@ core::core(lp::lar_solver& s, reslimit & lim) :
|
|||
m_evars(),
|
||||
m_lar_solver(s),
|
||||
m_tangents(this),
|
||||
m_intervals(this, lim),
|
||||
m_basics(this),
|
||||
m_order(this),
|
||||
m_monotone(this),
|
||||
|
@ -136,11 +137,13 @@ void core::add_monomial(lpvar v, unsigned sz, lpvar const* vs) {
|
|||
void core::push() {
|
||||
TRACE("nla_solver",);
|
||||
m_emons.push();
|
||||
m_intervals.push();
|
||||
}
|
||||
|
||||
|
||||
void core::pop(unsigned n) {
|
||||
TRACE("nla_solver", tout << "n = " << n << "\n";);
|
||||
m_intervals.pop(n);
|
||||
m_emons.pop(n);
|
||||
SASSERT(elists_are_consistent(false));
|
||||
}
|
||||
|
@ -955,6 +958,7 @@ void core::clear() {
|
|||
void core::init_search() {
|
||||
clear();
|
||||
init_vars_equivalence();
|
||||
m_intervals.init();
|
||||
SASSERT(elists_are_consistent(false));
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue