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.h

    r2494 r2495  
    545545Cbc_setAllowablePercentageGap(Cbc_Model *model, double allowedPercentageGap);
    546546
     547/** returns the time limit for the search process
     548 */
     549COINLIBAPI double COINLINKAGE
     550Cbc_getMaximumSeconds(Cbc_Model *model);
     551
     552/** sets the time limit for the search process
     553 */
     554COINLIBAPI void COINLINKAGE
     555Cbc_setMaximumSeconds(Cbc_Model *model, double maxSeconds);
     556
     557
    547558/** returns the maximum number of nodes that can be explored in the search tree
    548559 */
Note: See TracChangeset for help on using the changeset viewer.