mirror of
https://github.com/Z3Prover/z3
synced 2025-06-13 17:36:15 +00:00
call algebraic routines only basing on the frequency
Signed-off-by: Lev Nachmanson <levnach@microsoft.com>
This commit is contained in:
parent
48f7e69d0e
commit
c3099a5719
1 changed files with 2 additions and 3 deletions
|
@ -148,10 +148,9 @@ public:
|
||||||
// returns true if the combination of the Horner's schema and Grobner Basis should be called
|
// returns true if the combination of the Horner's schema and Grobner Basis should be called
|
||||||
bool need_to_call_algebraic_methods() const {
|
bool need_to_call_algebraic_methods() const {
|
||||||
return
|
return
|
||||||
lp_settings().stats().m_nla_calls < 20 ||
|
|
||||||
lp_settings().stats().m_nla_calls % m_nla_settings.horner_frequency() == 0;
|
lp_settings().stats().m_nla_calls % m_nla_settings.horner_frequency() == 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
lbool incremental_linearization(bool);
|
lbool incremental_linearization(bool);
|
||||||
|
|
||||||
svector<lpvar> sorted_rvars(const factor& f) const;
|
svector<lpvar> sorted_rvars(const factor& f) const;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue