All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Detailed Descriptionmessage output methods Definition in file message.c. #include <stdarg.h> #include <stdio.h> #include <assert.h> #include "scip/type_message.h" #include "scip/struct_message.h" #include "scip/def.h" #include "scip/pub_misc.h" #include "blockmemshell/memory.h" Go to the source code of this file.
Macro Definition Documentation
Definition at line 37 of file message.c. Referenced by SCIPmessageVFPrintDialog(), SCIPmessageVFPrintInfo(), SCIPmessageVFPrintVerbInfo(), SCIPmessageVFPrintWarning(), and SCIPmessageVPrintError(). Function Documentation
handles the output of the given message
Definition at line 48 of file message.c. References NULL, and SCIP_MAXSTRLEN. Referenced by messagePrintDialog(), messagePrintInfo(), and messagePrintWarning().
static variable which holds the error printing method
prints error message with the current message handler, or buffers the message if no newline exists
Definition at line 144 of file message.c. References NULL. Referenced by SCIPmessagePrintErrorHeader(), and SCIPmessageVPrintError().
prints warning message with the current message handler, or buffers the message if no newline exists
Definition at line 154 of file message.c. References handleMessage(), SCIP_Messagehdlr::logfile, NULL, SCIP_Messagehdlr::quiet, SCIP_Messagehdlr::warningbuffer, and SCIP_Messagehdlr::warningbufferlen. Referenced by messagehdlrFree(), SCIPmessagehdlrSetQuiet(), and SCIPmessageVFPrintWarning().
prints dialog message with the current message handler, or buffers the message if no newline exists
Definition at line 168 of file message.c. References SCIP_Messagehdlr::dialogbuffer, SCIP_Messagehdlr::dialogbufferlen, handleMessage(), SCIP_Messagehdlr::logfile, NULL, SCIP_Messagehdlr::quiet, and TRUE. Referenced by messagehdlrFree(), SCIPmessagehdlrSetQuiet(), and SCIPmessageVFPrintDialog().
prints info message with the current message handler, or buffers the message if no newline exists
Definition at line 194 of file message.c. References handleMessage(), SCIP_Messagehdlr::infobuffer, SCIP_Messagehdlr::infobufferlen, SCIP_Messagehdlr::logfile, NULL, SCIP_Messagehdlr::quiet, and TRUE. Referenced by messagehdlrFree(), SCIPmessagehdlrSetQuiet(), SCIPmessageVFPrintInfo(), and SCIPmessageVFPrintVerbInfo().
if the given file is not NULL a log file is opened
Definition at line 220 of file message.c. References SCIP_Messagehdlr::logfile, NULL, and SCIPerrorMessage. Referenced by SCIPmessagehdlrCreate(), and SCIPmessagehdlrSetLogfile().
frees message handler
Definition at line 240 of file message.c. References BMSfreeMemory, BMSfreeMemoryArrayNull, messagePrintDialog(), messagePrintInfo(), messagePrintWarning(), NULL, SCIP_CALL, and SCIP_OKAY. Referenced by SCIPcreateObjMessagehdlr(), and SCIPmessagehdlrRelease().
Creates and captures a message handler which deals with warning, information, and dialog (interactive shell) methods.
Definition at line 279 of file message.c. References BMSallocMemory, BMSallocMemoryArray, messagehdlrOpenLogfile(), NULL, SCIP_ALLOC, SCIP_MAXSTRLEN, and SCIP_OKAY. Referenced by SCIPcreateMessagehdlrDefault(), and SCIPcreateObjMessagehdlr().
captures message handler
Definition at line 323 of file message.c. References NULL, and SCIP_Messagehdlr::nuses. Referenced by SCIPsetMessagehdlr().
releases message handler
Definition at line 332 of file message.c. References messagehdlrFree(), NULL, SCIP_CALL, and SCIP_OKAY. Referenced by SCIPfree(), and SCIPsetMessagehdlr().
sets the user data of the message handler
Definition at line 361 of file message.c. References SCIP_Messagehdlr::messagehdlrdata, NULL, SCIP_INVALIDDATA, and SCIP_OKAY. Referenced by SCIP_DECL_MESSAGEHDLRFREE().
sets the log file name for the message handler
Definition at line 377 of file message.c. References SCIP_Messagehdlr::logfile, messagehdlrOpenLogfile(), and NULL. Referenced by SCIPsetMessagehdlrLogfile().
sets the messages handler to be quiet
Definition at line 395 of file message.c. References messagePrintDialog(), messagePrintInfo(), messagePrintWarning(), NULL, and SCIP_Messagehdlr::quiet. Referenced by SCIPsetMessagehdlrQuiet().
prints a warning message, acting like the printf() command
Definition at line 411 of file message.c. References SCIPmessageVFPrintWarning(). Referenced by exprgraphNodeSimplify(), exprsimplifyFlattenPolynomials(), filterTRMrescode(), lpiGetBInvVec(), nlpSolve(), paramCheckBool(), paramCheckChar(), paramCheckFixed(), paramCheckInt(), paramCheckLongint(), paramCheckReal(), paramCheckString(), paramSetBool(), paramSetChar(), paramSetInt(), paramSetLongint(), paramsetParse(), paramSetReal(), polynomialdataExpandMonomialFactor(), restoreLPData(), SCIP_DECL_NLPISETINTPAR(), SCIP_DECL_NLPISETREALPAR(), SCIPconsParse(), SCIPlpComputeRelIntPoint(), SCIPlpiAddCols(), SCIPlpiAddRows(), SCIPlpiChgBounds(), SCIPlpiChgObj(), SCIPlpiChgSides(), SCIPlpiClearState(), SCIPlpiCreate(), SCIPlpiGetBInvRow(), SCIPlpiGetDualfarkas(), SCIPlpiGetPrimalRay(), SCIPlpiGetSol(), SCIPlpiLoadColLP(), SCIPlpiReadLP(), SCIPlpiScaleCol(), SCIPlpiScaleRow(), SCIPlpiStrongbranch(), SCIPlpiWriteLP(), SCIPlpWriteMip(), SCIPpriceLoop(), SolveWSimplex(), varParse(), and writeProblem().
prints a warning message, acting like the vprintf() command
Definition at line 425 of file message.c. References SCIPmessageVFPrintWarning().
prints a warning message, acting like the fprintf() command
Definition at line 435 of file message.c. References SCIPmessageVFPrintWarning().
prints a warning message, acting like the vfprintf() command
Definition at line 449 of file message.c. References BMSallocMemorySize, BMSfreeMemory, messagePrintWarning(), NULL, SCIP_MAXSTRLEN, and va_copy. Referenced by SCIPmessageFPrintWarning(), SCIPmessagePrintWarning(), SCIPmessageVPrintWarning(), and SCIPwarningMessage().
prints a dialog message that requests user interaction, acting like the printf() command
Definition at line 494 of file message.c. References NULL, and SCIPmessageVFPrintDialog().
prints a dialog message that requests user interaction, acting like the vprintf() command
Definition at line 508 of file message.c. References NULL, and SCIPmessageVFPrintDialog().
prints a dialog message that requests user interaction into a file, acting like the fprintf() command
Definition at line 518 of file message.c. References SCIPmessageVFPrintDialog().
prints a dialog message that requests user interaction into a file, acting like the vfprintf() command
Definition at line 533 of file message.c. References BMSallocMemorySize, BMSfreeMemory, messagePrintDialog(), NULL, SCIP_MAXSTRLEN, and va_copy. Referenced by SCIPdialogMessage(), SCIPmessageFPrintDialog(), SCIPmessagePrintDialog(), and SCIPmessageVPrintDialog().
prints a message, acting like the printf() command
Definition at line 578 of file message.c. References NULL, and SCIPmessageVFPrintInfo(). Referenced by checkSolOrig(), displayRelevantStats(), exprParse(), lpBarrier(), lpDualSimplex(), lpPrimalSimplex(), SCIPhashmapPrintStatistics(), SCIPhashtablePrintStatistics(), SCIPprintMemoryDiagnostic(), SCIPprobPrintPseudoSol(), and SCIPsolCheck().
prints a message, acting like the vprintf() command
Definition at line 592 of file message.c. References NULL, and SCIPmessageVFPrintInfo().
prints a message into a file, acting like the fprintf() command
Definition at line 602 of file message.c. References SCIPmessageVFPrintInfo(). Referenced by exprgraphPrintNodeDot(), exprgraphPrintNodeExpression(), paramWrite(), printBounds(), printBranchruleStatistics(), printConflictStatistics(), printConstraintStatistics(), printConstraintTimingStatistics(), printDualSol(), printFunction(), printHeuristicStatistics(), printHolelist(), printLPStatistics(), printNLPStatistics(), printPresolverStatistics(), printPricerStatistics(), printPropagatorStatistics(), printRelaxatorStatistics(), printRootStatistics(), printSeparatorStatistics(), printSolutionStatistics(), printTime(), printTimingStatistics(), printTreeStatistics(), SCIPcolPrint(), SCIPconsPrint(), SCIPdigraphPrint(), SCIPdigraphPrintComponents(), SCIPdispLongint(), SCIPdispPrintLine(), SCIPdispTime(), SCIPexprgraphPrintDot(), SCIPexprPrint(), SCIPlpWriteMip(), SCIPnlpiOraclePrintProblem(), SCIPnlpiOraclePrintProblemGams(), SCIPnlpWrite(), SCIPnlrowPrint(), SCIPparamsetSetToSubscipsOff(), SCIPparamsetWrite(), SCIPprintBestSol(), SCIPprintBestTransSol(), SCIPprintBranchingStatistics(), SCIPprintDualSol(), SCIPprintExternalCodes(), SCIPprintLPSolutionQuality(), SCIPprintNodeRootPath(), SCIPprintReal(), SCIPprintSol(), SCIPprintStage(), SCIPprintStatistics(), SCIPprintStatus(), SCIPprintTransSol(), SCIPprintVersion(), SCIPprobPrintStatistics(), SCIPprofilePrint(), SCIPretcodePrint(), SCIProwPrint(), SCIPsolPrint(), SCIPsolPrintRay(), SCIPvarPrint(), SCIPvbcCutoffNode(), SCIPvbcInit(), SCIPvbcLowerbound(), SCIPvbcNewChild(), SCIPvbcSolvedNode(), SCIPvbcUpdateChild(), SCIPvbcUpperbound(), SCIPwriteImplicationConflictGraph(), and vbcSetColor().
prints a message into a file, acting like the vfprintf() command
Definition at line 617 of file message.c. References BMSallocMemorySize, BMSfreeMemory, messagePrintInfo(), NULL, SCIP_MAXSTRLEN, and va_copy. Referenced by SCIPinfoMessage(), SCIPmessageFPrintInfo(), SCIPmessagePrintInfo(), and SCIPmessageVPrintInfo().
prints a message depending on the verbosity level, acting like the printf() command
Definition at line 662 of file message.c. References NULL, and SCIPmessageVFPrintVerbInfo(). Referenced by exitPresolve(), focusnodeToFork(), lpSolve(), lpSolveStable(), presolve(), presolveRound(), priceAndCutLoop(), propAndSolve(), SCIPlpCreate(), SCIPlpEndDive(), SCIPlpSolveAndEval(), SCIPpresolve(), SCIPreadProb(), SCIPsolve(), SCIPsolveCIP(), SCIPstatUpdateMemsaveMode(), SCIPtransformProb(), SCIPtreeEndProbing(), SCIPtreeSetNodesel(), SCIPvbcExit(), SCIPvbcInit(), and solveNode().
prints a message depending on the verbosity level, acting like the vprintf() command
Definition at line 678 of file message.c. References NULL, and SCIPmessageVFPrintVerbInfo().
prints a message into a file depending on the verbosity level, acting like the fprintf() command
Definition at line 690 of file message.c. References SCIPmessageVFPrintVerbInfo().
prints a message into a file depending on the verbosity level, acting like the vfprintf() command
Definition at line 707 of file message.c. References BMSallocMemorySize, BMSfreeMemory, messagePrintInfo(), NULL, SCIP_MAXSTRLEN, SCIP_VERBLEVEL_FULL, SCIP_VERBLEVEL_NONE, and va_copy. Referenced by SCIPmessageFPrintVerbInfo(), SCIPmessagePrintVerbInfo(), SCIPmessageVPrintVerbInfo(), and SCIPverbMessage().
prints the header with source file location for an error message using the static message handler
Definition at line 761 of file message.c. References messagePrintError(), and SCIP_MAXSTRLEN.
prints a error message, acting like the printf() command
Definition at line 775 of file message.c. References SCIPmessageVPrintError(). Referenced by SCIPprintError(), SCIPprintSysError(), and SCIPretcodePrintError().
prints an error message, acting like the vprintf() command using the static message handler
Definition at line 788 of file message.c. References BMSallocMemorySize, BMSfreeMemory, messagePrintError(), NULL, SCIP_MAXSTRLEN, and va_copy. Referenced by SCIPmessagePrintError().
Method to set the error printing method. Setting the error printing method to NULL will suspend all error methods.
returns the user data of the message handler
Definition at line 871 of file message.c. References SCIP_Messagehdlr::messagehdlrdata, and NULL. Referenced by SCIP_DECL_MESSAGEDIALOG(), SCIP_DECL_MESSAGEHDLRFREE(), SCIP_DECL_MESSAGEINFO(), SCIP_DECL_MESSAGEWARNING(), and SCIPgetObjMessagehdlr().
returns the log file or NULL for stdout
Definition at line 883 of file message.c. References SCIP_Messagehdlr::logfile, and NULL.
returns TRUE if the message handler is set to be quiet
Definition at line 894 of file message.c. References NULL, and SCIP_Messagehdlr::quiet. Variable Documentation |