Changeset 1551 for trunk/Clp/src/ClpSimplexPrimal.cpp
- Timestamp:
- May 24, 2010 7:34:44 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Clp/src/ClpSimplexPrimal.cpp
r1533 r1551 2757 2757 // do ratio test and re-compute dj 2758 2758 #ifdef CLP_USER_DRIVEN 2759 if (solveType_ !=2||(moreSpecialOptions_&512)==0) {2760 #endif 2761 primalRow(rowArray_[1], rowArray_[3], rowArray_[2],2762 ifValuesPass);2759 if (solveType_ != 2 || (moreSpecialOptions_ & 512) == 0) { 2760 #endif 2761 primalRow(rowArray_[1], rowArray_[3], rowArray_[2], 2762 ifValuesPass); 2763 2763 #ifdef CLP_USER_DRIVEN 2764 2764 } else { 2765 int status = eventHandler_->event(ClpEventHandler::pivotRow);2766 if (status>=0) {2767 problemStatus_=5;2768 secondaryStatus_=ClpEventHandler::pivotRow;2769 2770 2771 2765 int status = eventHandler_->event(ClpEventHandler::pivotRow); 2766 if (status >= 0) { 2767 problemStatus_ = 5; 2768 secondaryStatus_ = ClpEventHandler::pivotRow; 2769 break; 2770 } 2771 } 2772 2772 #endif 2773 2773 if (ifValuesPass) { … … 2866 2866 } 2867 2867 if (pivotRow_ >= 0) { 2868 if (solveType_ ==2&&(moreSpecialOptions_&512)==0) {2868 if (solveType_ == 2 && (moreSpecialOptions_ & 512) == 0) { 2869 2869 // **** Coding for user interface 2870 2870 // do ray … … 2944 2944 clearAll(); 2945 2945 pivotRow_ = -1; 2946 if (solveType_ ==1||(moreSpecialOptions_&512)!=0) {2946 if (solveType_ == 1 || (moreSpecialOptions_ & 512) != 0) { 2947 2947 returnCode = -4; 2948 2948 break; … … 3005 3005 // do ray 3006 3006 primalRay(rowArray_[1]); 3007 } else if (solveType_ ==2&&(moreSpecialOptions_&512)==0) {3007 } else if (solveType_ == 2 && (moreSpecialOptions_ & 512) == 0) { 3008 3008 // refactorize 3009 3009 int lastCleaned = 0; … … 3112 3112 } 3113 3113 } 3114 if ((solveType_ ==2&&(moreSpecialOptions_&512)==0)&&3115 (returnCode == -2||returnCode==-3)) {3114 if ((solveType_ == 2 && (moreSpecialOptions_ & 512) == 0) && 3115 (returnCode == -2 || returnCode == -3)) { 3116 3116 // refactorize here 3117 3117 int lastCleaned = 0;
Note: See TracChangeset
for help on using the changeset viewer.