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.
Go to the source code of this file.
Functions | |
| GCG_EXPORT SCIP_RETCODE | GCGincludeEventHdlrRelaxsol (GCG *gcg) |
| GCG_EXPORT SCIP_Bool | GCGeventhdlrRelaxsolIsTriggered (GCG *gcg) |
Function Documentation
◆ GCGincludeEventHdlrRelaxsol()
| GCG_EXPORT SCIP_RETCODE GCGincludeEventHdlrRelaxsol | ( | GCG * | gcg | ) |
creates event handler for relaxsol event
- Parameters
-
gcg GCG data structure
Definition at line 162 of file event_relaxsol.c.
References EVENTHDLR_DESC, EVENTHDLR_NAME, SCIP_EventhdlrData::gcg, GCGgetMasterprob(), NULL, SCIP_CALL, SCIP_OKAY, SCIPallocMemory, SCIPincludeEventhdlrBasic(), SCIPsetEventhdlrExit(), SCIPsetEventhdlrFree(), and SCIPsetEventhdlrInit().
Referenced by GCGincludeMasterPlugins().
◆ GCGeventhdlrRelaxsolIsTriggered()
| GCG_EXPORT SCIP_Bool GCGeventhdlrRelaxsolIsTriggered | ( | GCG * | gcg | ) |
return whether event has been triggered
- Parameters
-
gcg GCG data structure
Definition at line 190 of file event_relaxsol.c.
References EVENTHDLR_NAME, FALSE, GCG_DECMODE_BENDERS, GCG_DECMODE_ORIGINAL, GCGgetDecompositionMode(), GCGgetMasterprob(), NULL, SCIP_Bool, SCIPeventhdlrGetData(), SCIPfindEventhdlr(), and SCIP_EventhdlrData::triggered.
Referenced by SCIP_DECL_EVENTEXEC().