event_solvingstats.c
Go to the documentation of this file.
32 * If the filename is specified, a file is created and the eventhandler is installed to catch all events announcing that
34 * Whenever one of these things happens, a line is printed to the file with the following information:
44 /*--+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0----+----1----+----2*/
113 /* notify SCIP that your event handler wants to react on the event types best solution found and node solved */
114 SCIP_CALL( SCIPcatchEvent(scip, SCIP_EVENTTYPE_BESTSOLFOUND | SCIP_EVENTTYPE_NODESOLVED, eventhdlr, NULL, NULL) );
137 /* notify SCIP that your event handler wants to drop the event types best solution found and node solved */
138 SCIP_CALL( SCIPdropEvent(scip, SCIP_EVENTTYPE_BESTSOLFOUND | SCIP_EVENTTYPE_NODESOLVED, eventhdlr, NULL, -1) );
156 /*assert(SCIPeventGetType(event) & (SCIP_EVENTTYPE_BESTSOLFOUND | SCIP_EVENTTYPE_NODESOLVED) != 0);*/
162 SCIPdebugMessage("exec method of event handler for writing information during the solving process\n");
164 SCIPinfoMessage(scip, eventhdlrdata->file, "%8.2f %7"SCIP_LONGINT_FORMAT" %7d %10"SCIP_LONGINT_FORMAT" %d %16.9g %16.9g\n",
165 SCIPgetSolvingTime(scip), SCIPgetNNodes(scip), SCIPgetNNodesLeft(scip), SCIPgetNLPIterations(scip),
188 SCIP_CALL( SCIPincludeEventhdlrBasic(scip, &eventhdlr, EVENTHDLR_NAME, EVENTHDLR_DESC, eventExecSolvingstats, eventhdlrdata) );
Definition: event_mastersol.c:51
static SCIP_DECL_EVENTEXEC(eventExecSolvingstats)
Definition: event_solvingstats.c:148
eventhdlr for writing various types of information during the solving process
static SCIP_DECL_EVENTFREE(eventFreeSolvingstats)
Definition: event_solvingstats.c:69
GCG variable pricer.
static SCIP_DECL_EVENTEXIT(eventExitSolvingstats)
Definition: event_solvingstats.c:122
SCIP_RETCODE SCIPincludeEventHdlrSolvingstats(SCIP *scip)
Definition: event_solvingstats.c:173
static SCIP_DECL_EVENTINIT(eventInitSolvingstats)
Definition: event_solvingstats.c:87