eventhdlr for storing all global bound changes
the bound changes are stored so that they can be shared with other threads in a concurrent solve.
Definition in file event_globalbnd.h.
Go to the source code of this file.
Functions | |
SCIP_RETCODE | SCIPincludeEventHdlrGlobalbnd (SCIP *scip) |
SCIP_BOUNDSTORE * | SCIPeventGlobalbndGetBoundChanges (SCIP_EVENTHDLR *eventhdlr) |
void | SCIPeventGlobalbndEnableBoundStorage (SCIP_EVENTHDLR *eventhdlr) |
void | SCIPeventGlobalbndDisableBoundStorage (SCIP_EVENTHDLR *eventhdlr) |
void | SCIPeventGlobalbndClearBoundChanges (SCIP_EVENTHDLR *eventhdlr) |
SCIP_RETCODE SCIPincludeEventHdlrGlobalbnd | ( | SCIP * | scip | ) |
creates event handler for global bound event
creates event handler for globalbnd event
scip | SCIP data structure |
Definition at line 195 of file event_globalbnd.c.
References EVENTHDLR_DESC, EVENTHDLR_NAME, SCIP_CALL, SCIP_OKAY, SCIPallocMemory, SCIPincludeEventhdlrBasic(), SCIPsetEventhdlrExit(), SCIPsetEventhdlrFree(), and SCIPsetEventhdlrInit().
Referenced by SCIPcreateConcurrent().
SCIP_BOUNDSTORE* SCIPeventGlobalbndGetBoundChanges | ( | SCIP_EVENTHDLR * | eventhdlr | ) |
gets the global bound changes stored in the eventhandler
eventhdlr | the globalbound eventhandler |
Definition at line 227 of file event_globalbnd.c.
References EVENTHDLR_NAME, SCIPeventhdlrGetData(), and SCIPeventhdlrGetName().
Referenced by SCIPgetConcurrentGlobalBoundChanges().
void SCIPeventGlobalbndEnableBoundStorage | ( | SCIP_EVENTHDLR * | eventhdlr | ) |
enables storing of bound changes
eventhdlr | the globalbound eventhandler |
Definition at line 242 of file event_globalbnd.c.
References EVENTHDLR_NAME, SCIPeventhdlrGetData(), SCIPeventhdlrGetName(), and TRUE.
Referenced by SCIPenableConcurrentBoundStorage().
void SCIPeventGlobalbndDisableBoundStorage | ( | SCIP_EVENTHDLR * | eventhdlr | ) |
disables storing of bound changes
eventhdlr | the globalbound eventhandler |
Definition at line 258 of file event_globalbnd.c.
References EVENTHDLR_NAME, FALSE, SCIPeventhdlrGetData(), and SCIPeventhdlrGetName().
Referenced by SCIPdisableConcurrentBoundStorage().
void SCIPeventGlobalbndClearBoundChanges | ( | SCIP_EVENTHDLR * | eventhdlr | ) |
clears all bound changes stored in the eventhandler
eventhdlr | the globalbound eventhandler |
Definition at line 274 of file event_globalbnd.c.
References EVENTHDLR_NAME, SCIPboundstoreClear(), SCIPeventhdlrGetData(), and SCIPeventhdlrGetName().
Referenced by SCIPsynchronize().