Ignore:
Timestamp:
Apr 10, 2013 9:30:07 AM (6 years ago)
Author:
forrest
Message:

fix some examples and a bug on repeated use of same CbcModel?

File:
1 edited

Legend:

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

    r1899 r1900  
    222222                // Could change to #ifdef CBC_DEBUG
    223223#ifndef NDEBUG
    224                 if (model_->messageHandler()->logLevel() > 2)
     224                if (model_->messageHandler()->logLevel() > 2 &&
     225                    value > upper[iColumn] + integerTolerance)
    225226                    printf("** Variable %d (%d) has value %g and upper bound of %g\n",
    226227                           iColumn, j, value, upper[iColumn]);
Note: See TracChangeset for help on using the changeset viewer.