From a2ac9583d6057e09ea5c42beada1a3f311ad616e Mon Sep 17 00:00:00 2001 From: JAJHall Date: Tue, 5 Nov 2024 09:36:24 +0000 Subject: [PATCH] Added return value to HighsMipSolverData::trivialHeuristics() --- src/mip/HighsMipSolverData.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,