mirror of
https://github.com/Z3Prover/z3
synced 2026-06-22 08:30:28 +00:00
lp: decrement dio_calls_period toward initial on missed dio calls
Fix the recovery direction: decrement (rather than increment) dio_calls_period by one on each call where the diophantine solver is not triggered, so the period shrinks back toward its initial value after being doubled on back-off, gradually re-enabling dio solving. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
parent
9f290ca0b8
commit
aa86b62d41
1 changed files with 1 additions and 1 deletions
|
|
@ -240,7 +240,7 @@ namespace lp {
|
|||
bool should_solve_dioph_eq() {
|
||||
bool ret = lia.settings().dio() && hit_period(settings().dio_calls_period());
|
||||
if (!ret && lia.settings().dio_calls_period() > m_initial_dio_calls_period)
|
||||
lia.settings().dio_calls_period() ++;
|
||||
lia.settings().dio_calls_period() --;
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue