Scippy

GCG

Branch-and-Price & Column Generation for Everyone

event_display.c File Reference

Detailed Description

eventhdlr to disable the master display after the root node

Author
Martin Bergner

Definition in file event_display.c.

#include "gcg/event_display.h"
#include "gcg/gcg.h"
#include <string.h>

Go to the source code of this file.

Macros

#define EVENTHDLR_NAME   "display"
 
#define EVENTHDLR_DESC   "event handler to disable the master display after the root node"
 

Functions

static SCIP_DECL_EVENTEXEC (eventExecDisplay)
 
SCIP_RETCODE GCGactivateEventHdlrDisplay (GCG *gcg)
 
SCIP_RETCODE GCGincludeEventHdlrDisplay (GCG *gcg)
 

Macro Definition Documentation

◆ EVENTHDLR_NAME

#define EVENTHDLR_NAME   "display"

Definition at line 40 of file event_display.c.

◆ EVENTHDLR_DESC

#define EVENTHDLR_DESC   "event handler to disable the master display after the root node"

Definition at line 41 of file event_display.c.

Function Documentation

◆ SCIP_DECL_EVENTEXEC()

static SCIP_DECL_EVENTEXEC ( eventExecDisplay  )
static

execution method of event handler

Definition at line 51 of file event_display.c.

References EVENTHDLR_NAME, NULL, SCIP_CALL, SCIP_EVENTTYPE_NODESOLVED, SCIP_OKAY, SCIPdropEvent(), SCIPeventhdlrGetName(), and SCIPsetIntParam().

◆ GCGactivateEventHdlrDisplay()

SCIP_RETCODE GCGactivateEventHdlrDisplay ( GCG *  gcg)

activates the eventhandler in SCIP

Parameters
gcgGCG data structure

Definition at line 65 of file event_display.c.

References EVENTHDLR_NAME, GCGgetMasterprob(), GCGisMaster(), NULL, SCIP_CALL, SCIP_EVENTTYPE_NODESOLVED, SCIP_OKAY, SCIPcatchEvent(), and SCIPfindEventhdlr().

Referenced by SCIP_DECL_PRICERINITSOL().

◆ GCGincludeEventHdlrDisplay()

SCIP_RETCODE GCGincludeEventHdlrDisplay ( GCG *  gcg)

creates event handler for display event

Parameters
gcgGCG data structure

Definition at line 85 of file event_display.c.

References EVENTHDLR_DESC, EVENTHDLR_NAME, GCGgetMasterprob(), GCGisMaster(), NULL, SCIP_CALL, SCIP_OKAY, and SCIPincludeEventhdlrBasic().

Referenced by GCGincludeMasterPlugins().