Changeset 70


Ignore:
Timestamp:
Mar 2, 2005 3:51:01 PM (16 years ago)
Author:
forrest
Message:

make it cleaner for addObjects

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/CbcModel.cpp

    r67 r70  
    491491  CbcCompareObjective compareObjective ;
    492492  CbcCompareDepth compareDepth ;
    493   CbcCompareDefault compareDefault(dblParam_[CbcInfeasibilityWeight]) ;
     493  CbcCompareDefault compareDefault ;
    494494  if (!nodeCompare_)
    495495    tree_->setComparison(compareDefault) ;
     
    36093609CbcModel::addObjects(int numberObjects, CbcObject ** objects)
    36103610{
     3611  // If integers but not enough objects fudge
     3612  if (numberIntegers_>numberObjects_)
     3613    findIntegers(true);
    36113614  int newNumberObjects= numberObjects+numberObjects_;
    36123615  CbcObject ** temp  = new CbcObject * [newNumberObjects];
Note: See TracChangeset for help on using the changeset viewer.