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 43544b1 + e152196 commit 6bafed3Copy full SHA for 6bafed3
highs/lp_data/Highs.cpp
@@ -4046,7 +4046,10 @@ HighsStatus Highs::callSolveMip() {
4046
// If the original model has semi-variables, its solution is
4047
// (still) given by the first model_.lp_.num_col_ entries of the
4048
// solution from the MIP solver
4049
- solution_.col_value.resize(model_.lp_.num_col_);
+ //
4050
+ // #2547 This resize is unnecessary
4051
4052
+ // solution_.col_value.resize(model_.lp_.num_col_);
4053
solution_.col_value = solver.solution_;
4054
this->saved_objective_and_solution_ = solver.saved_objective_and_solution_;
4055
model_.lp_.a_matrix_.productQuad(solution_.row_value, solution_.col_value);
0 commit comments