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

changes for cbc event handler and multiple factorizations

File:
1 edited

Legend:

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

    r1286 r1287  
    311311      // Can't get here if values pass
    312312      gutsOfSolution(NULL,NULL);
     313      //if (numberDualInfeasibilities_)
     314      //printf("ZZZ %d primal %d dual - cost %g\n",
     315      //       numberPrimalInfeasibilities_,
     316      //       numberDualInfeasibilities_,cost_[0]);
    313317      if (handler_->logLevel()>2) {
    314318        handler_->message(CLP_SIMPLEX_STATUS,messages_)
     
    331335        } else if (numberDualInfeasibilities_) {
    332336          problemStatus_=10;
     337          if ((moreSpecialOptions_&32)!=0&&false)
     338            problemStatus_ = 0; // say optimal!!
    333339#if COIN_DEVELOP>2
    334340         
     
    52025208    CoinMemcpyN(savePivot, numberRows_,pivotVariable_);
    52035209    delete factorization_;
    5204     factorization_ = new ClpFactorization(saveFactorization);
     5210    factorization_ = new ClpFactorization(saveFactorization,numberRows_);
    52055211
    52065212    newUpper[i]=objectiveChange;
     
    52655271    CoinMemcpyN(savePivot, numberRows_,pivotVariable_);
    52665272    delete factorization_;
    5267     factorization_ = new ClpFactorization(saveFactorization);
     5273    factorization_ = new ClpFactorization(saveFactorization,numberRows_);
    52685274
    52695275    newLower[i]=objectiveChange;
     
    56025608          numberRows_+numberColumns_,saveObjective);
    56035609  CoinMemcpyN(pivotVariable_, numberRows_,savePivot);
    5604   return new ClpFactorization(*factorization_);
     5610  return new ClpFactorization(*factorization_,numberRows_);
    56055611}
    56065612// This cleans up after strong branching
Note: See TracChangeset for help on using the changeset viewer.