Detailed Description
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) |
Function Documentation
◆ printMessage()
|
static |
- Parameters
-
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().
◆ SCIP_DECL_ERRORPRINTING()
|
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().
◆ SCIP_DECL_MESSAGEWARNING()
|
static |
warning message print method of default message handler
Definition at line 74 of file message_pb.c.
References printMessage().
◆ SCIP_DECL_MESSAGEDIALOG()
|
static |
dialog message print method of default message handler
Definition at line 81 of file message_pb.c.
References NULL, and printMessage().
◆ SCIP_DECL_MESSAGEINFO()
|
static |
info message print method of default message handler
Definition at line 88 of file message_pb.c.
References NULL, and printMessage().
◆ SCIP_DECL_MESSAGEHDLRFREE()
|
static |
Definition at line 94 of file message_pb.c.
References BMSfreeMemory, NULL, SCIP_OKAY, and SCIPmessagehdlrGetData().
◆ SCIPcreateMessagehdlrPbSolver()
| SCIP_RETCODE SCIPcreateMessagehdlrPbSolver | ( | SCIP_MESSAGEHDLR ** | messagehdlr, |
| SCIP_Bool | buffered, | ||
| const char * | filename, | ||
| SCIP_Bool | quiet | ||
| ) |
creates default pbsolver message handler
- Parameters
-
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_CALL, SCIP_OKAY, SCIPmessagehdlrCreate(), SCIPmessageSetErrorPrinting(), and TRUE.
Referenced by runShell().
◆ SCIPprintUnsupportedPbSolver()
| SCIP_RETCODE SCIPprintUnsupportedPbSolver | ( | SCIP * | scip | ) |
prints that the problem instance is unsupported
- Parameters
-
scip SCIP data structure
Definition at line 128 of file message_pb.c.
References FALSE, NULL, SCIP_Bool, SCIP_OKAY, SCIPgetMessagehdlr(), SCIPinfoMessage(), SCIPmessagehdlrGetData(), SCIPmessagehdlrIsQuiet(), SCIPmessagehdlrSetQuiet(), and TRUE.
Referenced by fromCommandLine().
◆ SCIPprintSolutionPbSolver()
| SCIP_RETCODE SCIPprintSolutionPbSolver | ( | SCIP * | scip | ) |
prints the best primal solution
- Parameters
-
scip SCIP data structure
Definition at line 156 of file message_pb.c.
References FALSE, NULL, 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(), and TRUE.
Referenced by fromCommandLine().