Skip to content

Commit ecfbdbb

Browse files
committed
allow bounds tightening on fixed columns
Signed-off-by: Lev Nachmanson <[email protected]>
1 parent f501aea commit ecfbdbb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/math/lp/dioph_eq.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1028,8 +1028,8 @@ namespace lp {
10281028

10291029
eliminate_substituted_in_changed_rows();
10301030
m_changed_columns.reset();
1031-
SASSERT(m_changed_columns.size() == 0);
10321031
m_changed_rows.reset();
1032+
// do not clean up m_changed_terms as they are used in tighten_terms_with_S()
10331033
SASSERT(entries_are_ok());
10341034
}
10351035

@@ -1372,7 +1372,7 @@ namespace lp {
13721372
if (j >= lra.column_count() ||
13731373
!lra.column_has_term(j) ||
13741374
lra.column_is_free(j) ||
1375-
is_fixed(j) || !lia.column_is_int(j)) {
1375+
!lia.column_is_int(j)) {
13761376
cleanup.push_back(j);
13771377
continue;
13781378
}

0 commit comments

Comments
 (0)