Changeset 751


Ignore:
Timestamp:
Aug 14, 2007 8:43:00 AM (12 years ago)
Author:
forrest
Message:

relax test to pick up stupid formulations

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Cbc/src/CbcModel.cpp

    r750 r751  
    517517#ifndef NDEBUG
    518518  {
     519#ifdef COIN_DEVELOP
     520    double big = 1.0e10;
     521#else
     522    double big = 1.0e20;
     523#endif
    519524    int i;
    520525    int n = solver_->getNumCols();
     
    522527    const double *upper = solver_->getColUpper() ;
    523528    for (i=0;i<n;i++) {
    524       assert (lower[i]<1.0e10);
    525       assert (upper[i]>-1.0e10);
     529      assert (lower[i]<big);
     530      assert (upper[i]>-big);
    526531    }
    527532    n = solver_->getNumRows();
     
    529534    upper = solver_->getRowUpper() ;
    530535    for (i=0;i<n;i++) {
    531       assert (lower[i]<1.0e10);
    532       assert (upper[i]>-1.0e10);
     536      assert (lower[i]<big);
     537      assert (upper[i]>-big);
    533538    }
    534539  }
Note: See TracChangeset for help on using the changeset viewer.