Changeset 2872


Ignore:
Timestamp:
Feb 14, 2020 4:18:52 PM (22 months ago)
Author:
unxusr
Message:

C Interface: set time limit on CLP only when solving a LP, let Cbc set the time limit otherwise

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/Cbc_C_Interface.cpp

    r2871 r2872  
    15401540  if (solver->basisIsAvailable()) {
    15411541    solver->resolve();
     1542    clps->setMaximumWallSeconds(DBL_MAX);
    15421543    if (solver->isProvenOptimal())
    15431544      return 0;
     
    16891690  model->lastOptimization = ContinuousOptimization;
    16901691  solver->initialSolve();
     1692  clps->setMaximumWallSeconds(DBL_MAX);
    16911693
    16921694  if (solver->isProvenOptimal())
Note: See TracChangeset for help on using the changeset viewer.