Changeset 2564


Ignore:
Timestamp:
May 2, 2019 11:54:51 PM (6 months ago)
Author:
stefan
Message:

change default for max number of nodes from 9999999 to COIN_INT_MAX

  • why would one want to stop when reaching 10 million nodes?
File:
1 edited

Legend:

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

    r2547 r2564  
    56435643{
    56445644  memset(intParam_, 0, sizeof(intParam_));
    5645   intParam_[CbcMaxNumNode] = 2147483647;
    5646   intParam_[CbcMaxNumSol] = 9999999;
     5645  intParam_[CbcMaxNumNode] = COIN_INT_MAX;
     5646  intParam_[CbcMaxNumSol] = COIN_INT_MAX;
    56475647
    56485648  memset(dblParam_, 0, sizeof(dblParam_));
     
    58145814{
    58155815  memset(intParam_, 0, sizeof(intParam_));
    5816   intParam_[CbcMaxNumNode] = 2147483647;
    5817   intParam_[CbcMaxNumSol] = 9999999;
     5816  intParam_[CbcMaxNumNode] = COIN_INT_MAX;
     5817  intParam_[CbcMaxNumSol] = COIN_INT_MAX;
    58185818
    58195819  memset(dblParam_, 0, sizeof(dblParam_));
Note: See TracChangeset for help on using the changeset viewer.