Skip to content

Commit

Permalink
try and fix SC preprocess bug
Browse files Browse the repository at this point in the history
  • Loading branch information
jjhforrest committed Sep 27, 2023
1 parent a2437bf commit 42eed7c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/CglPreProcess/CglPreProcess.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5718,9 +5718,9 @@ void CglPreProcess::postProcess(OsiSolverInterface &modelIn, int deleteStuff)
#endif
if (scBound) {
double value = solutionM[iColumn];
int jColumn = original[iColumn];
if (scBound[jColumn]!=-COIN_DBL_MAX) {
double lower =scBound[jColumn];
int jColumn2 = original[iColumn];
if (scBound[jColumn2]!=-COIN_DBL_MAX) {
double lower =scBound[jColumn2];
assert (value<1.0e-5||value>lower-1.0e-5);
if (value<1.0e-5) {
modelM2->setColUpper(jColumn,0.0);
Expand Down

0 comments on commit 42eed7c

Please sign in to comment.