event_relaxsol.h File Reference
Detailed Description
eventhandler to update the relaxation solution in the original problem when the master LP has been solved
Definition in file event_relaxsol.h.
#include "scip/scip.h"
Go to the source code of this file.
Functions | |
SCIP_EXPORT SCIP_RETCODE | SCIPincludeEventHdlrRelaxsol (SCIP *scip) |
SCIP_EXPORT SCIP_Bool | GCGeventhdlrRelaxsolIsTriggered (SCIP *scip, SCIP *masterprob) |
Function Documentation
◆ SCIPincludeEventHdlrRelaxsol()
SCIP_EXPORT SCIP_RETCODE SCIPincludeEventHdlrRelaxsol | ( | SCIP * | scip | ) |
creates event handler for relaxsol event
Definition at line 157 of file event_relaxsol.c.
References EVENTHDLR_DESC, and EVENTHDLR_NAME.
Referenced by GCGincludeMasterPlugins().
◆ GCGeventhdlrRelaxsolIsTriggered()
SCIP_EXPORT SCIP_Bool GCGeventhdlrRelaxsolIsTriggered | ( | SCIP * | scip, |
SCIP * | masterprob | ||
) |
return whether event has been triggered
Definition at line 183 of file event_relaxsol.c.
References DEC_DECMODE_BENDERS, DEC_DECMODE_ORIGINAL, EVENTHDLR_NAME, and GCGgetDecompositionMode().
Referenced by SCIP_DECL_EVENTEXEC().