mirror of
https://github.com/Z3Prover/z3
synced 2025-04-16 13:58:45 +00:00
Merge branch 'dio' of https://github.com/Z3Prover/Z3 into dio
This commit is contained in:
commit
f9b4f68982
|
@ -1377,15 +1377,11 @@ namespace lp {
|
|||
std_vector<unsigned> cleanup;
|
||||
m_tightened_columns.reset();
|
||||
for (unsigned j : m_changed_terms) {
|
||||
if (
|
||||
j >= lra.column_count() ||
|
||||
if (j >= lra.column_count() ||
|
||||
!lra.column_has_term(j) ||
|
||||
lra.column_is_free(j) ||
|
||||
is_fixed(j) ||
|
||||
!lia.column_is_int(j)
|
||||
||
|
||||
!term_has_int_inv_vars(j)
|
||||
) {
|
||||
!lia.column_is_int(j) ||
|
||||
!term_has_int_inv_vars(j)) {
|
||||
cleanup.push_back(j);
|
||||
continue;
|
||||
}
|
||||
|
|
|
@ -188,7 +188,7 @@ namespace lp {
|
|||
}
|
||||
|
||||
bool should_gomory_cut() {
|
||||
return (!settings().dio_eqs() || settings().dio_enable_gomory_cuts())
|
||||
return (!all_columns_are_integral() ||(!settings().dio_eqs() || settings().dio_enable_gomory_cuts()))
|
||||
&& m_number_of_calls % settings().m_int_gomory_cut_period == 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue