Ignore:
Timestamp:
Feb 18, 2019 8:32:42 AM (8 months ago)
Author:
unxusr
Message:

time limit in C interface

File:
1 edited

Legend:

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

    r2494 r2495  
    18301830}
    18311831
     1832COINLIBAPI double COINLINKAGE
     1833Cbc_getMaximumSeconds(Cbc_Model *model)
     1834{
     1835  return model->model_->getMaximumSeconds();
     1836}
     1837
     1838COINLIBAPI void COINLINKAGE
     1839Cbc_setMaximumSeconds(Cbc_Model *model, double maxSeconds)
     1840{
     1841  model->model_->setMaximumSeconds(maxSeconds);
     1842}
     1843
    18321844#if defined(__MWERKS__)
    18331845#pragma export off
Note: See TracChangeset for help on using the changeset viewer.