Skip to content

Commit

Permalink
Added return value to HighsMipSolverData::trivialHeuristics()
Browse files Browse the repository at this point in the history
  • Loading branch information
jajhall committed Nov 5, 2024
1 parent 5e6ec3e commit a2ac958
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mip/HighsMipSolverData.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ HighsModelStatus HighsMipSolverData::trivialHeuristics() {
// printf("\nHighsMipSolverData::trivialHeuristics() Number of continuous
// columns is %d\n",
// int(continuous_cols.size()));
if (continuous_cols.size() > 0) return;
if (continuous_cols.size() > 0) return HighsModelStatus::kOk;
const HighsInt num_try_heuristic = 4;
const std::vector<int> heuristic_source = {
kSolutionSourceTrivialZ, kSolutionSourceTrivialL, kSolutionSourceTrivialU,
Expand Down

0 comments on commit a2ac958

Please sign in to comment.