Changeset 1977


Ignore:
Timestamp:
Aug 31, 2013 6:20:34 AM (6 years ago)
Author:
forrest
Message:

fix for tiny qp

Location:
trunk/Clp/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Clp/src/ClpPresolve.cpp

    r1972 r1977  
    20852085     ClpDisjointCopyN(si->getColSolution(), ncols1, sol_);
    20862086     si->setDblParam(ClpObjOffset, originalOffset_);
    2087 
     2087     // Test below only needed for QP ..... but .....
     2088     // To switch off define COIN_SLOW_PRESOLVE=0
     2089#ifndef COIN_SLOW_PRESOLVE
     2090#define COIN_SLOW_PRESOLVE 1
     2091#endif
    20882092     for (int j = 0; j < ncols1; j++) {
    2089 #ifdef COIN_SLOW_PRESOLVE
     2093#if COIN_SLOW_PRESOLVE
    20902094       if (hincol_[j]) {
    20912095#endif
     
    20962100          }
    20972101          link_[kce-1] = NO_LINK ;
    2098 #ifdef COIN_SLOW_PRESOLVE
     2102#if COIN_SLOW_PRESOLVE
    20992103       }
    21002104#endif
  • trunk/Clp/src/ClpSimplexDual.cpp

    r1972 r1977  
    48374837                              //createRim4(false);
    48384838                         }
     4839                         // but double check
     4840                         if (!numberPrimalInfeasibilities_) {
     4841                           problemStatus_=-1;
     4842                           doOriginalTolerance=2;
     4843                         }
    48394844                    } else {
    48404845                         problemStatus_ = -1; //iterate
Note: See TracChangeset for help on using the changeset viewer.