From 7feb35417e1afe164485838bb30b76ba2ef2049e Mon Sep 17 00:00:00 2001 From: JAJHall Date: Tue, 26 Nov 2024 19:56:58 +0000 Subject: [PATCH] Cast 100 to HighsInt in HighsMipSolverData.cpp --- 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 c1d6c8a45f..b0c0c4bf1c 100644 --- a/src/mip/HighsMipSolverData.cpp +++ b/src/mip/HighsMipSolverData.cpp @@ -321,7 +321,7 @@ void HighsMipSolverData::startAnalyticCenterComputation( // ipm.setOptionValue("output_flag", !mipsolver.submip); ipm.setOptionValue("ipm_iteration_limit", 200); HighsInt kkt_iteration_limit = mipsolver.model_->num_row_ / 1000; - kkt_iteration_limit = std::max(100, kkt_iteration_limit); + kkt_iteration_limit = std::max(HighsInt(100), kkt_iteration_limit); ipm.setOptionValue("kkt_iteration_limit", kkt_iteration_limit); HighsLp lpmodel(*mipsolver.model_); lpmodel.col_cost_.assign(lpmodel.num_col_, 0.0);