Skip to content

Commit 8ddee18

Browse files
authored
Merge pull request #2688 from ZhaoWeiWang0319/fix2685
Fix #2685: correctly skip fixed variables in clique merging
2 parents daac261 + 1dcf530 commit 8ddee18

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

highs/mip/HighsCliqueTable.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1973,7 +1973,7 @@ void HighsCliqueTable::runCliqueMerging(HighsDomain& globaldomain,
19731973

19741974
HighsInt initialCliqueSize = clique.size();
19751975
for (HighsInt i = 0; i != initialCliqueSize; ++i) {
1976-
if (globaldomain.isFixed(cliqueentries[i].col)) continue;
1976+
if (globaldomain.isFixed(clique[i].col)) continue;
19771977

19781978
HighsInt thisNumClqs = numCliques(clique[i]);
19791979
if (thisNumClqs < numcliques) {

0 commit comments

Comments
 (0)