Changeset 1435 for stable/1.10
- Timestamp:
- Sep 25, 2009 11:22:06 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
stable/1.10/Clp/src/ClpSimplexDual.cpp
r1406 r1435 3655 3655 } 3656 3656 3657 if (sequenceIn_>=0) {3658 3657 #ifdef MORE_CAREFUL 3659 3658 // If we have done pivots and things look bad set alpha_ 0.0 to force factorization 3660 if (badSumPivots) { 3659 if (badSumPivots|| 3660 fabs(theta_*badFree)>10.0*dualTolerance_&&factorization_->pivots()) { 3661 3661 if (handler_->logLevel()>1) 3662 3662 printf("forcing re-factorization\n"); 3663 alpha_=0.0; 3664 } 3665 if (fabs(theta_*badFree)>10.0*dualTolerance_&&factorization_->pivots()) { 3666 if (handler_->logLevel()>1) 3667 printf("forcing re-factorizationon free\n"); 3668 alpha_=0.0; 3669 } 3670 #endif 3663 sequenceIn_=-1; 3664 } 3665 #endif 3666 if (sequenceIn_>=0) { 3671 3667 lowerIn_ = lower_[sequenceIn_]; 3672 3668 upperIn_ = upper_[sequenceIn_]; … … 3733 3729 lowerIn_=valueIn_; 3734 3730 } 3731 } else { 3732 // no pivot 3733 bestPossible=0.0; 3734 alpha_=0.0; 3735 3735 } 3736 3736 //if (thisIncrease)
Note: See TracChangeset
for help on using the changeset viewer.