Changeset 849 for branches


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

bug

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/devel/Clp/src/ClpPresolve.cpp

    r754 r849  
    1313
    1414#include "CoinPackedMatrix.hpp"
     15#include "ClpPackedMatrix.hpp"
    1516#include "ClpSimplex.hpp"
    1617#ifndef SLIM_CLP
     
    17121713        delete presolvedModel_;
    17131714        presolvedModel_ = new ClpSimplex(*originalModel);
     1715        // but we need to remove gaps
     1716        ClpPackedMatrix* clpMatrix =
     1717          dynamic_cast< ClpPackedMatrix*>(presolvedModel_->clpMatrix());
     1718        if (clpMatrix) {
     1719          clpMatrix->getPackedMatrix()->removeGaps();
     1720        }
    17141721#ifndef CLP_NO_STD
    17151722      } else {
Note: See TracChangeset for help on using the changeset viewer.