Changeset 858


Ignore:
Timestamp:
Jan 18, 2008 11:58:33 AM (11 years ago)
Author:
forrest
Message:

force more to depth first if tree too big

File:
1 edited

Legend:

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

    r724 r858  
    337337    double size = n1*0.1 + n2*2.0;
    338338    // set weight to reduce size most of time
    339     if (treeSize_*size>5.0e7)
    340       weight_=-1.0;
     339    if (treeSize_*(size+100.0)>5.0e7)
     340      weight_=-3.0;
    341341    else if ((numberNodes1000%4)==0&&treeSize_*size>1.0e6)
    342342      weight_=-1.0;
Note: See TracChangeset for help on using the changeset viewer.