We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 96f998e + eedc74e commit 367cdbaCopy full SHA for 367cdba
highs/mip/HighsLpRelaxation.cpp
@@ -237,11 +237,12 @@ void HighsLpRelaxation::loadModel() {
237
for (HighsInt i = 0; i != lpmodel.num_row_; ++i)
238
lprows.push_back(LpRow::model(i));
239
lpmodel.integrality_.clear();
240
+ HighsInt num_col = lpmodel.num_col_;
241
lpsolver.clearSolver();
242
lpsolver.clearModel();
243
lpsolver.passModel(std::move(lpmodel));
- colLbBuffer.resize(lpmodel.num_col_);
244
- colUbBuffer.resize(lpmodel.num_col_);
+ colLbBuffer.resize(num_col);
245
+ colUbBuffer.resize(num_col);
246
}
247
248
void HighsLpRelaxation::resetToGlobalDomain() {
0 commit comments