Scippy

GCG

Branch-and-Price & Column Generation for Everyone

event_bestsol.h File Reference

Detailed Description

eventhdlr to record the best primal bound for each heuristic

Author
Christian Puchert

Definition in file event_bestsol.h.

#include "scip/scip.h"
#include "gcg/gcg.h"

Go to the source code of this file.

Functions

GCG_EXPORT SCIP_RETCODE GCGincludeEventHdlrBestsol (SCIP *scip)
 

Function Documentation

◆ GCGincludeEventHdlrBestsol()

GCG_EXPORT SCIP_RETCODE GCGincludeEventHdlrBestsol ( SCIP *  scip)

creates event handler for best event

creates event handler for bestsol event

Parameters
scipSCIP data structure

Definition at line 210 of file event_bestsol.c.

References EVENTHDLR_DESC, EVENTHDLR_NAME, NULL, SCIP_CALL, SCIP_OKAY, SCIPallocMemory, SCIPincludeEventhdlrBasic(), SCIPsetEventhdlrExit(), SCIPsetEventhdlrExitsol(), SCIPsetEventhdlrFree(), and SCIPsetEventhdlrInit().

Referenced by GCGincludeGcgPlugins(), and GCGincludeMasterPlugins().