Ignore:
Timestamp:
Mar 16, 2009 6:30:25 AM (10 years ago)
Author:
forrest
Message:

chnages to try and make faster

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Cbc/src/CbcStrategy.hpp

    r706 r1132  
    123123
    124124  // Default Constructor
    125   CbcStrategyDefault (bool cutsOnlyAtRoot=true,
     125  CbcStrategyDefault (int cutsOnlyAtRoot=1,
    126126                      int numberStrong=5,
    127127                      int numberBeforeTrust=0,
     
    160160  // Data
    161161
    162   // Whether to do cuts only at root
    163   bool cutsOnlyAtRoot_;
     162  // Whether to do cuts only at root (-1 -> switch off totally)
     163  int cutsOnlyAtRoot_;
    164164
    165165  // How much strong branching to do
     
    197197
    198198  // Default Constructor
    199   CbcStrategyDefaultSubTree (CbcModel * parent=NULL,bool cutsOnlyAtRoot=true,
     199  CbcStrategyDefaultSubTree (CbcModel * parent=NULL,int cutsOnlyAtRoot=1,
    200200                      int numberStrong=5,
    201201                      int numberBeforeTrust=0,
     
    223223  // Parent model
    224224  CbcModel * parentModel_;
    225   // Whether to do cuts only at root
    226   bool cutsOnlyAtRoot_;
     225  // Whether to do cuts only at root (-1 -> switch off totally)
     226  int cutsOnlyAtRoot_;
    227227
    228228  // How much strong branching to do
Note: See TracChangeset for help on using the changeset viewer.