Skip to content

Commit 7f2399c

Browse files
committed
Clique stuff should not treat fixed at 1 as binary
1 parent 69c1a12 commit 7f2399c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/CoinDynamicConflictGraph.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ CoinDynamicConflictGraph::CoinDynamicConflictGraph (
164164
for (size_t j = start[idxRow]; j < (size_t)start[idxRow] + length[idxRow]; j++) {
165165
const size_t idxCol = idxs[j];
166166
const double coefCol = coefs[j] * mult;
167-
const bool isBinary = ((colType[idxCol] != 0) && (colLB[idxCol] == 1.0 || colLB[idxCol] == 0.0)
167+
const bool isBinary = ((colType[idxCol] != 0) && (colLB[idxCol] == 0.0)
168168
&& (colUB[idxCol] == 0.0 || colUB[idxCol] == 1.0));
169169

170170
if (!isBinary) {

0 commit comments

Comments
 (0)