event_mastersol.c
Go to the documentation of this file.
33 /*--+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0----+----1----+----2*/
43 #define EVENTHDLR_DESC "event handler to to transfer solutions found in the original problem to the master problem"
89 /* notify SCIP that your event handler wants to react on the event types best solution found and node solved */
101 /* notify SCIP that your event handler wants to drop the event types best solution found and node solved */
141 * NOTE: Care must be taken with the event handlers. When BENDERS or ORIGINAL mode is used, the relaxation solution
144 if( SCIPgetStage(scip) > SCIP_STAGE_TRANSFORMED && SCIPgetStage(masterprob) > SCIP_STAGE_TRANSFORMED &&
147 (SCIPsolGetHeur(sol) != NULL || discretization) && /* @todo: This check is possibly not needed anymore */
148 GCGgetDecompositionMode(scip) != DEC_DECMODE_BENDERS && GCGgetDecompositionMode(scip) != DEC_DECMODE_ORIGINAL )
GCG interface methods.
Definition: event_mastersol.c:51
SCIP_RETCODE SCIPincludeEventHdlrMastersol(SCIP *scip)
Definition: event_mastersol.c:161
GCG variable pricer.
SCIP_Bool GCGeventhdlrRelaxsolIsTriggered(SCIP *scip, SCIP *masterprob)
Definition: event_relaxsol.c:183
SCIP_Bool GCGeventhdlrMastersolIsTriggered(SCIP *scip)
Definition: event_mastersol.c:187
SCIP_RETCODE GCGmasterTransOrigSolToMasterVars(SCIP *scip, SCIP_SOL *origsol, SCIP_Bool *stored)
Definition: pricer_gcg.cpp:4782
eventhdlr to transfer solutions found in the original problem to the master problem
eventhandler to update the relaxation solution in the original problem when the master LP has been so...
GCG relaxator.