diff --git a/src/mip/HighsMipSolverData.cpp b/src/mip/HighsMipSolverData.cpp index aadcf4ab5f..07b599254c 100644 --- a/src/mip/HighsMipSolverData.cpp +++ b/src/mip/HighsMipSolverData.cpp @@ -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 heuristic_source = { kSolutionSourceTrivialZ, kSolutionSourceTrivialL, kSolutionSourceTrivialU,