messagehdlr for the Pseudo-Boolean output format
Definition in file message_pb.h.
#include "scip/scip.h"Go to the source code of this file.
Functions | |
| 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) |
| 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().