Changeset 1818 for stable


Ignore:
Timestamp:
Nov 29, 2012 8:23:43 AM (6 years ago)
Author:
stefan
Message:

do not set node and timelimit to 0 when receiving SIGINT

File:
1 edited

Legend:

Unmodified
Added
Removed
  • stable/2.8/Cbc/src/CbcSolver.cpp

    r1815 r1818  
    828828extern "C" {
    829829    static void signal_handler(int /*whichSignal*/) {
    830         if (currentBranchModel != NULL) {
    831             currentBranchModel->setMaximumNodes(0); // stop at next node
    832             currentBranchModel->setMaximumSeconds(0.0); // stop
     830        if (currentBranchModel != NULL)
    833831            currentBranchModel->sayEventHappened(); // say why stopped
    834         }
    835832        return;
    836833    }
Note: See TracChangeset for help on using the changeset viewer.