Changeset 1834 for trunk


Ignore:
Timestamp:
Dec 12, 2011 12:01:03 PM (8 years ago)
Author:
lou
Message:

Disable some asserts enabled by PRESOLVE_DEBUG. Clp appears to return
incorrect status at start of postsolve, hence checks fail.

File:
1 edited

Legend:

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

    r1801 r1834  
    959959
    960960#if     PRESOLVE_DEBUG
     961#         if 0
     962          /*
     963            This check fails (on exmip1 (!) in osiUnitTest) because clp
     964            enters postsolve with a solution that seems to have incorrect
     965            status for a logical. You can see similar behaviour with
     966            column status --- incorrect entering postsolve.
     967            -- lh, 111207 --
     968          */
    961969          {
    962970               int nr = 0;
     
    980988               printf("%d rows (%d basic), %d cols (%d basic)\n", prob.nrows_, nr, prob.ncols_, nc);
    981989          }
     990#         endif   // if 0
    982991          checkit++;
    983992          if (prob.colstat_ && checkit > 0) {
     
    13951404}
    13961405
     1406// avoid compiler warnings
     1407#if PRESOLVE_SUMMARY > 0
     1408void CoinPresolveMatrix::update_model(ClpSimplex * si,
     1409                                      int nrows0, int ncols0,
     1410                                      CoinBigIndex nelems0)
     1411#else
    13971412void CoinPresolveMatrix::update_model(ClpSimplex * si,
    13981413                                      int /*nrows0*/,
    13991414                                      int /*ncols0*/,
    14001415                                      CoinBigIndex /*nelems0*/)
     1416#endif
    14011417{
    14021418     si->loadProblem(ncols_, nrows_, mcstrt_, hrow_, colels_, hincol_,
Note: See TracChangeset for help on using the changeset viewer.