Changeset 1769 for trunk/Clp/src/ClpSimplexPrimal.cpp
- Timestamp:
- Jul 26, 2011 5:31:51 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Clp/src/ClpSimplexPrimal.cpp
r1761 r1769 895 895 int status = eventHandler_->event(ClpEventHandler::goodFactorization); 896 896 if (status >= 0) { 897 numberThrownOut=status; 898 } else { 899 numberThrownOut = gutsOfSolution(NULL, NULL, (firstFree_ >= 0)); 897 lastSumInfeasibility = COIN_DBL_MAX; 900 898 } 901 #e lse899 #endif 902 900 numberThrownOut = gutsOfSolution(NULL, NULL, (firstFree_ >= 0)); 903 #endif904 901 double sumInfeasibility = nonLinearCost_->sumInfeasibilities(); 905 902 int reason2 = 0; … … 3163 3160 if (pivotRow_ >= numberRows_) 3164 3161 pivotRow_ = -1; 3162 #ifdef CLP_USER_DRIVEN 3163 if (theta_<0.0) { 3164 if (theta_>=-1.0e-12) 3165 theta_=0.0; 3166 //else 3167 //printf("negative theta %g\n",theta_); 3168 } 3169 #endif 3165 3170 updatePrimalsInPrimal(rowArray_[1], theta_, objectiveChange, ifValuesPass); 3166 3171 pivotRow_ = savePivot;
Note: See TracChangeset
for help on using the changeset viewer.