We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b1b8bb5 commit c1eed97Copy full SHA for c1eed97
1 file changed
highs/mip/HighsMachineSchedSeparator.cpp
@@ -64,7 +64,7 @@ bool HighsMachineSchedSeparator::findSingleMachineScheduleClique(
64
};
65
66
HighsInt numRows = 0;
67
- HighsInt maxRows = std::min(1000, 2 * mipsolver.numRow());
+ const HighsInt maxRows = std::min(HighsInt{1000}, 2 * mipsolver.numRow());
68
adjacency.reserve(maxRows + 2);
69
for (HighsInt row = 0; row != mipsolver.numRow(); row++) {
70
double rowLower = mipsolver.model_->row_lower_[row];
0 commit comments