Skip to content

Commit 12203fc

Browse files
committed
sort terms by weight for tightening
1 parent 0a3c118 commit 12203fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/math/lp/dioph_eq.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1408,7 +1408,7 @@ namespace lp {
14081408
sorted_changed_terms.push_back(j);
14091409
}
14101410

1411-
bool sort_by_weight = false;
1411+
bool sort_by_weight = true;
14121412
if (sort_by_weight)
14131413
// Sort by term_weight descending
14141414
std::sort(sorted_changed_terms.begin(), sorted_changed_terms.end(),

0 commit comments

Comments
 (0)