Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
jajhall committed Jan 21, 2025
1 parent 09b091d commit a5c8bcd
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions src/mip/HighsMipSolver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -224,11 +224,15 @@ void HighsMipSolver::run() {
std::vector<HighsSearch*> multiple_search;
multiple_search.push_back(&search);
if (options_mip_->mip_search_concurrency > 1) {
// for (HighsInt iSearch = 1; iSearch < options_mip_->mip_search_concurrency; iSearch++) {
HighsSearch local_search{*this, mipdata_->pseudocost};
multiple_search.push_back(&local_search);
// }
}
for (HighsInt iSearch = 1; iSearch < options_mip_->mip_search_concurrency; iSearch++) {
HighsSearch local_search{*this, mipdata_->pseudocost};
multiple_search.push_back(&local_search);
}
}
// Set up the HighsLpRelaxation for each concurrent search: also doesn't work
HighsLpRelaxation local_lp;
local_search.setLpRelaxation(&local_lp);

double prev_lower_bound = mipdata_->lower_bound;

mipdata_->lower_bound = mipdata_->nodequeue.getBestLowerBound();
Expand Down

0 comments on commit a5c8bcd

Please sign in to comment.