Ignore:
Timestamp:
Dec 13, 2007 9:55:08 AM (12 years ago)
Author:
forrest
Message:

for threaded random numbers

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Clp/src/Idiot.cpp

    r1115 r1141  
    455455  double * rowlower= new double[nrows]; // not const as modified
    456456  memcpy(rowlower,model_->getRowLower(),nrows*sizeof(double));
     457  CoinThreadRandom * randomNumberGenerator=model_->randomNumberGenerator();
    457458  int * whenUsed;
    458459  double * lambda;
     
    729730                       lower,upper,elemXX,row,columnStart,columnLength,lambda,
    730731                       0,mu,drop,
    731                        maxmin,offset,strategy,djTol,djExit,djFlag);
     732                      maxmin,offset,strategy,djTol,djExit,djFlag,randomNumberGenerator);
    732733  // update whenUsed_
    733734  n = cleanIteration(iteration, ordStart,ordEnd,
     
    794795                     lower,upper,elemXX,row,columnStart,columnLength,lambda,
    795796                     maxIts,mu,drop,
    796                      maxmin,offset,strategy,djTol,djExit,djFlag);
     797                     maxmin,offset,strategy,djTol,djExit,djFlag,randomNumberGenerator);
    797798    n = cleanIteration(iteration, ordStart,ordEnd,
    798799                       colsol,  lower,  upper,
Note: See TracChangeset for help on using the changeset viewer.