Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • stable/2.9/Cbc/src/CbcModel.cpp

    r2267 r2199  
    21242124          }
    21252125          delete solver_ ;
    2126           solverCharacteristics_=NULL;
    21272126          solver_ = continuousSolver_ ;
    21282127          setPointers(solver_);
     
    61646163    }
    61656164    // Space for current solution
    6166     if (numberColumns) {
    6167       currentSolution_ = new double[numberColumns];
    6168       continuousSolution_ = CoinCopyOfArray(solver_->getColSolution(),numberColumns);
    6169       usedInSolution_ = new int[numberColumns];
    6170       CoinZeroN(usedInSolution_, numberColumns);
    6171     } else {
    6172       currentSolution_ = NULL;
    6173       continuousSolution_ = NULL;
    6174       usedInSolution_ = NULL;
    6175     }
     6165    currentSolution_ = new double[numberColumns];
     6166    continuousSolution_ = CoinCopyOfArray(solver_->getColSolution(),numberColumns);
     6167    usedInSolution_ = new int[numberColumns];
     6168    CoinZeroN(usedInSolution_, numberColumns);
    61766169    testSolution_ = currentSolution_;
    61776170    numberRowsAtContinuous_ = rhs.numberRowsAtContinuous_;
     
    86418634                numberTries = -1000; // exit
    86428635                feasible = false;
    8643                 delete [] addCuts ;
    86448636                break;
    86458637            }
Note: See TracChangeset for help on using the changeset viewer.