mirror of
https://github.com/Z3Prover/z3
synced 2025-04-12 04:03:39 +00:00
allow bounds tightening on fixed columns
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
This commit is contained in:
parent
f501aea3eb
commit
ecfbdbbd23
|
@ -1028,8 +1028,8 @@ namespace lp {
|
||||||
|
|
||||||
eliminate_substituted_in_changed_rows();
|
eliminate_substituted_in_changed_rows();
|
||||||
m_changed_columns.reset();
|
m_changed_columns.reset();
|
||||||
SASSERT(m_changed_columns.size() == 0);
|
|
||||||
m_changed_rows.reset();
|
m_changed_rows.reset();
|
||||||
|
// do not clean up m_changed_terms as they are used in tighten_terms_with_S()
|
||||||
SASSERT(entries_are_ok());
|
SASSERT(entries_are_ok());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1372,7 +1372,7 @@ namespace lp {
|
||||||
if (j >= lra.column_count() ||
|
if (j >= lra.column_count() ||
|
||||||
!lra.column_has_term(j) ||
|
!lra.column_has_term(j) ||
|
||||||
lra.column_is_free(j) ||
|
lra.column_is_free(j) ||
|
||||||
is_fixed(j) || !lia.column_is_int(j)) {
|
!lia.column_is_int(j)) {
|
||||||
cleanup.push_back(j);
|
cleanup.push_back(j);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue