diff --git a/src/mip/HighsMipSolverData.cpp b/src/mip/HighsMipSolverData.cpp index e84f9b5396..522804d18b 100644 --- a/src/mip/HighsMipSolverData.cpp +++ b/src/mip/HighsMipSolverData.cpp @@ -2501,7 +2501,8 @@ bool HighsMipSolverData::interruptFromCallbackWithData( return mipsolver.callback_->callbackAction(callback_type, message); } -double possInfRelDiff(const double v0, const double v1, const double den) { +static double possInfRelDiff(const double v0, const double v1, + const double den) { double rel_diff; if (std::fabs(v0) == kHighsInf) { if (std::fabs(v1) == kHighsInf) { diff --git a/src/mip/HighsPrimalHeuristics.cpp b/src/mip/HighsPrimalHeuristics.cpp index 5908f4373c..1c4aff5daf 100644 --- a/src/mip/HighsPrimalHeuristics.cpp +++ b/src/mip/HighsPrimalHeuristics.cpp @@ -37,10 +37,10 @@ HighsPrimalHeuristics::HighsPrimalHeuristics(HighsMipSolver& mipsolver) : mipsolver(mipsolver), - lp_iterations(0), total_repair_lp(0), total_repair_lp_feasible(0), total_repair_lp_iterations(0), + lp_iterations(0), randgen(mipsolver.options_mip_->random_seed) { successObservations = 0; numSuccessObservations = 0;