Ignore:
Timestamp:
Aug 16, 2006 10:42:16 AM (13 years ago)
Author:
forrest
Message:

fix bug

File:
1 edited

Legend:

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

    r754 r850  
    17121712        delete presolvedModel_;
    17131713        presolvedModel_ = new ClpSimplex(*originalModel);
     1714        // but we need to remove gaps
     1715        ClpPackedMatrix* clpMatrix =
     1716          dynamic_cast< ClpPackedMatrix*>(presolvedModel_->clpMatrix());
     1717        if (clpMatrix) {
     1718          clpMatrix->getPackedMatrix()->removeGaps();
     1719        }
    17141720#ifndef CLP_NO_STD
    17151721      } else {
Note: See TracChangeset for help on using the changeset viewer.