Changeset 1293


Ignore:
Timestamp:
Oct 20, 2008 6:12:21 AM (11 years ago)
Author:
forrest
Message:

fix pivotVariable_ on empty problem

File:
1 edited

Legend:

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

    r1288 r1293  
    81228122    bool printIt = (specialOptions_&32768)==0 ? true : false; // no message if from Osi
    81238123    problemStatus_=emptyProblem(infeasNumber,infeasSum,printIt);
     8124    if ((startFinishOptions&1)!=0) {
     8125      // User may expect user data - fill in as required
     8126      if (numberRows_) {
     8127        if (!pivotVariable_)
     8128          pivotVariable_ = new int [numberRows_];
     8129        CoinIotaN(pivotVariable_,numberRows_,numberColumns_);
     8130      }
     8131    }
    81248132    numberDualInfeasibilities_=infeasNumber[0];
    81258133    sumDualInfeasibilities_=infeasSum[0];
Note: See TracChangeset for help on using the changeset viewer.