Skip to content

Commit

Permalink
take out complicated signed code
Browse files Browse the repository at this point in the history
  • Loading branch information
jjhforrest committed Feb 18, 2024
1 parent 293e6e9 commit ce61bc6
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/CoinPresolveDupcol.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2164,6 +2164,15 @@ const CoinPresolveAction
printf("row1 %g <= %g x0 + %g x1 <= %g - translated %g x0 + %g x1 <= %g\n",
rlo[row1],els1x[0],els1x[1],rup[row1],els[1][0],els[1][1],rhs[1]);
#endif
// Coding below has a bug - very complicated
// so just check for duplicate when flipped
if (rhs[0]==rhs[1]&&els[0][0]==els[1][0]&&els[0][1]==els[1][1]) {
// duplicate
// make row0 free
rlo[row0]=-COIN_DBL_MAX;
rup[row0]=COIN_DBL_MAX;
}
continue;
double value0=COIN_DBL_MAX;
double value1=COIN_DBL_MAX;
if (obj[0]>0.0) {
Expand Down

0 comments on commit ce61bc6

Please sign in to comment.