Changeset 465 for branches


Ignore:
Timestamp:
Oct 24, 2006 3:39:11 PM (13 years ago)
Author:
forrest
Message:

test pseudo shadow prices

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/devel/Cbc/src/CoinSolve.cpp

    r463 r465  
    20892089                  if (accumulate>=10) {
    20902090                    int which = accumulate/10;
    2091                     accumulate -= which;
     2091                    accumulate -= 10*which;
     2092                    which--;
    20922093                    // weights and factors
    20932094                    double weight[]={0.1,0.1,0.5,0.5,1.0,1.0,5.0,5.0};
     
    26112612                }
    26122613                int testOsiOptions = parameters[whichParam(TESTOSI,numberParameters,parameters)].intValue();
    2613                 if (testOsiOptions>0) {
     2614                if (testOsiOptions>=0) {
    26142615                  printf("Testing OsiObject options %d\n",testOsiOptions);
    26152616                  CbcBranchDefaultDecision decision;
     
    26192620                  choose.setNumberBeforeTrusted(babModel->numberBeforeTrust());
    26202621                  choose.setNumberStrong(babModel->numberStrong());
     2622                  choose.setShadowPriceMode(testOsiOptions);
    26212623                  decision.setChooseMethod(choose);
    26222624                  babModel->setBranchingMethod(decision);
Note: See TracChangeset for help on using the changeset viewer.