Changeset 2379 for trunk


Ignore:
Timestamp:
Aug 27, 2018 1:10:41 PM (11 months ago)
Author:
unxusr
Message:

since initialSolve can consume the whole time limit on large instances, check for time limit before starting preprocessing

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Cbc/src/CbcSolver.cpp

    r2378 r2379  
    40714071                                }
    40724072                              }
     4073                            bool hasTimePreproc = !babModel_->maximumSecondsReached();
     4074                            if (!hasTimePreproc)
     4075                                preProcess = 0;
    40734076                            if (preProcess && type == CBC_PARAM_ACTION_BAB) {
    40744077                                saveSolver = babModel_->solver()->clone();
Note: See TracChangeset for help on using the changeset viewer.