Skip to content

Commit 2004887

Browse files
committed
Revert "Do middle ground of sort and random"
This reverts commit 6f62e0e.
1 parent 6f62e0e commit 2004887

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

highs/mip/HighsPathSeparator.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -121,12 +121,9 @@ void HighsPathSeparator::separateLpSolution(HighsLpRelaxation& lpRelaxation,
121121
rowscore[row].second += std::abs(val);
122122
}
123123
}
124-
HighsRandom random(mip.options_mip_->random_seed);
125124
for (HighsInt row = 0; row != lp.num_row_; ++row) {
126125
if (rowscore[row].second > mip.mipdata_->feastol) {
127126
rowscore[row].first /= rowscore[row].second;
128-
// Want a fair bit of randomness
129-
rowscore[row].first *= random.fraction();
130127
} else {
131128
rowscore[row].first = 0.0;
132129
}

0 commit comments

Comments
 (0)