29 #ifndef __SCIP_TYPE_EVENT_H__ 30 #define __SCIP_TYPE_EVENT_H__ 36 #if !defined(_MSC_VER) || _MSC_VER > 1600 38 #define __STDC_FORMAT_MACROS 53 #define SCIP_EVENTTYPE_DISABLED UINT64_C(0x00000000) 56 #define SCIP_EVENTTYPE_VARADDED UINT64_C(0x00000001) 57 #define SCIP_EVENTTYPE_VARDELETED UINT64_C(0x00000002) 58 #define SCIP_EVENTTYPE_VARFIXED UINT64_C(0x00000004) 59 #define SCIP_EVENTTYPE_VARUNLOCKED UINT64_C(0x00000008) 60 #define SCIP_EVENTTYPE_OBJCHANGED UINT64_C(0x00000010) 61 #define SCIP_EVENTTYPE_GLBCHANGED UINT64_C(0x00000020) 62 #define SCIP_EVENTTYPE_GUBCHANGED UINT64_C(0x00000040) 63 #define SCIP_EVENTTYPE_LBTIGHTENED UINT64_C(0x00000080) 64 #define SCIP_EVENTTYPE_LBRELAXED UINT64_C(0x00000100) 65 #define SCIP_EVENTTYPE_UBTIGHTENED UINT64_C(0x00000200) 66 #define SCIP_EVENTTYPE_UBRELAXED UINT64_C(0x00000400) 67 #define SCIP_EVENTTYPE_GHOLEADDED UINT64_C(0x00000800) 68 #define SCIP_EVENTTYPE_GHOLEREMOVED UINT64_C(0x00001000) 69 #define SCIP_EVENTTYPE_LHOLEADDED UINT64_C(0x00002000) 70 #define SCIP_EVENTTYPE_LHOLEREMOVED UINT64_C(0x00004000) 71 #define SCIP_EVENTTYPE_IMPLADDED UINT64_C(0x00008000) 74 #define SCIP_EVENTTYPE_PRESOLVEROUND UINT64_C(0x00010000) 77 #define SCIP_EVENTTYPE_NODEFOCUSED UINT64_C(0x00020000) 78 #define SCIP_EVENTTYPE_NODEFEASIBLE UINT64_C(0x00040000) 79 #define SCIP_EVENTTYPE_NODEINFEASIBLE UINT64_C(0x00080000) 80 #define SCIP_EVENTTYPE_NODEBRANCHED UINT64_C(0x00100000) 83 #define SCIP_EVENTTYPE_FIRSTLPSOLVED UINT64_C(0x00200000) 84 #define SCIP_EVENTTYPE_LPSOLVED UINT64_C(0x00400000) 87 #define SCIP_EVENTTYPE_POORSOLFOUND UINT64_C(0x00800000) 88 #define SCIP_EVENTTYPE_BESTSOLFOUND UINT64_C(0x01000000) 91 #define SCIP_EVENTTYPE_ROWADDEDSEPA UINT64_C(0x02000000) 92 #define SCIP_EVENTTYPE_ROWDELETEDSEPA UINT64_C(0x04000000) 93 #define SCIP_EVENTTYPE_ROWADDEDLP UINT64_C(0x08000000) 94 #define SCIP_EVENTTYPE_ROWDELETEDLP UINT64_C(0x10000000) 95 #define SCIP_EVENTTYPE_ROWCOEFCHANGED UINT64_C(0x20000000) 96 #define SCIP_EVENTTYPE_ROWCONSTCHANGED UINT64_C(0x40000000) 97 #define SCIP_EVENTTYPE_ROWSIDECHANGED UINT64_C(0x80000000) 100 #define SCIP_EVENTTYPE_SYNC UINT64_C(0x100000000) 103 #define SCIP_EVENTTYPE_GBDCHANGED (SCIP_EVENTTYPE_GLBCHANGED | SCIP_EVENTTYPE_GUBCHANGED) 104 #define SCIP_EVENTTYPE_LBCHANGED (SCIP_EVENTTYPE_LBTIGHTENED | SCIP_EVENTTYPE_LBRELAXED) 105 #define SCIP_EVENTTYPE_UBCHANGED (SCIP_EVENTTYPE_UBTIGHTENED | SCIP_EVENTTYPE_UBRELAXED) 106 #define SCIP_EVENTTYPE_BOUNDTIGHTENED (SCIP_EVENTTYPE_LBTIGHTENED | SCIP_EVENTTYPE_UBTIGHTENED) 107 #define SCIP_EVENTTYPE_BOUNDRELAXED (SCIP_EVENTTYPE_LBRELAXED | SCIP_EVENTTYPE_UBRELAXED) 108 #define SCIP_EVENTTYPE_BOUNDCHANGED (SCIP_EVENTTYPE_LBCHANGED | SCIP_EVENTTYPE_UBCHANGED) 109 #define SCIP_EVENTTYPE_GHOLECHANGED (SCIP_EVENTTYPE_GHOLEADDED | SCIP_EVENTTYPE_GHOLEREMOVED) 110 #define SCIP_EVENTTYPE_LHOLECHANGED (SCIP_EVENTTYPE_LHOLEADDED | SCIP_EVENTTYPE_LHOLEREMOVED) 111 #define SCIP_EVENTTYPE_HOLECHANGED (SCIP_EVENTTYPE_GHOLECHANGED | SCIP_EVENTTYPE_LHOLECHANGED) 112 #define SCIP_EVENTTYPE_DOMCHANGED (SCIP_EVENTTYPE_BOUNDCHANGED | SCIP_EVENTTYPE_HOLECHANGED) 113 #define SCIP_EVENTTYPE_VARCHANGED (SCIP_EVENTTYPE_VARFIXED | SCIP_EVENTTYPE_VARUNLOCKED | SCIP_EVENTTYPE_OBJCHANGED \ 114 | SCIP_EVENTTYPE_GBDCHANGED | SCIP_EVENTTYPE_DOMCHANGED | SCIP_EVENTTYPE_IMPLADDED \ 115 | SCIP_EVENTTYPE_VARDELETED) 116 #define SCIP_EVENTTYPE_VAREVENT (SCIP_EVENTTYPE_VARADDED | SCIP_EVENTTYPE_VARCHANGED) 119 #define SCIP_EVENTTYPE_NODESOLVED (SCIP_EVENTTYPE_NODEFEASIBLE | SCIP_EVENTTYPE_NODEINFEASIBLE \ 120 | SCIP_EVENTTYPE_NODEBRANCHED) 121 #define SCIP_EVENTTYPE_NODEEVENT (SCIP_EVENTTYPE_NODEFOCUSED | SCIP_EVENTTYPE_NODESOLVED) 124 #define SCIP_EVENTTYPE_LPEVENT (SCIP_EVENTTYPE_FIRSTLPSOLVED | SCIP_EVENTTYPE_LPSOLVED) 127 #define SCIP_EVENTTYPE_SOLFOUND (SCIP_EVENTTYPE_POORSOLFOUND | SCIP_EVENTTYPE_BESTSOLFOUND) 128 #define SCIP_EVENTTYPE_SOLEVENT (SCIP_EVENTTYPE_SOLFOUND) 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) 135 #define SCIP_EVENTTYPE_FORMAT PRIx64 165 #define SCIP_DECL_EVENTCOPY(x) SCIP_RETCODE x (SCIP* scip, SCIP_EVENTHDLR* eventhdlr) 173 #define SCIP_DECL_EVENTFREE(x) SCIP_RETCODE x (SCIP* scip, SCIP_EVENTHDLR* eventhdlr) 181 #define SCIP_DECL_EVENTINIT(x) SCIP_RETCODE x (SCIP* scip, SCIP_EVENTHDLR* eventhdlr) 189 #define SCIP_DECL_EVENTEXIT(x) SCIP_RETCODE x (SCIP* scip, SCIP_EVENTHDLR* eventhdlr) 200 #define SCIP_DECL_EVENTINITSOL(x) SCIP_RETCODE x (SCIP* scip, SCIP_EVENTHDLR* eventhdlr) 211 #define SCIP_DECL_EVENTEXITSOL(x) SCIP_RETCODE x (SCIP* scip, SCIP_EVENTHDLR* eventhdlr) 220 #define SCIP_DECL_EVENTDELETE(x) SCIP_RETCODE x (SCIP* scip, SCIP_EVENTHDLR* eventhdlr, SCIP_EVENTDATA** eventdata) 235 #define SCIP_DECL_EVENTEXEC(x) SCIP_RETCODE x (SCIP* scip, SCIP_EVENTHDLR* eventhdlr, SCIP_EVENT* event, SCIP_EVENTDATA* eventdata)
struct SCIP_EventhdlrData SCIP_EVENTHDLRDATA
type definitions for return codes for SCIP methods
type definitions for SCIP's main datastructure
struct SCIP_EventData SCIP_EVENTDATA
common defines and data types used in all packages of SCIP