3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-11-26 07:29:33 +00:00

throttle dio for big numbers

Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
This commit is contained in:
Lev Nachmanson 2025-04-04 08:51:35 -07:00 committed by Lev Nachmanson
parent 3e49d9fcfe
commit 972f80188a
6 changed files with 48 additions and 25 deletions

View file

@ -188,8 +188,7 @@ namespace lp {
bool should_gomory_cut() {
bool dio_allows_gomory = !settings().dio_eqs() || settings().dio_enable_gomory_cuts() ||
m_dio.has_non_integral_term();
std::cout << "should_gomory_cut:" << dio_allows_gomory << std::endl;
m_dio.some_terms_are_ignored();
return dio_allows_gomory && m_number_of_calls % settings().m_int_gomory_cut_period == 0;
}