Ignore:
Timestamp:
Oct 9, 2006 5:20:45 PM (13 years ago)
Author:
forrest
Message:

fix tiny bug

File:
1 edited

Legend:

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

    r441 r444  
    7171  fprintf(fp,"0#include \"CbcHeuristicFPump.hpp\"\n");
    7272  fprintf(fp,"3  CbcHeuristicFPump heuristicFPump(*cbcModel);\n");
     73  if (when_!=other.when_)
     74    fprintf(fp,"3  heuristicFPump.setWhen(%d);\n",when_);
     75  else
     76    fprintf(fp,"4  heuristicFPump.setWhen(%d);\n",when_);
    7377  if (maximumPasses_!=other.maximumPasses_)
    7478    fprintf(fp,"3  heuristicFPump.setMaximumPasses(%d);\n",maximumPasses_);
     
    594598      cutoff -= CoinMax(CoinMax(gap,absoluteIncrement_),model_->getCutoffIncrement());
    595599      printf("round again with cutoff of %g\n",cutoff);
    596       if (accumulate_<2)
     600      if (accumulate_<2&&usedColumn)
    597601        memset(usedColumn,0,numberColumns);
    598602      totalNumberPasses += numberPasses;
Note: See TracChangeset for help on using the changeset viewer.