3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-10 19:27:06 +00:00

call algebraic routines only basing on the frequency

Signed-off-by: Lev Nachmanson <levnach@microsoft.com>
This commit is contained in:
Lev Nachmanson 2019-12-18 11:13:00 -08:00 committed by Lev Nachmanson
parent 48f7e69d0e
commit c3099a5719

View file

@ -148,10 +148,9 @@ public:
// returns true if the combination of the Horner's schema and Grobner Basis should be called
bool need_to_call_algebraic_methods() const {
return
lp_settings().stats().m_nla_calls < 20 ||
lp_settings().stats().m_nla_calls % m_nla_settings.horner_frequency() == 0;
}
}
lbool incremental_linearization(bool);
svector<lpvar> sorted_rvars(const factor& f) const;