Skip to content

Commit 1ffd452

Browse files
committed
Merge branch 'latest' of https://github.com/ERGO-Code/HiGHS into predictiveBounds
2 parents f902c28 + 6bafed3 commit 1ffd452

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

highs/lp_data/Highs.cpp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4046,7 +4046,10 @@ HighsStatus Highs::callSolveMip() {
40464046
// If the original model has semi-variables, its solution is
40474047
// (still) given by the first model_.lp_.num_col_ entries of the
40484048
// solution from the MIP solver
4049-
solution_.col_value.resize(model_.lp_.num_col_);
4049+
//
4050+
// #2547 This resize is unnecessary
4051+
//
4052+
// solution_.col_value.resize(model_.lp_.num_col_);
40504053
solution_.col_value = solver.solution_;
40514054
this->saved_objective_and_solution_ = solver.saved_objective_and_solution_;
40524055
model_.lp_.a_matrix_.productQuad(solution_.row_value, solution_.col_value);

0 commit comments

Comments
 (0)