mirror of
https://github.com/Z3Prover/z3
synced 2025-10-11 10:18:06 +00:00
fallback to Gomory cuts and gcd conflicts if dio fails
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
This commit is contained in:
parent
cc1bb0a255
commit
a1673f2bdd
3 changed files with 7 additions and 19 deletions
|
@ -2038,8 +2038,13 @@ namespace lp {
|
|||
|
||||
if (ret != lia_move::undef)
|
||||
return ret;
|
||||
if (ret == lia_move::undef)
|
||||
if (ret == lia_move::undef) {
|
||||
lra.settings().dio_calls_period() *= 2;
|
||||
if (lra.settings().dio_calls_period() >= 16) {
|
||||
lra.settings().dio_enable_gomory_cuts() = true;
|
||||
lra.settings().set_run_gcd_test(true);
|
||||
}
|
||||
}
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue