Scippy

SCIP

Solving Constraint Integer Programs

event_softtimelimit.c File Reference

Detailed Description

eventhdlr for soft time limit

Author
Gerald Gamrath

Definition in file event_softtimelimit.c.

#include "event_softtimelimit.h"
#include <string.h>

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)
 

Macro Definition Documentation

#define EVENTHDLR_DESC   "event handler for soft time limit"

Definition at line 28 of file event_softtimelimit.c.

Referenced by SCIPincludeEventHdlrSofttimelimit().

Function Documentation

static SCIP_DECL_EVENTCOPY ( eventCopySofttimelimit  )
static

copy method for event handler plugins (called when SCIP copies plugins)

Definition at line 47 of file event_softtimelimit.c.

References EVENTHDLR_NAME, NULL, SCIP_CALL, SCIP_OKAY, SCIPeventhdlrGetName(), and SCIPincludeEventHdlrSofttimelimit().

static SCIP_DECL_EVENTFREE ( eventFreeSofttimelimit  )
static

destructor of event handler to free user data (called when SCIP is exiting)

Definition at line 63 of file event_softtimelimit.c.

References EVENTHDLR_NAME, NULL, SCIP_OKAY, SCIPeventhdlrGetData(), SCIPeventhdlrGetName(), SCIPeventhdlrSetData(), and SCIPfreeMemory.

static SCIP_DECL_EVENTINIT ( eventInitSofttimelimit  )
static

initialization method of event handler (called after problem was transformed)

Definition at line 84 of file event_softtimelimit.c.

References EVENTHDLR_NAME, NULL, SCIP_CALL, SCIP_EVENTTYPE_BESTSOLFOUND, SCIP_OKAY, SCIPcatchEvent(), SCIPeventhdlrGetData(), SCIPeventhdlrGetName(), and SCIPisNegative().

static SCIP_DECL_EVENTEXIT ( eventExitSofttimelimit  )
static

deinitialization method of event handler (called before transformed problem is freed)

Definition at line 106 of file event_softtimelimit.c.

References EVENTHDLR_NAME, NULL, SCIP_CALL, SCIP_EVENTTYPE_BESTSOLFOUND, SCIP_OKAY, SCIPdropEvent(), SCIPeventhdlrGetData(), and SCIPeventhdlrGetName().

static SCIP_DECL_EVENTEXEC ( eventExecSofttimelimit  )
static
SCIP_RETCODE SCIPincludeEventHdlrSofttimelimit ( SCIP scip)