mirror of
https://github.com/Z3Prover/z3
synced 2025-11-26 07:29:33 +00:00
optionally limit linearization
This commit is contained in:
parent
5846570012
commit
599e9da8a9
4 changed files with 26 additions and 21 deletions
|
|
@ -187,11 +187,11 @@ public:
|
|||
|
||||
// returns true if the combination of the Horner's schema and Grobner Basis should be called
|
||||
bool need_run_horner() const {
|
||||
return params().arith_nl_horner() && lp_settings().stats().m_nla_calls % params().arith_nl_horner_frequency() == 0;
|
||||
return params().arith_nl_linearize() && params().arith_nl_horner() && lp_settings().stats().m_nla_calls % params().arith_nl_horner_frequency() == 0;
|
||||
}
|
||||
|
||||
bool need_run_grobner() const {
|
||||
return params().arith_nl_grobner();
|
||||
return params().arith_nl_linearize() && params().arith_nl_grobner();
|
||||
}
|
||||
|
||||
void set_active_vars_weights(nex_creator&);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue