Ignore:
Timestamp:
Oct 8, 2008 4:22:42 AM (13 years ago)
Author:
forrest
Message:

changes for cbc event handler and multiple factorizations

File:
1 edited

Legend:

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

    r1286 r1287  
    401401  }
    402402  saveStatus_=NULL;
    403 #ifdef CLP_MULTIPLE_FACTORIZATIONS   
    404   factorization_ = new ClpFactorization(*rhs->factorization_,numberRows_);
    405 #else
    406   factorization_ = new ClpFactorization(*rhs->factorization_);
    407 #endif
     403  factorization_ = new ClpFactorization(*rhs->factorization_,-numberRows_);
    408404  ClpDualRowDantzig * pivot =
    409405    dynamic_cast< ClpDualRowDantzig*>(rhs->dualRowPivot_);
     
    21932189  if (rhs.factorization_) {
    21942190    delete factorization_;
    2195     factorization_ = new ClpFactorization(*rhs.factorization_);
     2191    factorization_ = new ClpFactorization(*rhs.factorization_,numberRows_);
    21962192  } else {
    21972193    factorization_=NULL;
     
    49224918{
    49234919  delete factorization_;
    4924   factorization_= new ClpFactorization(factorization);
     4920  factorization_= new ClpFactorization(factorization,numberRows_);
    49254921}
    49264922// Copies in factorization to existing one
Note: See TracChangeset for help on using the changeset viewer.