Ignore:
Timestamp:
May 19, 2005 11:24:16 AM (14 years ago)
Author:
forrest
Message:

starting dynamic pseudo costs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/CbcBranchLotsize.cpp

    r129 r135  
    421421{
    422422  OsiSolverInterface * solver = model_->solver();
    423   const double * solution = model_->currentSolution();
     423  const double * solution = model_->testSolution();
    424424  const double * lower = solver->getColLower();
    425425  const double * upper = solver->getColUpper();
     
    486486  const double * lower = solver->getColLower();
    487487  const double * upper = solver->getColUpper();
    488   const double * solution = model_->currentSolution();
     488  const double * solution = model_->testSolution();
    489489  double value = solution[columnNumber_];
    490490  value = CoinMax(value, lower[columnNumber_]);
     
    523523{
    524524  OsiSolverInterface * solver = model_->solver();
    525   const double * solution = model_->currentSolution();
     525  const double * solution = model_->testSolution();
    526526  const double * lower = solver->getColLower();
    527527  const double * upper = solver->getColUpper();
     
    545545{
    546546  OsiSolverInterface * solver = model_->solver();
    547   double value = model_->currentSolution()[columnNumber_];
     547  double value = model_->testSolution()[columnNumber_];
    548548
    549549  bool feasible = findRange(value);
     
    593593{
    594594  OsiSolverInterface * solver = model_->solver();
    595   double value = model_->currentSolution()[columnNumber_];
     595  double value = model_->testSolution()[columnNumber_];
    596596
    597597  double nearest = floor(value+0.5);
Note: See TracChangeset for help on using the changeset viewer.