@@ -1475,7 +1475,7 @@ namespace lp {
1475
1475
explanation& exp,
1476
1476
const vector<std::pair<mpq, unsigned >>& inf_row,
1477
1477
int inf_sign) const {
1478
-
1478
+ # if 0
1479
1479
impq slack(0);
1480
1480
1481
1481
std_vector<unsigned> indices;
@@ -1493,16 +1493,17 @@ namespace lp {
1493
1493
if (k != j)
1494
1494
std::swap(indices[j], indices[k]);
1495
1495
}
1496
-
1497
- for (unsigned k : indices) {
1498
- const auto & p = inf_row[k];
1499
- unsigned j = p.second ;
1500
- const mpq& coeff = p.first ;
1496
+ #endif
1497
+ for (auto & [coeff, j]: inf_row) {
1498
+ // for (unsigned k : indices) {
1499
+ // const auto& p = inf_row[k];
1500
+ // unsigned j = p.second;
1501
+ // const mpq& coeff = p.first;
1501
1502
int adj_sign = coeff.is_pos () ? inf_sign : -inf_sign;
1502
1503
bool is_upper = adj_sign < 0 ;
1503
1504
const column& ul = m_imp->m_columns [j];
1504
1505
u_dependency* bound_constr_i = is_upper ? ul.upper_bound_witness () : ul.lower_bound_witness ();
1505
-
1506
+ # if 0
1506
1507
if(is_upper) {
1507
1508
if (ul.previous_upper() != UINT_MAX) {
1508
1509
auto const& [_is_upper, _j, _bound, _column] = m_imp->m_column_updates[ul.previous_upper()];
@@ -1525,7 +1526,7 @@ namespace lp {
1525
1526
}
1526
1527
}
1527
1528
}
1528
-
1529
+ # endif
1529
1530
svector<constraint_index> deps;
1530
1531
dep_manager ().linearize (bound_constr_i, deps);
1531
1532
for (auto d : deps) {
0 commit comments