Ignore:
Timestamp:
Oct 9, 2006 4:19:31 PM (14 years ago)
Author:
forrest
Message:

for local tree search and feasibility pump

File:
1 edited

Legend:

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

    r439 r441  
    85848584  if (nodeCompare_)
    85858585    nodeCompare_->generateCpp(fp);
     8586  tree_->generateCpp(fp);
    85868587  CbcModel defaultModel;
    85878588  CbcModel * other = &defaultModel;
     
    86238624  fprintf(fp,"%d  cbcModel->setPrintFrequency(%d);\n",iValue1==iValue2 ? 4 : 3,iValue1);
    86248625  fprintf(fp,"%d  cbcModel->setPrintFrequency(save_printFrequency);\n",iValue1==iValue2 ? 7 : 6);
     8626  iValue1 = this->getPrintingMode();
     8627  iValue2 = other->getPrintingMode();
     8628  fprintf(fp,"%d  int save_printingMode = cbcModel->getPrintingMode();\n",iValue1==iValue2 ? 2 : 1);
     8629  fprintf(fp,"%d  cbcModel->setPrintingMode(%d);\n",iValue1==iValue2 ? 4 : 3,iValue1);
     8630  fprintf(fp,"%d  cbcModel->setPrintingMode(save_printingMode);\n",iValue1==iValue2 ? 7 : 6);
    86258631  iValue1 = this->searchStrategy();
    86268632  iValue2 = other->searchStrategy();
Note: See TracChangeset for help on using the changeset viewer.