Skip to content

Commit ecb8d84

Browse files
committed
only redo if startFinishOptions==7
1 parent 0a59438 commit ecb8d84

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/ClpSimplex.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6025,9 +6025,8 @@ int ClpSimplex::dualDebug(int ifValuesPass, int startFinishOptions)
60256025
else if (secondaryStatus_ == 2)
60266026
secondaryStatus_ = 4;
60276027
}
6028-
#if 0
60296028
// May be perturbed
6030-
if (perturbation_ == 101 || numberChanged_) {
6029+
if (startFinishOptions==7&&(perturbation_ == 101 || numberChanged_)) {
60316030
numberChanged_ = 0; // Number of variables with changed costs
60326031
perturbation_ = 102; // stop any perturbations
60336032
//double changeCost;
@@ -6043,7 +6042,6 @@ int ClpSimplex::dualDebug(int ifValuesPass, int startFinishOptions)
60436042
computeObjectiveValue(true);
60446043
}
60456044
}
6046-
#endif
60476045
// see if cutoff reached
60486046
double limit = 0.0;
60496047
getDblParam(ClpDualObjectiveLimit, limit);

0 commit comments

Comments
 (0)