Skip to content

Commit bd8cf29

Browse files
committed
ignore large changed_columns
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
1 parent 3ac11cd commit bd8cf29

File tree

1 file changed

+2
-13
lines changed

1 file changed

+2
-13
lines changed

src/math/lp/dioph_eq.cpp

+2-13
Original file line numberDiff line numberDiff line change
@@ -883,14 +883,7 @@ namespace lp {
883883
return lia.column_is_int(term.j());
884884

885885
}
886-
887-
void delete_column(unsigned j) {
888-
SASSERT(j >= m_e_matrix.column_count());
889-
SASSERT(m_k2s.has_key(j) == false);
890-
SASSERT(m_k2s.has_val(j) == false);
891-
SASSERT(m_columns_to_terms.find(j) == m_columns_to_terms.end());
892-
}
893-
886+
894887
void clear_e_row(unsigned ei) {
895888
auto & row = m_e_matrix.m_rows[ei];
896889
while (row.size() > 0) {
@@ -958,11 +951,7 @@ namespace lp {
958951
}
959952

960953
void process_changed_columns() {
961-
for (unsigned j : m_changed_columns) {
962-
if (j >= this->lra.column_count()) {
963-
delete_column(j);
964-
}
965-
}
954+
966955
find_changed_terms_and_more_changed_rows();
967956
for (unsigned j : m_changed_terms) {
968957
if (j >= m_l_matrix.column_count()) continue;

0 commit comments

Comments
 (0)