Ignore:
Timestamp:
Mar 6, 2011 2:38:18 PM (8 years ago)
Author:
forrest
Message:

allow for problems with large integers

File:
1 edited

Legend:

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

    r1573 r1608  
    538538    double nub = model_->solver()->getColUpper()[iColumn];
    539539    if (nlb < olb) {
    540 #ifndef NDEBUG
     540#ifdef CBC_PRINT2
    541541        printf("bad lb change for column %d from %g to %g\n", iColumn, olb, nlb);
    542542#endif
     
    545545    }
    546546    if (nub > oub) {
    547 #ifndef NDEBUG
     547#ifdef CBC_PRINT2
    548548        printf("bad ub change for column %d from %g to %g\n", iColumn, oub, nub);
    549549#endif
    550550        model_->solver()->setColUpper(iColumn, CoinMax(oub, nlb));
    551551    }
    552 #ifndef NDEBUG
     552#ifdef CBC_PRINT2
    553553    if (nlb < olb + 1.0e-8 && nub > oub - 1.0e-8 && false)
    554554        printf("bad null change for column %d - bounds %g,%g\n", iColumn, olb, oub);
Note: See TracChangeset for help on using the changeset viewer.