eventhdlr for soft time limit
Definition in file event_softtimelimit.c.
Go to the source code of this file.
Macros | |
#define | EVENTHDLR_NAME "softtimelimit" |
#define | EVENTHDLR_DESC "event handler for soft time limit" |
Functions | |
static | SCIP_DECL_EVENTCOPY (eventCopySofttimelimit) |
static | SCIP_DECL_EVENTFREE (eventFreeSofttimelimit) |
static | SCIP_DECL_EVENTINIT (eventInitSofttimelimit) |
static | SCIP_DECL_EVENTEXIT (eventExitSofttimelimit) |
static | SCIP_DECL_EVENTEXEC (eventExecSofttimelimit) |
SCIP_RETCODE | SCIPincludeEventHdlrSofttimelimit (SCIP *scip) |
#define EVENTHDLR_NAME "softtimelimit" |
Definition at line 27 of file event_softtimelimit.c.
Referenced by SCIP_DECL_EVENTCOPY(), SCIP_DECL_EVENTEXEC(), SCIP_DECL_EVENTEXIT(), SCIP_DECL_EVENTFREE(), SCIP_DECL_EVENTINIT(), and SCIPincludeEventHdlrSofttimelimit().
#define EVENTHDLR_DESC "event handler for soft time limit" |
Definition at line 28 of file event_softtimelimit.c.
Referenced by SCIPincludeEventHdlrSofttimelimit().
|
static |
copy method for event handler plugins (called when SCIP copies plugins) ! [SnippetEventCopySofttimelimit]
Definition at line 48 of file event_softtimelimit.c.
References EVENTHDLR_NAME, NULL, SCIP_CALL, SCIP_OKAY, SCIPeventhdlrGetName(), and SCIPincludeEventHdlrSofttimelimit().
|
static |
! [SnippetEventCopySofttimelimit] destructor of event handler to free user data (called when SCIP is exiting) ! [SnippetEventFreeSofttimelimit]
Definition at line 64 of file event_softtimelimit.c.
References EVENTHDLR_NAME, NULL, SCIP_OKAY, SCIPeventhdlrGetData(), SCIPeventhdlrGetName(), SCIPeventhdlrSetData(), and SCIPfreeBlockMemory.
|
static |
! [SnippetEventFreeSofttimelimit] initialization method of event handler (called after problem was transformed)
Definition at line 86 of file event_softtimelimit.c.
References EVENTHDLR_NAME, NULL, SCIP_CALL, SCIP_EVENTTYPE_BESTSOLFOUND, SCIP_OKAY, SCIPcatchEvent(), SCIPeventhdlrGetData(), SCIPeventhdlrGetName(), and SCIPisNegative().
|
static |
deinitialization method of event handler (called before transformed problem is freed)
Definition at line 108 of file event_softtimelimit.c.
References EVENTHDLR_NAME, NULL, SCIP_CALL, SCIP_EVENTTYPE_BESTSOLFOUND, SCIP_OKAY, SCIPdropEvent(), SCIPeventhdlrGetData(), and SCIPeventhdlrGetName().
|
static |
execution method of event handler
Definition at line 131 of file event_softtimelimit.c.
References EVENTHDLR_NAME, NULL, SCIP_CALL, SCIP_EVENTTYPE_BESTSOLFOUND, SCIP_OKAY, SCIP_Real, SCIP_VERBLEVEL_FULL, SCIPdebugMsg, SCIPdropEvent(), SCIPeventGetType(), SCIPeventhdlrGetData(), SCIPeventhdlrGetName(), SCIPgetRealParam(), SCIPsetRealParam(), and SCIPverbMessage().
SCIP_RETCODE SCIPincludeEventHdlrSofttimelimit | ( | SCIP * | scip | ) |
includes event handler for best solution found
scip | SCIP data structure |
Definition at line 166 of file event_softtimelimit.c.
References EVENTHDLR_DESC, EVENTHDLR_NAME, FALSE, NULL, SCIP_CALL, SCIP_OKAY, SCIP_REAL_MAX, SCIPaddRealParam(), SCIPallocBlockMemory, SCIPincludeEventhdlrBasic(), SCIPsetEventhdlrCopy(), SCIPsetEventhdlrExit(), SCIPsetEventhdlrFree(), and SCIPsetEventhdlrInit().
Referenced by SCIP_DECL_EVENTCOPY(), and SCIPincludeDefaultPlugins().