Changeset 2329


Ignore:
Timestamp:
Jan 22, 2017 2:04:13 PM (20 months ago)
Author:
forrest
Message:

can't see why need to solve infeasible lp

File:
1 edited

Legend:

Unmodified
Added
Removed
  • stable/2.9/Cbc/src/CbcModel.cpp

    r2315 r2329  
    21202120          continuousSolver_->resolve() ;
    21212121          if (!continuousSolver_->isProvenOptimal()) {
    2122             continuousSolver_->messageHandler()->setLogLevel(2) ;
     2122            continuousSolver_->messageHandler()->setLogLevel(1) ;
    21232123            continuousSolver_->initialSolve() ;
    21242124          }
     
    52465246    delete globalConflictCuts_;
    52475247    globalConflictCuts_=NULL;
    5248     if (!bestSolution_ && (specialOptions_&8388608)==0) {
     5248    if (!bestSolution_ && (specialOptions_&8388608)==0 && false) {
    52495249        // make sure lp solver is infeasible
    52505250        int numberColumns = solver_->getNumCols();
     
    52555255                solver_->setColUpper(iColumn, columnLower[iColumn]);
    52565256        }
     5257#ifdef COIN_HAS_CLP
     5258        {
     5259          OsiClpSolverInterface * clpSolver
     5260            = dynamic_cast<OsiClpSolverInterface *> (solver_);
     5261          if (clpSolver) {
     5262            solver_->setHintParam(OsiDoPresolveInInitial, true, OsiHintDo) ;
     5263            solver_->setHintParam(OsiDoDualInInitial, true, OsiHintDo) ;
     5264            ClpSimplex * simplex = clpSolver->getModelPtr();
     5265            simplex->allSlackBasis();
     5266          }
     5267        }
     5268#endif
    52575269        solver_->initialSolve();
    52585270    }
Note: See TracChangeset for help on using the changeset viewer.