messagehdlr for the Pseudo-Boolean output format
Definition in file message_pb.c.
Go to the source code of this file.
Functions | |
| static void | printMessage (SCIP_MESSAGEHDLR *messagehdlr, FILE *file, const char *initial, const char *msg) |
| static | SCIP_DECL_ERRORPRINTING (messageErrorPbSolver) |
| static | SCIP_DECL_MESSAGEWARNING (messageWarningPbSolver) |
| static | SCIP_DECL_MESSAGEDIALOG (messageDialogPbSolver) |
| static | SCIP_DECL_MESSAGEINFO (messageInfoPbSolver) |
| static | SCIP_DECL_MESSAGEHDLRFREE (messagehdlrFreePbSolver) |
| SCIP_RETCODE | SCIPcreateMessagehdlrPbSolver (SCIP_MESSAGEHDLR **messagehdlr, SCIP_Bool buffered, const char *filename, SCIP_Bool quiet) |
| SCIP_RETCODE | SCIPprintUnsupportedPbSolver (SCIP *scip) |
| SCIP_RETCODE | SCIPprintSolutionPbSolver (SCIP *scip) |
|
static |
| messagehdlr | message handler |
| file | file stream to print message into |
| initial | initial to prepend or NULL for no initial |
| msg | message to print or NULL to flush only |
Definition at line 42 of file message_pb.c.
References NULL, and SCIPmessagehdlrGetData().
Referenced by SCIP_DECL_ERRORPRINTING(), SCIP_DECL_MESSAGEDIALOG(), SCIP_DECL_MESSAGEINFO(), and SCIP_DECL_MESSAGEWARNING().
|
static |
default error printing method which is used to print all occurring errors
Definition at line 67 of file message_pb.c.
References NULL, and printMessage().
|
static |
warning message print method of default message handler
Definition at line 74 of file message_pb.c.
References printMessage().
|
static |
dialog message print method of default message handler
Definition at line 81 of file message_pb.c.
References NULL, and printMessage().
|
static |
info message print method of default message handler
Definition at line 88 of file message_pb.c.
References NULL, and printMessage().
|
static |
Definition at line 94 of file message_pb.c.
References assert(), BMSfreeMemory, NULL, SCIP_OKAY, and SCIPmessagehdlrGetData().
| SCIP_RETCODE SCIPcreateMessagehdlrPbSolver | ( | SCIP_MESSAGEHDLR ** | messagehdlr, |
| SCIP_Bool | buffered, | ||
| const char * | filename, | ||
| SCIP_Bool | quiet ) |
creates default pbsolver message handler
| messagehdlr | pointer to message handler |
| buffered | should the output be buffered |
| filename | name of log file or NULL for stdout |
| quiet | should screen messages be suppressed? |
Definition at line 106 of file message_pb.c.
References BMSallocMemory, NULL, SCIP_ALLOC, SCIP_Bool, SCIP_CALL, SCIP_OKAY, SCIPmessagehdlrCreate(), SCIPmessageSetErrorPrinting(), and TRUE.
Referenced by runShell().
| SCIP_RETCODE SCIPprintUnsupportedPbSolver | ( | SCIP * | scip | ) |
prints that the problem instance is unsupported
| scip | SCIP data structure |
Definition at line 128 of file message_pb.c.
References assert(), FALSE, NULL, SCIP_Bool, SCIP_OKAY, SCIPgetMessagehdlr(), SCIPinfoMessage(), SCIPmessagehdlrGetData(), SCIPmessagehdlrIsQuiet(), SCIPmessagehdlrSetQuiet(), and TRUE.
Referenced by fromCommandLine().
| SCIP_RETCODE SCIPprintSolutionPbSolver | ( | SCIP * | scip | ) |
prints the best primal solution
| scip | SCIP data structure |
Definition at line 156 of file message_pb.c.
References assert(), FALSE, NULL, nvars, SCIP_Bool, SCIP_CALL, SCIP_MAXSTRLEN, SCIP_OKAY, SCIP_STATUS_INFEASIBLE, SCIP_STATUS_OPTIMAL, SCIP_VARSTATUS_ORIGINAL, SCIPallocBufferArray, SCIPcheckSolOrig(), SCIPfreeBufferArray, SCIPgetBestSol(), SCIPgetMessagehdlr(), SCIPgetNOrigVars(), SCIPgetOrigVars(), SCIPgetSolVal(), SCIPgetStatus(), SCIPinfoMessage(), SCIPisZero(), SCIPmessagehdlrGetData(), SCIPmessagehdlrIsQuiet(), SCIPmessagehdlrSetQuiet(), SCIPprintBestSol(), SCIPreallocBufferArray, SCIPsnprintf(), SCIPvarGetName(), SCIPvarGetObj(), SCIPvarGetStatus(), TRUE, and vars.
Referenced by fromCommandLine().