From 84c1ef6a2beab3b967fe4c92bb23f4ea2449e239 Mon Sep 17 00:00:00 2001 From: Yu Xie Date: Tue, 28 Nov 2023 20:12:53 -0500 Subject: [PATCH] when IDIC is not set, add a check: isLowerObjInt_ --- src/MibSModel.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/MibSModel.cpp b/src/MibSModel.cpp index 08152950..942a3608 100644 --- a/src/MibSModel.cpp +++ b/src/MibSModel.cpp @@ -3845,7 +3845,8 @@ MibSModel::adjustParameters() paramValue = MibSPar_->entry(MibSParams::useImprovingDirectionIC); if (paramValue == PARAM_NOTSET){ - if (isPureInteger_ == false || isLowerCoeffInt_ == false || isInterdict_ == true){ + if (isPureInteger_ == false || isLowerCoeffInt_ == false || + isLowerObjInt_ == false || isInterdict_ == true){ MibSPar()->setEntry(MibSParams::useImprovingDirectionIC, PARAM_OFF); }else{ MibSPar()->setEntry(MibSParams::useImprovingDirectionIC, PARAM_ON);