Ignore:
Timestamp:
Aug 3, 2007 12:07:00 PM (13 years ago)
Author:
forrest
Message:

message handling and sos to CbcSolver?

File:
1 edited

Legend:

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

    r718 r720  
    1414#include <iostream>
    1515  // define TEST_MESSAGE_HANDLER to check works on all messages
    16   //#define TEST_MESSAGE_HANDLER
     16//#define TEST_MESSAGE_HANDLER
    1717#ifdef TEST_MESSAGE_HANDLER
    1818// This driver shows how to trap messages - this is just as in unitTest.cpp
     
    211211  clpSolver->messageHandler()->setLogLevel(1) ;
    212212  model.messageHandler()->setLogLevel(1);
     213  // switch off some printing
     214  void setCbcOrClpPrinting(bool yesNo);
     215  setCbcOrClpPrinting(false);
    213216#endif
    214217  int returnCode = CbcMain1 (argc, argv,model);
    215218  if (returnCode!=777) {
     219    //const CoinWarmStartBasis* debugws =
     220    //dynamic_cast <const CoinWarmStartBasis*>(model.solver()->getWarmStart()) ;
     221    //debugws->print() ;
     222    //delete debugws ;
    216223    return returnCode;
    217224  } else {
Note: See TracChangeset for help on using the changeset viewer.