type_event.h
Go to the documentation of this file.
27 /*---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0----+----1----+----2*/
53 #define SCIP_EVENTTYPE_DISABLED UINT64_C(0x00000000) /**< the event was disabled and has no effect any longer */
56 #define SCIP_EVENTTYPE_VARADDED UINT64_C(0x00000001) /**< a variable has been added to the transformed problem */
57 #define SCIP_EVENTTYPE_VARDELETED UINT64_C(0x00000002) /**< a variable will be deleted from the transformed problem */
58 #define SCIP_EVENTTYPE_VARFIXED UINT64_C(0x00000004) /**< a variable has been fixed, aggregated, or multi-aggregated */
59 #define SCIP_EVENTTYPE_VARUNLOCKED UINT64_C(0x00000008) /**< the number of rounding locks of a variable was reduced to zero or one */
60 #define SCIP_EVENTTYPE_OBJCHANGED UINT64_C(0x00000010) /**< the objective value of a variable has been changed */
61 #define SCIP_EVENTTYPE_GLBCHANGED UINT64_C(0x00000020) /**< the global lower bound of a variable has been changed */
62 #define SCIP_EVENTTYPE_GUBCHANGED UINT64_C(0x00000040) /**< the global upper bound of a variable has been changed */
63 #define SCIP_EVENTTYPE_LBTIGHTENED UINT64_C(0x00000080) /**< the local lower bound of a variable has been increased */
64 #define SCIP_EVENTTYPE_LBRELAXED UINT64_C(0x00000100) /**< the local lower bound of a variable has been decreased */
65 #define SCIP_EVENTTYPE_UBTIGHTENED UINT64_C(0x00000200) /**< the local upper bound of a variable has been decreased */
66 #define SCIP_EVENTTYPE_UBRELAXED UINT64_C(0x00000400) /**< the local upper bound of a variable has been increased */
67 #define SCIP_EVENTTYPE_GHOLEADDED UINT64_C(0x00000800) /**< a global hole has been added to the hole list of a variable's domain */
68 #define SCIP_EVENTTYPE_GHOLEREMOVED UINT64_C(0x00001000) /**< a global hole has been removed from the hole list of a variable's domain */
69 #define SCIP_EVENTTYPE_LHOLEADDED UINT64_C(0x00002000) /**< a local hole has been added to the hole list of a variable's domain */
70 #define SCIP_EVENTTYPE_LHOLEREMOVED UINT64_C(0x00004000) /**< a local hole has been removed from the hole list of a variable's domain */
71 #define SCIP_EVENTTYPE_IMPLADDED UINT64_C(0x00008000) /**< the variable's implication list, variable bound or clique information was extended */
74 #define SCIP_EVENTTYPE_PRESOLVEROUND UINT64_C(0x00010000) /**< a presolving round has been finished */
77 #define SCIP_EVENTTYPE_NODEFOCUSED UINT64_C(0x00020000) /**< a node has been focused and is now the focus node */
78 #define SCIP_EVENTTYPE_NODEFEASIBLE UINT64_C(0x00040000) /**< the LP/pseudo solution of the node was feasible */
79 #define SCIP_EVENTTYPE_NODEINFEASIBLE UINT64_C(0x00080000) /**< the focus node has been proven to be infeasible or was bounded */
80 #define SCIP_EVENTTYPE_NODEBRANCHED UINT64_C(0x00100000) /**< the focus node has been solved by branching */
83 #define SCIP_EVENTTYPE_FIRSTLPSOLVED UINT64_C(0x00200000) /**< the node's initial LP was solved */
84 #define SCIP_EVENTTYPE_LPSOLVED UINT64_C(0x00400000) /**< the node's LP was completely solved with cut & price */
87 #define SCIP_EVENTTYPE_POORSOLFOUND UINT64_C(0x00800000) /**< a good enough primal feasible (but not new best) solution was found */
88 #define SCIP_EVENTTYPE_BESTSOLFOUND UINT64_C(0x01000000) /**< a new best primal feasible solution was found */
91 #define SCIP_EVENTTYPE_ROWADDEDSEPA UINT64_C(0x02000000) /**< a row has been added to SCIP's separation storage */
92 #define SCIP_EVENTTYPE_ROWDELETEDSEPA UINT64_C(0x04000000) /**< a row has been removed from SCIP's separation storage */
94 #define SCIP_EVENTTYPE_ROWDELETEDLP UINT64_C(0x10000000) /**< a row has been removed from the LP */
95 #define SCIP_EVENTTYPE_ROWCOEFCHANGED UINT64_C(0x20000000) /**< a coefficient of a row has been changed (row specific event) */
96 #define SCIP_EVENTTYPE_ROWCONSTCHANGED UINT64_C(0x40000000) /**< the constant of a row has been changed (row specific event) */
97 #define SCIP_EVENTTYPE_ROWSIDECHANGED UINT64_C(0x80000000) /**< a side of a row has been changed (row specific event) */
113 #define SCIP_EVENTTYPE_VARCHANGED (SCIP_EVENTTYPE_VARFIXED | SCIP_EVENTTYPE_VARUNLOCKED | SCIP_EVENTTYPE_OBJCHANGED \
119 #define SCIP_EVENTTYPE_NODESOLVED (SCIP_EVENTTYPE_NODEFEASIBLE | SCIP_EVENTTYPE_NODEINFEASIBLE \
131 #define SCIP_EVENTTYPE_ROWCHANGED (SCIP_EVENTTYPE_ROWCOEFCHANGED | SCIP_EVENTTYPE_ROWCONSTCHANGED | SCIP_EVENTTYPE_ROWSIDECHANGED)
132 #define SCIP_EVENTTYPE_ROWEVENT (SCIP_EVENTTYPE_ROWADDEDSEPA | SCIP_EVENTTYPE_ROWDELETEDSEPA | SCIP_EVENTTYPE_ROWADDEDLP | SCIP_EVENTTYPE_ROWDELETEDLP | SCIP_EVENTTYPE_ROWCHANGED)
141 typedef struct SCIP_EventVarDeleted SCIP_EVENTVARDELETED; /**< data for variable deletion events */
143 typedef struct SCIP_EventVarUnlocked SCIP_EVENTVARUNLOCKED; /**< data for variable unlocked events */
144 typedef struct SCIP_EventObjChg SCIP_EVENTOBJCHG; /**< data for objective value change events */
148 typedef struct SCIP_EventRowAddedSepa SCIP_EVENTROWADDEDSEPA; /**< data for row addition to sepastorage events */
149 typedef struct SCIP_EventRowDeletedSepa SCIP_EVENTROWDELETEDSEPA; /**< data for row deletion from sepastorage events */
150 typedef struct SCIP_EventRowAddedLP SCIP_EVENTROWADDEDLP; /**< data for row addition to LP events */
151 typedef struct SCIP_EventRowDeletedLP SCIP_EVENTROWDELETEDLP; /**< data for row deletion from LP events */
152 typedef struct SCIP_EventRowCoefChanged SCIP_EVENTROWCOEFCHANGED; /**< data for row coefficient change events */
153 typedef struct SCIP_EventRowConstChanged SCIP_EVENTROWCONSTCHANGED; /**< data for row constant change events */
154 typedef struct SCIP_EventRowSideChanged SCIP_EVENTROWSIDECHANGED; /**< data for row side change events */
156 typedef struct SCIP_EventFilter SCIP_EVENTFILTER; /**< event filter to select events to be processed by an event handler */
157 typedef struct SCIP_EventQueue SCIP_EVENTQUEUE; /**< event queue to cache events and process them later */
191 /** solving process initialization method of event handler (called when branch and bound process is about to begin)
193 * This method is called when the presolving was finished and the branch and bound process is about to begin.
202 /** solving process deinitialization method of event handler (called before branch and bound process data is freed)
220 #define SCIP_DECL_EVENTDELETE(x) SCIP_RETCODE x (SCIP* scip, SCIP_EVENTHDLR* eventhdlr, SCIP_EVENTDATA** eventdata)
224 * Processes the event. The method is called every time an event occurs, for which the event handler
226 * corresponding SCIPcatch...() method. This method creates an event filter object to point to the
235 #define SCIP_DECL_EVENTEXEC(x) SCIP_RETCODE x (SCIP* scip, SCIP_EVENTHDLR* eventhdlr, SCIP_EVENT* event, SCIP_EVENTDATA* eventdata)
Definition: struct_event.h:100
Definition: struct_event.h:64
Definition: struct_event.h:170
Definition: struct_event.h:118
type definitions for return codes for SCIP methods
Definition: struct_event.h:40
Definition: struct_event.h:106
Definition: struct_event.h:127
type definitions for SCIP's main datastructure
Definition: struct_event.h:144
Definition: struct_event.h:88
Definition: struct_event.h:72
Definition: struct_event.h:80
Definition: struct_event.h:112
Definition: struct_event.h:94
Definition: struct_event.h:46
Definition: struct_event.h:135
Definition: struct_event.h:58
Definition: struct_event.h:52
common defines and data types used in all packages of SCIP
Definition: struct_event.h:205
Definition: struct_event.h:186