Skip to content

Commit 641121d

Browse files
committed
No longer skip single cand eval
1 parent f5ae673 commit 641121d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

highs/mip/HighsSearch.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,6 @@ HighsInt HighsSearch::selectBranchingCandidate(int64_t maxSbIters,
254254
std::vector<double> downbound;
255255

256256
HighsInt numfrac = lp->getFractionalIntegers().size();
257-
if (numfrac == 1) return 0;
258257
const auto& fracints = lp->getFractionalIntegers();
259258

260259
upscore.resize(numfrac, kHighsInf);
@@ -531,7 +530,7 @@ HighsInt HighsSearch::selectBranchingCandidate(int64_t maxSbIters,
531530
}
532531
};
533532

534-
auto strongBranch = [&](bool upbranch) {
533+
auto strongBranch = [&](bool upbranch) -> bool {
535534
int64_t inferences = -(int64_t)localdom.getDomainChangeStack().size() - 1;
536535
HighsBoundType boundtype =
537536
upbranch ? HighsBoundType::kLower : HighsBoundType::kUpper;

0 commit comments

Comments
 (0)