Changeset 1498 for stable/2.4


Ignore:
Timestamp:
Aug 28, 2010 11:14:01 AM (9 years ago)
Author:
stefan
Message:

use message handler to print warning

File:
1 edited

Legend:

Unmodified
Added
Removed
  • stable/2.4/Cbc/src/CbcBranchDynamic.cpp

    r1443 r1498  
    17881788    double distance = cutoff-objectiveValue;
    17891789    if (distance < 0.0){
    1790        std::cout << "Warning: cutoff is bigger than objectiveValue";
    1791        std::cout << std::endl;
     1790       *model->messageHandler() << "Warning: cutoff is bigger than objectiveValue" << CoinMessageEol;
    17921791    }
    17931792    //assert (distance>=0.0);
Note: See TracChangeset for help on using the changeset viewer.