All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
event.c File Reference Detailed Descriptionmethods and datastructures for managing events Definition in file event.c. #include <assert.h> #include <string.h> #include "scip/def.h" #include "scip/set.h" #include "scip/clock.h" #include "scip/event.h" #include "scip/lp.h" #include "scip/var.h" #include "scip/primal.h" #include "scip/branch.h" #include "scip/pub_message.h" Go to the source code of this file. Function Documentation
copies the given event handler to a new scip
Definition at line 45 of file event.c. References NULL, SCIP_CALL, SCIP_OKAY, SCIPdebugMessage, and SCIPeventhdlrGetName(). Referenced by SCIPsetCopyPlugins().
creates an event handler
Definition at line 64 of file event.c. References BMSallocMemory, BMSduplicateMemoryArray, FALSE, NULL, SCIP_ALLOC, SCIP_CALL, SCIP_CLOCKTYPE_DEFAULT, SCIP_OKAY, and SCIPclockCreate(). Referenced by SCIPincludeEventhdlr(), SCIPincludeEventhdlrBasic(), and SCIPnlpInclude().
calls destructor and frees memory of event handler
Definition at line 106 of file event.c. References BMSfreeMemory, BMSfreeMemoryArray, NULL, SCIP_CALL, SCIP_OKAY, and SCIPclockFree(). Referenced by SCIPsetFree().
initializes event handler
Definition at line 134 of file event.c. References SCIP_Eventhdlr::eventtime, SCIP_Eventhdlr::initialized, SCIP_Eventhdlr::name, NULL, SCIP_CALL, SCIP_INVALIDCALL, SCIP_OKAY, SCIPclockReset(), SCIPclockStart(), SCIPclockStop(), SCIPerrorMessage, SCIP_Eventhdlr::setuptime, and TRUE. Referenced by SCIPsetInitPlugins().
calls exit method of event handler
Definition at line 170 of file event.c. References FALSE, SCIP_Eventhdlr::initialized, SCIP_Eventhdlr::name, NULL, SCIP_CALL, SCIP_INVALIDCALL, SCIP_OKAY, SCIPclockStart(), SCIPclockStop(), SCIPerrorMessage, and SCIP_Eventhdlr::setuptime. Referenced by SCIPsetExitPlugins().
informs event handler that the branch and bound process is being started
Definition at line 200 of file event.c. References NULL, SCIP_CALL, SCIP_OKAY, SCIPclockStart(), SCIPclockStop(), and SCIP_Eventhdlr::setuptime. Referenced by SCIPsetInitsolPlugins().
informs event handler that the branch and bound process data is being freed
Definition at line 224 of file event.c. References NULL, SCIP_CALL, SCIP_OKAY, SCIPclockStart(), SCIPclockStop(), and SCIP_Eventhdlr::setuptime. Referenced by SCIPsetExitsolPlugins().
calls execution method of event handler
Definition at line 248 of file event.c. References SCIP_Eventhdlr::eventtime, SCIP_Event::eventtype, SCIP_Eventhdlr::name, NULL, SCIP_CALL, SCIP_OKAY, SCIPclockStart(), SCIPclockStop(), and SCIPdebugMessage. Referenced by SCIPeventfilterProcess().
gets name of event handler
Definition at line 278 of file event.c. References SCIP_Eventhdlr::name, and NULL. Referenced by SCIP_DECL_EVENTEXEC(), SCIPeventhdlrCopyInclude(), and SCIPsetFindEventhdlr().
gets user data of event handler
Definition at line 288 of file event.c. References SCIP_Eventhdlr::eventhdlrdata, and NULL. Referenced by SCIP_DECL_EVENTCOPY(), SCIP_DECL_EVENTDELETE(), SCIP_DECL_EVENTEXEC(), SCIP_DECL_EVENTEXIT(), SCIP_DECL_EVENTEXITSOL(), SCIP_DECL_EVENTFREE(), SCIP_DECL_EVENTINIT(), SCIP_DECL_EVENTINITSOL(), SCIP_DECL_HEUREXEC(), SCIP_DECL_HEURFREE(), SCIPfindObjEventhdlr(), and SCIPgetObjEventhdlr().
sets user data of event handler; user has to free old data in advance!
Definition at line 298 of file event.c. References SCIP_Eventhdlr::eventhdlrdata, and NULL. Referenced by SCIP_DECL_EVENTFREE().
sets copy callback for all events of this event handler
Definition at line 309 of file event.c. References NULL. Referenced by SCIPsetEventhdlrCopy().
sets destructor callback of this event handler
Definition at line 320 of file event.c. References NULL. Referenced by SCIPsetEventhdlrFree().
sets initialization callback of this event handler
Definition at line 331 of file event.c. References NULL. Referenced by SCIPsetEventhdlrInit().
sets deinitialization callback of this event handler
Definition at line 342 of file event.c. References NULL. Referenced by SCIPsetEventhdlrExit().
sets solving process initialization callback of this event handler
Definition at line 353 of file event.c. References NULL. Referenced by SCIPsetEventhdlrInitsol().
sets solving process deinitialization callback of this event handler
Definition at line 364 of file event.c. References NULL. Referenced by SCIPsetEventhdlrExitsol().
sets callback to free specific event data
Definition at line 375 of file event.c. References NULL. Referenced by SCIPsetEventhdlrDelete().
is event handler initialized?
Definition at line 386 of file event.c. References SCIP_Eventhdlr::initialized, and NULL. Referenced by SCIPsetIncludeEventhdlr().
gets time in seconds used in this event handler for setting up for next stages
Definition at line 396 of file event.c. References NULL, SCIPclockGetTime(), and SCIP_Eventhdlr::setuptime.
gets time in seconds used in this event handler, this measurement is currently disabled so this method will return 0, define TIMEEVENTEXEC in the beginning of this file to enable
Definition at line 408 of file event.c. References SCIP_Eventhdlr::eventtime, NULL, and SCIPclockGetTime().
creates an event for an addition of a variable to the problem
Definition at line 424 of file event.c. References BMSallocBlockMemory, NULL, SCIP_ALLOC, SCIP_EVENTTYPE_VARADDED, and SCIP_OKAY. Referenced by SCIPprobAddVar().
creates an event for a deletion of a variable from the problem
Definition at line 442 of file event.c. References BMSallocBlockMemory, NULL, SCIP_ALLOC, SCIP_EVENTTYPE_VARDELETED, and SCIP_OKAY. Referenced by SCIPprobDelVar().
creates an event for a fixing of a variable
Definition at line 460 of file event.c. References BMSallocBlockMemory, NULL, SCIP_ALLOC, SCIP_EVENTTYPE_VARFIXED, SCIP_OKAY, SCIP_VARSTATUS_AGGREGATED, SCIP_VARSTATUS_FIXED, SCIP_VARSTATUS_MULTAGGR, SCIP_VARSTATUS_NEGATED, and SCIPvarGetStatus(). Referenced by varEventVarFixed().
creates an event for a change in the number of locks of a variable down to zero or one
Definition at line 482 of file event.c. References BMSallocBlockMemory, NULL, SCIP_ALLOC, SCIP_EVENTTYPE_VARUNLOCKED, SCIP_OKAY, SCIP_VARSTATUS_COLUMN, SCIP_VARSTATUS_FIXED, SCIP_VARSTATUS_LOOSE, and SCIPvarGetStatus(). Referenced by varEventVarUnlocked().
creates an event for a change in the objective value of a variable
Definition at line 503 of file event.c. References BMSallocBlockMemory, SCIP_Var::data, NULL, SCIP_ALLOC, SCIP_EVENTTYPE_OBJCHANGED, and SCIP_OKAY. Referenced by varEventObjChanged().
creates an event for a change in the global lower bound of a variable
Definition at line 526 of file event.c. References BMSallocBlockMemory, SCIP_Var::data, NULL, SCIP_ALLOC, SCIP_EVENTTYPE_GLBCHANGED, and SCIP_OKAY. Referenced by varEventGlbChanged().
creates an event for a change in the global upper bound of a variable
Definition at line 549 of file event.c. References BMSallocBlockMemory, SCIP_Var::data, NULL, SCIP_ALLOC, SCIP_EVENTTYPE_GUBCHANGED, and SCIP_OKAY. Referenced by varEventGubChanged().
creates an event for a change in the lower bound of a variable
Definition at line 572 of file event.c. References BMSallocBlockMemory, SCIP_Var::data, NULL, SCIP_ALLOC, SCIP_EVENTTYPE_LBRELAXED, SCIP_EVENTTYPE_LBTIGHTENED, and SCIP_OKAY. Referenced by varEventLbChanged().
creates an event for a change in the upper bound of a variable
Definition at line 598 of file event.c. References BMSallocBlockMemory, SCIP_Var::data, NULL, SCIP_ALLOC, SCIP_EVENTTYPE_UBRELAXED, SCIP_EVENTTYPE_UBTIGHTENED, and SCIP_OKAY. Referenced by varEventUbChanged().
creates an event for an addition of a domain hole to a variable
Definition at line 624 of file event.c. References BMSallocBlockMemory, SCIP_Var::data, NULL, SCIP_ALLOC, SCIP_EVENTTYPE_GHOLEADDED, and SCIP_OKAY. Referenced by varEventGholeAdded().
creates an event for removing a domain hole of a variable
Definition at line 646 of file event.c. References BMSallocBlockMemory, SCIP_Var::data, NULL, SCIP_ALLOC, SCIP_EVENTTYPE_GHOLEREMOVED, and SCIP_OKAY.
creates an event for an addition of a domain hole to a variable
Definition at line 668 of file event.c. References BMSallocBlockMemory, SCIP_Var::data, NULL, SCIP_ALLOC, SCIP_EVENTTYPE_LHOLEADDED, and SCIP_OKAY.
creates an event for removing a domain hole of a variable
Definition at line 690 of file event.c. References BMSallocBlockMemory, SCIP_Var::data, NULL, SCIP_ALLOC, SCIP_EVENTTYPE_LHOLEREMOVED, and SCIP_OKAY.
creates an event for an addition to the variable's implications list, clique or variable bounds information
Definition at line 712 of file event.c. References BMSallocBlockMemory, NULL, SCIP_ALLOC, SCIP_EVENTTYPE_IMPLADDED, SCIP_OKAY, SCIP_VARSTATUS_COLUMN, SCIP_VARSTATUS_LOOSE, and SCIPvarGetStatus(). Referenced by SCIPcliquetableCleanup(), and varEventImplAdded().
creates an event for the addition of a linear row to the separation storage
Definition at line 731 of file event.c. References BMSallocBlockMemory, NULL, SCIP_ALLOC, SCIP_EVENTTYPE_ROWADDEDSEPA, and SCIP_OKAY. Referenced by sepastoreAddCut().
creates an event for the deletion of a linear row from the separation storage
Definition at line 750 of file event.c. References BMSallocBlockMemory, NULL, SCIP_ALLOC, SCIP_EVENTTYPE_ROWDELETEDSEPA, and SCIP_OKAY. Referenced by SCIPsepastoreClearCuts(), sepastoreAddCut(), and sepastoreDelCut().
creates an event for the addition of a linear row to the LP
Definition at line 769 of file event.c. References BMSallocBlockMemory, NULL, SCIP_ALLOC, SCIP_EVENTTYPE_ROWADDEDLP, and SCIP_OKAY. Referenced by SCIPlpAddRow().
creates an event for the deletion of a linear row from the LP
Definition at line 788 of file event.c. References BMSallocBlockMemory, NULL, SCIP_ALLOC, SCIP_EVENTTYPE_ROWDELETEDLP, and SCIP_OKAY. Referenced by lpDelRowset(), and SCIPlpShrinkRows().
creates an event for the change of a coefficient in a linear row
Definition at line 807 of file event.c. References BMSallocBlockMemory, NULL, SCIP_ALLOC, SCIP_EVENTTYPE_ROWCOEFCHANGED, and SCIP_OKAY. Referenced by rowEventCoefChanged().
creates an event for the change of a constant in a linear row
Definition at line 832 of file event.c. References BMSallocBlockMemory, NULL, SCIP_ALLOC, SCIP_EVENTTYPE_ROWCONSTCHANGED, and SCIP_OKAY. Referenced by rowEventConstantChanged().
creates an event for the change of a side of a linear row
Definition at line 855 of file event.c. References BMSallocBlockMemory, NULL, SCIP_ALLOC, SCIP_EVENTTYPE_ROWSIDECHANGED, and SCIP_OKAY. Referenced by rowEventSideChanged().
frees an event
Definition at line 880 of file event.c. References BMSfreeBlockMemory, NULL, and SCIP_OKAY. Referenced by SCIPeventqueueAdd(), and SCIPeventqueueProcess().
disables an event
Definition at line 895 of file event.c. References NULL, and SCIP_EVENTTYPE_DISABLED. Referenced by SCIPeventqueueAdd().
gets type of event
Definition at line 905 of file event.c. References NULL. Referenced by SCIP_DECL_EVENTEXEC().
sets type of event
Definition at line 915 of file event.c. References NULL, and SCIP_OKAY. Referenced by presolveRound(), priceAndCutLoop(), primalAddSol(), SCIPsolveCIP(), and solveNodeInitialLP().
gets variable for a variable event (var added, var deleted, var fixed, objective value or domain change)
Definition at line 928 of file event.c. References SCIP_Event::data, SCIP_Event::eventbdchg, SCIP_Event::eventhole, SCIP_Event::eventimpladd, SCIP_Event::eventobjchg, SCIP_Event::eventtype, SCIP_Event::eventvaradded, SCIP_Event::eventvardeleted, SCIP_Event::eventvarfixed, SCIP_Event::eventvarunlocked, NULL, SCIP_EVENTTYPE_GHOLEADDED, SCIP_EVENTTYPE_GHOLEREMOVED, SCIP_EVENTTYPE_GLBCHANGED, SCIP_EVENTTYPE_GUBCHANGED, SCIP_EVENTTYPE_IMPLADDED, SCIP_EVENTTYPE_LBRELAXED, SCIP_EVENTTYPE_LBTIGHTENED, SCIP_EVENTTYPE_LHOLEADDED, SCIP_EVENTTYPE_LHOLEREMOVED, SCIP_EVENTTYPE_OBJCHANGED, SCIP_EVENTTYPE_UBRELAXED, SCIP_EVENTTYPE_UBTIGHTENED, SCIP_EVENTTYPE_VARADDED, SCIP_EVENTTYPE_VARDELETED, SCIP_EVENTTYPE_VARFIXED, SCIP_EVENTTYPE_VARUNLOCKED, SCIPABORT, SCIPerrorMessage, SCIP_EventVarAdded::var, SCIP_EventVarDeleted::var, SCIP_EventVarFixed::var, SCIP_EventVarUnlocked::var, SCIP_EventObjChg::var, SCIP_EventBdChg::var, SCIP_EventHole::var, and SCIP_EventImplAdd::var. Referenced by SCIP_DECL_EVENTEXEC().
sets variable for a variable event
Definition at line 984 of file event.c. References SCIP_Event::data, SCIP_Event::eventbdchg, SCIP_Event::eventhole, SCIP_Event::eventimpladd, SCIP_Event::eventobjchg, SCIP_Event::eventtype, SCIP_Event::eventvaradded, SCIP_Event::eventvardeleted, SCIP_Event::eventvarfixed, SCIP_Event::eventvarunlocked, NULL, SCIP_EVENTTYPE_GHOLEADDED, SCIP_EVENTTYPE_GHOLEREMOVED, SCIP_EVENTTYPE_GLBCHANGED, SCIP_EVENTTYPE_GUBCHANGED, SCIP_EVENTTYPE_IMPLADDED, SCIP_EVENTTYPE_LBRELAXED, SCIP_EVENTTYPE_LBTIGHTENED, SCIP_EVENTTYPE_LHOLEADDED, SCIP_EVENTTYPE_LHOLEREMOVED, SCIP_EVENTTYPE_OBJCHANGED, SCIP_EVENTTYPE_UBRELAXED, SCIP_EVENTTYPE_UBTIGHTENED, SCIP_EVENTTYPE_VARADDED, SCIP_EVENTTYPE_VARDELETED, SCIP_EVENTTYPE_VARFIXED, SCIP_EVENTTYPE_VARUNLOCKED, SCIP_INVALIDDATA, SCIP_OKAY, SCIPerrorMessage, SCIP_EventVarAdded::var, SCIP_EventVarDeleted::var, SCIP_EventVarFixed::var, SCIP_EventVarUnlocked::var, SCIP_EventObjChg::var, SCIP_EventBdChg::var, SCIP_EventHole::var, and SCIP_EventImplAdd::var.
gets old objective value for an objective value change event
Definition at line 1050 of file event.c. References SCIP_Event::eventtype, NULL, SCIP_EVENTTYPE_OBJCHANGED, SCIP_INVALID, SCIPABORT, and SCIPerrorMessage. Referenced by SCIP_DECL_EVENTEXEC().
gets new objective value for an objective value change event
Definition at line 1067 of file event.c. References SCIP_Event::eventtype, NULL, SCIP_EVENTTYPE_OBJCHANGED, SCIP_INVALID, SCIPABORT, and SCIPerrorMessage. Referenced by SCIP_DECL_EVENTEXEC().
gets old bound for a bound change event
Definition at line 1084 of file event.c. References SCIP_Event::eventtype, NULL, SCIP_EVENTTYPE_GLBCHANGED, SCIP_EVENTTYPE_GUBCHANGED, SCIP_EVENTTYPE_LBRELAXED, SCIP_EVENTTYPE_LBTIGHTENED, SCIP_EVENTTYPE_UBRELAXED, SCIP_EVENTTYPE_UBTIGHTENED, SCIPABORT, and SCIPerrorMessage. Referenced by SCIP_DECL_EVENTEXEC().
gets new bound for a bound change event
Definition at line 1108 of file event.c. References SCIP_Event::eventtype, NULL, SCIP_EVENTTYPE_GLBCHANGED, SCIP_EVENTTYPE_GUBCHANGED, SCIP_EVENTTYPE_LBRELAXED, SCIP_EVENTTYPE_LBTIGHTENED, SCIP_EVENTTYPE_UBRELAXED, SCIP_EVENTTYPE_UBTIGHTENED, SCIPABORT, and SCIPerrorMessage. Referenced by SCIP_DECL_EVENTEXEC().
gets node for a node or LP event
Definition at line 1132 of file event.c. References SCIP_Event::eventtype, NULL, SCIP_EVENTTYPE_LPEVENT, SCIP_EVENTTYPE_NODEEVENT, SCIPABORT, and SCIPerrorMessage.
sets node for a node or LP event
Definition at line 1149 of file event.c. References SCIP_Event::eventtype, NULL, SCIP_EVENTTYPE_LPEVENT, SCIP_EVENTTYPE_NODEEVENT, SCIP_INVALIDDATA, SCIP_OKAY, SCIPABORT, and SCIPerrorMessage. Referenced by priceAndCutLoop(), SCIPsolveCIP(), and solveNodeInitialLP().
gets solution for a primal solution event
Definition at line 1169 of file event.c. References SCIP_Event::eventtype, NULL, SCIP_EVENTTYPE_SOLEVENT, SCIPABORT, and SCIPerrorMessage. Referenced by SCIP_DECL_EVENTEXEC().
sets solution for a primal solution event
Definition at line 1186 of file event.c. References SCIP_Event::eventtype, NULL, SCIP_EVENTTYPE_SOLEVENT, SCIP_INVALIDDATA, SCIP_OKAY, SCIPABORT, and SCIPerrorMessage. Referenced by primalAddSol().
gets the left bound of open interval in the hole
Definition at line 1206 of file event.c. References SCIP_Event::eventtype, NULL, SCIP_EVENTTYPE_HOLECHANGED, SCIP_INVALID, SCIPABORT, and SCIPerrorMessage.
gets the right bound of open interval in the hole
Definition at line 1223 of file event.c. References SCIP_Event::eventtype, NULL, SCIP_EVENTTYPE_HOLECHANGED, SCIP_INVALID, SCIPABORT, and SCIPerrorMessage.
gets row for a row event
Definition at line 1240 of file event.c. References SCIP_Event::eventtype, NULL, SCIP_EVENTTYPE_ROWADDEDLP, SCIP_EVENTTYPE_ROWADDEDSEPA, SCIP_EVENTTYPE_ROWCOEFCHANGED, SCIP_EVENTTYPE_ROWCONSTCHANGED, SCIP_EVENTTYPE_ROWDELETEDLP, SCIP_EVENTTYPE_ROWDELETEDSEPA, SCIP_EVENTTYPE_ROWSIDECHANGED, SCIPABORT, and SCIPerrorMessage.
gets column for a row change coefficient event
Definition at line 1270 of file event.c. References SCIP_Event::eventtype, NULL, SCIP_EVENTTYPE_ROWCOEFCHANGED, SCIPABORT, and SCIPerrorMessage.
gets old coefficient value for a row change coefficient event
Definition at line 1287 of file event.c. References SCIP_Event::eventtype, NULL, SCIP_EVENTTYPE_ROWCOEFCHANGED, SCIP_INVALID, SCIPABORT, and SCIPerrorMessage.
gets new coefficient value for a row change coefficient event
Definition at line 1304 of file event.c. References SCIP_Event::eventtype, NULL, SCIP_EVENTTYPE_ROWCOEFCHANGED, SCIP_INVALID, SCIPABORT, and SCIPerrorMessage.
gets old constant value for a row change constant event
Definition at line 1321 of file event.c. References SCIP_Event::eventtype, NULL, SCIP_EVENTTYPE_ROWCONSTCHANGED, SCIP_INVALID, SCIPABORT, and SCIPerrorMessage.
gets new constant value for a row change constant event
Definition at line 1338 of file event.c. References SCIP_Event::eventtype, NULL, SCIP_EVENTTYPE_ROWCONSTCHANGED, SCIP_INVALID, SCIPABORT, and SCIPerrorMessage.
gets side for a row change side event
Definition at line 1355 of file event.c. References SCIP_Event::eventtype, NULL, SCIP_EVENTTYPE_ROWSIDECHANGED, SCIP_SIDETYPE_LEFT, SCIPABORT, and SCIPerrorMessage.
gets old side value for a row change side event
Definition at line 1372 of file event.c. References SCIP_Event::eventtype, NULL, SCIP_EVENTTYPE_ROWSIDECHANGED, SCIP_INVALID, SCIPABORT, and SCIPerrorMessage.
gets new side value for a row change side event
Definition at line 1389 of file event.c. References SCIP_Event::eventtype, NULL, SCIP_EVENTTYPE_ROWSIDECHANGED, SCIP_INVALID, SCIPABORT, and SCIPerrorMessage.
processes event by calling the appropriate event handlers
Definition at line 1406 of file event.c. References SCIP_Event::data, SCIP_Var::data, SCIP_Event::eventbdchg, SCIP_Var::eventfilter, SCIP_Event::eventobjchg, SCIP_Var::eventqueueimpl, SCIP_Var::eventqueueindexlb, SCIP_Var::eventqueueindexobj, SCIP_Var::eventqueueindexub, SCIP_Event::eventtype, SCIP_EventBdChg::newbound, SCIP_EventObjChg::newobj, NULL, SCIP_EventBdChg::oldbound, SCIP_EventObjChg::oldobj, SCIP_CALL, SCIP_EVENTTYPE_BESTSOLFOUND, SCIP_EVENTTYPE_BOUNDCHANGED, SCIP_EVENTTYPE_DISABLED, SCIP_EVENTTYPE_FIRSTLPSOLVED, SCIP_EVENTTYPE_GHOLEADDED, SCIP_EVENTTYPE_GHOLEREMOVED, SCIP_EVENTTYPE_GLBCHANGED, SCIP_EVENTTYPE_GUBCHANGED, SCIP_EVENTTYPE_IMPLADDED, SCIP_EVENTTYPE_LBRELAXED, SCIP_EVENTTYPE_LBTIGHTENED, SCIP_EVENTTYPE_LHOLEADDED, SCIP_EVENTTYPE_LHOLEREMOVED, SCIP_EVENTTYPE_LPSOLVED, SCIP_EVENTTYPE_NODEBRANCHED, SCIP_EVENTTYPE_NODEFEASIBLE, SCIP_EVENTTYPE_NODEFOCUSED, SCIP_EVENTTYPE_NODEINFEASIBLE, SCIP_EVENTTYPE_OBJCHANGED, SCIP_EVENTTYPE_POORSOLFOUND, SCIP_EVENTTYPE_PRESOLVEROUND, SCIP_EVENTTYPE_ROWADDEDLP, SCIP_EVENTTYPE_ROWADDEDSEPA, SCIP_EVENTTYPE_ROWCOEFCHANGED, SCIP_EVENTTYPE_ROWCONSTCHANGED, SCIP_EVENTTYPE_ROWDELETEDLP, SCIP_EVENTTYPE_ROWDELETEDSEPA, SCIP_EVENTTYPE_ROWSIDECHANGED, SCIP_EVENTTYPE_UBRELAXED, SCIP_EVENTTYPE_UBTIGHTENED, SCIP_EVENTTYPE_VARADDED, SCIP_EVENTTYPE_VARDELETED, SCIP_EVENTTYPE_VARFIXED, SCIP_EVENTTYPE_VARUNLOCKED, SCIP_INVALIDDATA, SCIP_OKAY, SCIP_VARSTATUS_COLUMN, SCIP_VARSTATUS_LOOSE, SCIPbranchcandUpdateVar(), SCIPcolChgLb(), SCIPcolChgObj(), SCIPcolChgUb(), SCIPdebugMessage, SCIPerrorMessage, SCIPeventfilterProcess(), SCIPlpUpdateVarLb(), SCIPlpUpdateVarLbGlobal(), SCIPlpUpdateVarObj(), SCIPlpUpdateVarUb(), SCIPlpUpdateVarUbGlobal(), SCIPprimalUpdateVarObj(), SCIPvarGetCol(), SCIPvarGetProbindex(), and SCIPvarGetStatus(). Referenced by presolveRound(), priceAndCutLoop(), primalAddSol(), SCIPeventqueueAdd(), SCIPeventqueueProcess(), SCIPsolveCIP(), and solveNodeInitialLP().
resizes eventfilter arrays to be able to store at least num entries
Definition at line 1610 of file event.c. References BMSreallocBlockMemoryArray, SCIP_EventFilter::eventdatas, SCIP_EventFilter::eventhdlrs, SCIP_EventFilter::eventtypes, SCIP_EventFilter::nextpos, NULL, SCIP_ALLOC, SCIP_OKAY, SCIPsetCalcMemGrowSize(), and SCIP_EventFilter::size. Referenced by SCIPeventfilterAdd().
creates an event filter
Definition at line 1638 of file event.c. References BMSallocBlockMemory, FALSE, NULL, SCIP_ALLOC, SCIP_EVENTTYPE_DISABLED, and SCIP_OKAY. Referenced by SCIProwCreate(), SCIPtransformProb(), SCIPvarCreateTransformed(), SCIPvarNegate(), and SCIPvarParseTransformed().
frees an event filter and the associated event data entries
Definition at line 1663 of file event.c. References BMSfreeBlockMemory, BMSfreeBlockMemoryArrayNull, NULL, SCIP_CALL, SCIP_EVENTTYPE_DISABLED, and SCIP_OKAY. Referenced by freeTransform(), SCIProwFree(), and varFree().
adds element to event filter
Definition at line 1703 of file event.c. References SCIP_EventFilter::delayedeventmask, SCIP_EventFilter::delayupdates, SCIP_EventFilter::eventdatas, eventfilterEnsureMem(), SCIP_EventFilter::eventhdlrs, SCIP_EventFilter::eventmask, SCIP_EventFilter::eventtypes, SCIP_EventFilter::firstfreepos, SCIP_EventFilter::len, SCIP_EventFilter::nextpos, NULL, SCIP_CALL, SCIP_EVENTTYPE_DISABLED, and SCIP_OKAY. Referenced by SCIPcatchEvent(), SCIPnlpCreate(), SCIProwCatchEvent(), and SCIPvarCatchEvent().
linear search for the given entry in event filter
Definition at line 1770 of file event.c. References SCIP_EventFilter::eventdatas, SCIP_EventFilter::eventhdlrs, SCIP_EventFilter::eventtypes, SCIP_EventFilter::len, SCIP_EventFilter::nextpos, NULL, and SCIP_EVENTTYPE_DISABLED. Referenced by SCIPeventfilterDel().
deletes element from event filter
Definition at line 1796 of file event.c. References SCIP_EventFilter::delayupdates, SCIP_EventFilter::eventdatas, eventfilterSearch(), SCIP_EventFilter::eventhdlrs, SCIP_EventFilter::eventtypes, SCIP_EventFilter::firstdeletedpos, SCIP_EventFilter::firstfreepos, SCIP_EventFilter::nextpos, NULL, SCIP_EVENTTYPE_DISABLED, SCIP_INVALIDDATA, SCIP_OKAY, and SCIPerrorMessage. Referenced by SCIPdropEvent(), SCIPnlpFree(), SCIProwDropEvent(), and SCIPvarDropEvent().
makes the event filter to delay and buffer all updates until eventfilterProcessUpdates() is called
Definition at line 1851 of file event.c. References SCIP_EventFilter::delayedeventmask, SCIP_EventFilter::delayupdates, NULL, SCIP_EVENTTYPE_DISABLED, and TRUE. Referenced by SCIPeventfilterProcess().
processes all delayed additions and deletions
Definition at line 1864 of file event.c. References SCIP_EventFilter::delayedeventmask, SCIP_EventFilter::delayupdates, SCIP_EventFilter::eventmask, SCIP_EventFilter::eventtypes, FALSE, SCIP_EventFilter::firstdeletedpos, SCIP_EventFilter::firstfreepos, SCIP_EventFilter::nextpos, NULL, and SCIP_EVENTTYPE_DISABLED. Referenced by SCIPeventfilterProcess().
processes the event with all event handlers with matching filter setting
Definition at line 1899 of file event.c. References SCIP_EventFilter::eventdatas, eventfilterDelayUpdates(), eventfilterProcessUpdates(), SCIP_EventFilter::eventhdlrs, SCIP_EventFilter::eventmask, SCIP_Event::eventtype, SCIP_EventFilter::eventtypes, FALSE, SCIP_EventFilter::len, NULL, SCIP_Bool, SCIP_CALL, SCIP_OKAY, SCIPdebugMessage, SCIPeventhdlrExec(), and TRUE. Referenced by SCIPeventProcess().
resizes events array to be able to store at least num entries
Definition at line 1966 of file event.c. References BMSreallocMemoryArray, SCIP_EventQueue::events, SCIP_EventQueue::eventssize, NULL, SCIP_ALLOC, SCIP_OKAY, and SCIPsetCalcMemGrowSize(). Referenced by eventqueueAppend().
creates an event queue
Definition at line 1989 of file event.c. References BMSallocMemory, FALSE, NULL, SCIP_ALLOC, and SCIP_OKAY. Referenced by SCIPtransformProb().
frees event queue; there must not be any unprocessed events in the queue!
Definition at line 2005 of file event.c. References BMSfreeMemory, BMSfreeMemoryArrayNull, NULL, and SCIP_OKAY. Referenced by freeTransform().
appends event to the event queue; sets event to NULL afterwards
Definition at line 2021 of file event.c. References SCIP_EventQueue::delayevents, eventqueueEnsureEventsMem(), SCIP_EventQueue::events, SCIP_Event::eventtype, SCIP_EventQueue::nevents, NULL, SCIP_CALL, SCIP_OKAY, and SCIPdebugMessage. Referenced by SCIPeventqueueAdd().
processes event or adds event to the event queue
Definition at line 2045 of file event.c. References SCIP_Event::data, SCIP_Var::data, SCIP_EventQueue::delayevents, SCIP_Event::eventbdchg, eventDisable(), SCIP_Event::eventobjchg, eventqueueAppend(), SCIP_Var::eventqueueimpl, SCIP_Var::eventqueueindexlb, SCIP_Var::eventqueueindexobj, SCIP_Var::eventqueueindexub, SCIP_EventQueue::events, SCIP_Event::eventtype, SCIP_EventQueue::nevents, SCIP_EventBdChg::newbound, SCIP_EventObjChg::newobj, NULL, SCIP_EventBdChg::oldbound, SCIP_EventObjChg::oldobj, SCIP_CALL, SCIP_EVENTTYPE_BESTSOLFOUND, SCIP_EVENTTYPE_BOUNDCHANGED, SCIP_EVENTTYPE_DISABLED, SCIP_EVENTTYPE_FIRSTLPSOLVED, SCIP_EVENTTYPE_GHOLEADDED, SCIP_EVENTTYPE_GHOLEREMOVED, SCIP_EVENTTYPE_GLBCHANGED, SCIP_EVENTTYPE_GUBCHANGED, SCIP_EVENTTYPE_IMPLADDED, SCIP_EVENTTYPE_LBRELAXED, SCIP_EVENTTYPE_LBTIGHTENED, SCIP_EVENTTYPE_LHOLEADDED, SCIP_EVENTTYPE_LHOLEREMOVED, SCIP_EVENTTYPE_LPSOLVED, SCIP_EVENTTYPE_NODEBRANCHED, SCIP_EVENTTYPE_NODEFEASIBLE, SCIP_EVENTTYPE_NODEFOCUSED, SCIP_EVENTTYPE_NODEINFEASIBLE, SCIP_EVENTTYPE_OBJCHANGED, SCIP_EVENTTYPE_POORSOLFOUND, SCIP_EVENTTYPE_PRESOLVEROUND, SCIP_EVENTTYPE_ROWADDEDLP, SCIP_EVENTTYPE_ROWADDEDSEPA, SCIP_EVENTTYPE_ROWCOEFCHANGED, SCIP_EVENTTYPE_ROWCONSTCHANGED, SCIP_EVENTTYPE_ROWDELETEDLP, SCIP_EVENTTYPE_ROWDELETEDSEPA, SCIP_EVENTTYPE_ROWSIDECHANGED, SCIP_EVENTTYPE_UBRELAXED, SCIP_EVENTTYPE_UBTIGHTENED, SCIP_EVENTTYPE_VARADDED, SCIP_EVENTTYPE_VARDELETED, SCIP_EVENTTYPE_VARFIXED, SCIP_EVENTTYPE_VARUNLOCKED, SCIP_INVALIDDATA, SCIP_OKAY, SCIPdebugMessage, SCIPerrorMessage, SCIPeventFree(), SCIPeventProcess(), SCIPsetIsEQ(), SCIPvarGetName(), TRUE, SCIP_EventObjChg::var, and SCIP_EventBdChg::var. Referenced by lpDelRowset(), rowEventCoefChanged(), rowEventConstantChanged(), rowEventSideChanged(), SCIPcliquetableCleanup(), SCIPlpAddRow(), SCIPlpShrinkRows(), SCIPprobAddVar(), SCIPprobDelVar(), SCIPsepastoreClearCuts(), sepastoreAddCut(), sepastoreDelCut(), varEventGholeAdded(), varEventGlbChanged(), varEventGubChanged(), varEventImplAdded(), varEventLbChanged(), varEventObjChanged(), varEventUbChanged(), varEventVarFixed(), and varEventVarUnlocked().
marks queue to delay incoming events until a call to SCIPeventqueueProcess()
Definition at line 2280 of file event.c. References SCIP_EventQueue::delayevents, NULL, SCIP_OKAY, SCIPdebugMessage, and TRUE. Referenced by nodeRepropagate(), SCIPcliquetableCleanup(), and treeSwitchPath().
processes all delayed events, marks queue to process events immediately
Definition at line 2295 of file event.c. References SCIP_Event::data, SCIP_EventQueue::delayevents, SCIP_Event::eventbdchg, SCIP_Event::eventimpladd, SCIP_Event::eventobjchg, SCIP_Var::eventqueueimpl, SCIP_Var::eventqueueindexlb, SCIP_Var::eventqueueindexobj, SCIP_Var::eventqueueindexub, SCIP_EventQueue::events, SCIP_Event::eventtype, FALSE, SCIP_EventQueue::nevents, NULL, SCIP_CALL, SCIP_EVENTTYPE_IMPLADDED, SCIP_EVENTTYPE_LBCHANGED, SCIP_EVENTTYPE_OBJCHANGED, SCIP_EVENTTYPE_UBCHANGED, SCIP_OKAY, SCIPdebugMessage, SCIPeventFree(), SCIPeventProcess(), SCIP_EventObjChg::var, SCIP_EventBdChg::var, and SCIP_EventImplAdd::var. Referenced by nodeRepropagate(), SCIPcliquetableCleanup(), and treeSwitchPath().
returns TRUE iff events of the queue are delayed until the next SCIPeventqueueProcess() call
Definition at line 2367 of file event.c. References SCIP_EventQueue::delayevents, and NULL. Referenced by nodeRepropagate(), SCIPvarAggregate(), SCIPvarFix(), and SCIPvarMultiaggregate(). |