35 struct SCIP_EventhdlrData
60 assert(eventhdlrdata !=
NULL);
61 assert(eventhdlrdata->objeventhdlr !=
NULL);
62 assert(eventhdlrdata->objeventhdlr->scip_ != scip);
64 if( eventhdlrdata->objeventhdlr->iscloneable() )
67 newobjeventhdlr =
dynamic_cast<scip::ObjEventhdlr*
> (eventhdlrdata->objeventhdlr->clone(scip));
83 assert(eventhdlrdata !=
NULL);
84 assert(eventhdlrdata->objeventhdlr !=
NULL);
85 assert(eventhdlrdata->objeventhdlr->scip_ == scip);
88 SCIP_CALL( eventhdlrdata->objeventhdlr->scip_free(scip, eventhdlr) );
91 if( eventhdlrdata->deleteobject )
92 delete eventhdlrdata->objeventhdlr;
109 assert(eventhdlrdata !=
NULL);
110 assert(eventhdlrdata->objeventhdlr !=
NULL);
111 assert(eventhdlrdata->objeventhdlr->scip_ == scip);
114 SCIP_CALL( eventhdlrdata->objeventhdlr->scip_init(scip, eventhdlr) );
127 assert(eventhdlrdata !=
NULL);
128 assert(eventhdlrdata->objeventhdlr !=
NULL);
131 SCIP_CALL( eventhdlrdata->objeventhdlr->scip_exit(scip, eventhdlr) );
144 assert(eventhdlrdata !=
NULL);
145 assert(eventhdlrdata->objeventhdlr !=
NULL);
148 SCIP_CALL( eventhdlrdata->objeventhdlr->scip_initsol(scip, eventhdlr) );
161 assert(eventhdlrdata !=
NULL);
162 assert(eventhdlrdata->objeventhdlr !=
NULL);
165 SCIP_CALL( eventhdlrdata->objeventhdlr->scip_exitsol(scip, eventhdlr) );
178 assert(eventhdlrdata !=
NULL);
179 assert(eventhdlrdata->objeventhdlr !=
NULL);
182 SCIP_CALL( eventhdlrdata->objeventhdlr->scip_delete(scip, eventhdlr, eventdata) );
195 assert(eventhdlrdata !=
NULL);
196 assert(eventhdlrdata->objeventhdlr !=
NULL);
199 SCIP_CALL( eventhdlrdata->objeventhdlr->scip_exec(scip, eventhdlr, event, eventdata) );
220 assert(scip !=
NULL);
221 assert(objeventhdlr !=
NULL);
225 eventhdlrdata->objeventhdlr = objeventhdlr;
226 eventhdlrdata->deleteobject = deleteobject;
231 eventhdlrFreeObj, eventhdlrInitObj, eventhdlrExitObj,
232 eventhdlrInitsolObj, eventhdlrExitsolObj, eventhdlrDeleteObj, eventhdlrExecObj,
248 if( eventhdlr ==
NULL )
252 assert(eventhdlrdata !=
NULL);
254 return eventhdlrdata->objeventhdlr;
266 assert(eventhdlrdata !=
NULL);
268 return eventhdlrdata->objeventhdlr;