3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-22 16:45:31 +00:00

fix in gomory: revert some changes

Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
This commit is contained in:
Lev Nachmanson 2020-03-04 20:53:34 -08:00
parent 29b9dfe326
commit 79d4d13b14

View file

@ -45,8 +45,7 @@ class create_cut {
const impq & get_value(unsigned j) const { return lia.get_value(j); }
bool is_int(unsigned j) const { return lia.column_is_int(j) || (lia.is_fixed(j) &&
lia.lra.column_lower_bound(j).is_int()); }
bool is_real(unsigned j) const { return lia.is_real(j) && (! (lia.is_fixed(j) &&
lia.lra.column_lower_bound(j).is_int())); }
bool is_real(unsigned j) const { return !is_int(j); }
bool at_lower(unsigned j) const { return lia.at_lower(j); }
bool at_upper(unsigned j) const { return lia.at_upper(j); }
const impq & lower_bound(unsigned j) const { return lia.lower_bound(j); }
@ -55,8 +54,6 @@ class create_cut {
constraint_index column_upper_bound_constraint(unsigned j) const { return lia.column_upper_bound_constraint(j); }
bool column_is_fixed(unsigned j) const { return lia.lra.column_is_fixed(j); }
void int_case_in_gomory_cut(unsigned j) {
lp_assert(is_int(j) && m_fj.is_pos());
TRACE("gomory_cut_detail",