Changeset 2021


Ignore:
Timestamp:
Feb 24, 2014 11:27:02 AM (5 years ago)
Author:
forrest
Message:

fix addColumns from CoinModel?

File:
1 edited

Legend:

Unmodified
Added
Removed
  • stable/1.15/Clp/src/ClpModel.cpp

    r1957 r2021  
    25862586               if (!tryPlusMinusOne) {
    25872587#endif
     2588                    /* addColumns just above extended matrix - to keep
     2589                       things clean - take off again.  I know it is a bit
     2590                       clumsy but won't break anything */
     2591                    {
     2592                      int * which = new int [numberColumns2];
     2593                      for (int i=0;i<numberColumns2;i++)
     2594                        which[i]=i+numberColumns;
     2595                      matrix_->deleteCols(numberColumns2,which);
     2596                      delete [] which;
     2597                    }
    25882598                    CoinPackedMatrix matrix;
    25892599                    modelObject.createPackedMatrix(matrix, associated);
Note: See TracChangeset for help on using the changeset viewer.