Detailed Description
message output methods
Macros | |
#define | SCIPdebugMsg while ( FALSE ) SCIPdebugMessagePrint |
#define | SCIPdebugMsgPrint while ( FALSE ) SCIPdebugMessagePrint |
Functions | |
SCIP_RETCODE | SCIPsetMessagehdlr (SCIP *scip, SCIP_MESSAGEHDLR *messagehdlr) |
SCIP_MESSAGEHDLR * | SCIPgetMessagehdlr (SCIP *scip) |
void | SCIPsetMessagehdlrLogfile (SCIP *scip, const char *filename) |
void | SCIPsetMessagehdlrQuiet (SCIP *scip, SCIP_Bool quiet) |
void | SCIPwarningMessage (SCIP *scip, const char *formatstr,...) |
void | SCIPprintDebugMessage (SCIP *scip, const char *sourcefile, int sourceline, const char *formatstr,...) |
void | SCIPdebugMessagePrint (SCIP *scip, const char *formatstr,...) |
void | SCIPdialogMessage (SCIP *scip, FILE *file, const char *formatstr,...) |
void | SCIPinfoMessage (SCIP *scip, FILE *file, const char *formatstr,...) |
void | SCIPverbMessage (SCIP *scip, SCIP_VERBLEVEL msgverblevel, FILE *file, const char *formatstr,...) |
SCIP_VERBLEVEL | SCIPgetVerbLevel (SCIP *scip) |
Macro Definition Documentation
◆ SCIPdebugMsg
#define SCIPdebugMsg while ( FALSE ) SCIPdebugMessagePrint |
prints a debugging message if SCIP_DEBUG flag is set
Definition at line 78 of file scip_message.h.
◆ SCIPdebugMsgPrint
#define SCIPdebugMsgPrint while ( FALSE ) SCIPdebugMessagePrint |
Definition at line 79 of file scip_message.h.
Function Documentation
◆ SCIPsetMessagehdlr()
SCIP_RETCODE SCIPsetMessagehdlr | ( | SCIP * | scip, |
SCIP_MESSAGEHDLR * | messagehdlr | ||
) |
installs the given message handler, such that all messages are passed to this handler. A messages handler can be created via SCIPmessagehdlrCreate().
- Returns
- SCIP_OKAY is returned if everything worked. Otherwise a suitable error code is passed. See SCIP_RETCODE for a complete list of error codes.
- Precondition
- this method can be called in one of the following stages of the SCIP solving process:
- Note
- The currently installed messages handler gets freed if this SCIP instance is its last user (w.r.t. capture/release).
- Parameters
-
scip SCIP data structure messagehdlr message handler to install, or NULL to suppress all output
Definition at line 64 of file scip_message.c.
References FALSE, NULL, SCIP_CALL, SCIP_OKAY, SCIPcheckStage(), SCIPmessagehdlrCapture(), SCIPmessagehdlrRelease(), and TRUE.
Referenced by SCIPcopyPlugins().
◆ SCIPgetMessagehdlr()
SCIP_MESSAGEHDLR * SCIPgetMessagehdlr | ( | SCIP * | scip | ) |
returns the currently installed message handler
- Returns
- the currently installed message handler, or NULL if messages are currently suppressed
- Parameters
-
scip SCIP data structure
Definition at line 88 of file scip_message.c.
Referenced by buildVertexPolyhedralSeparationLP(), computeEffectiveHorizonCumulativeCondition(), consPrintConsSol(), coretimesUpdateUb(), createLP(), createLPWithHardCuts(), createMasterproblem(), createSubproblems(), detectRedundantConstraints(), heurdataInit(), initAlternativeLP(), initConcsolver(), scipexamples::QueensSolver::QueensSolver(), runBenders(), SCIP_DECL_CONSCHECK(), SCIP_DECL_CONSEXITSOL(), SCIP_DECL_DIALOGEXEC(), SCIP_DECL_DISPOUTPUT(), SCIPaggrRowPrint(), SCIPbendersExec(), SCIPcopyPlugins(), SCIPwriteBnd(), solveClassification(), and solveMinIISC().
◆ SCIPsetMessagehdlrLogfile()
void SCIPsetMessagehdlrLogfile | ( | SCIP * | scip, |
const char * | filename | ||
) |
sets the log file name for the currently installed message handler
- Parameters
-
scip SCIP data structure filename name of log file, or NULL (no log)
Definition at line 96 of file scip_message.c.
References NULL, and SCIPmessagehdlrSetLogfile().
Referenced by fromAmpl(), processArguments(), and SCIPprocessShellArguments().
◆ SCIPsetMessagehdlrQuiet()
sets the currently installed message handler to be quiet (or not)
- Parameters
-
scip SCIP data structure quiet should screen messages be suppressed?
Definition at line 108 of file scip_message.c.
References NULL, and SCIPmessagehdlrSetQuiet().
Referenced by doCopy(), initConcsolver(), processArguments(), SCIP_DECL_RELAXEXEC(), SCIPprocessShellArguments(), SCIPverifyCircularPatternNLP(), and solvePricingMINLP().
◆ SCIPwarningMessage()
void SCIPwarningMessage | ( | SCIP * | scip, |
const char * | formatstr, | ||
... | |||
) |
prints a warning message via the message handler
- Parameters
-
scip SCIP data structure formatstr format string like in printf() function ... format arguments line in printf() function
Definition at line 120 of file scip_message.c.
References NULL, and SCIPmessageVFPrintWarning().
Referenced by addConstraintToStage(), addSlackVars(), addVariableToStage(), applyBoundHeur(), applyFixings(), applyObbt(), applyOrbitalBranchingPropagations(), applyRepair(), applyVbounds(), changeParametersUsingSettingsFiles(), checkAltLPInfeasible(), checkConsnames(), checkParameters(), checkTransferBoolParam(), checkVarnames(), computeAndConstraintInfos(), consdataCreate(), conshdlrdataHasUpgrade(), conshdlrsCanProvideSymInformation(), copyToSubscip(), CREATE_CONSTRAINT(), createAltLP(), createAndAddLinearCons(), createSubSCIP(), determineSymmetry(), doPricing(), AMPLProblemHandler::EndInput(), executeLNSHeuristic(), fillDigraph(), findBestObjectiveValue(), getFixedVariable(), getJobId(), getObjective(), getStatistics(), handleNlpParam(), identifyOrbitalSymmetriesBroken(), initSolve(), initWorhp(), parseConstraint(), parseRange(), parseType(), printIndicatorCons(), readBinaries(), readBounds(), readCnf(), readCoefficients(), readCols(), readDecomposition(), readExpression(), readFZNFile(), readGenerals(), readQCMatrix(), readQMatrix(), readRanges(), readRhs(), readSol(), readSOS(), readWarning(), readXmlSolFile(), scaleCons(), SCIP_DECL_BRANCHEXECLP(), SCIP_DECL_CONSCHECK(), SCIP_DECL_CONSCOPY(), SCIP_DECL_CONSENFOLP(), SCIP_DECL_CONSINITPRE(), SCIP_DECL_CONSINITSOL(), SCIP_DECL_DIALOGEXEC(), SCIP_DECL_EVENTEXEC(), SCIP_DECL_EVENTINIT(), SCIP_DECL_HEUREXEC(), SCIP_DECL_HEURINIT(), SCIP_DECL_NLPISOLVE(), SCIP_DECL_PRESOLEXEC(), SCIP_DECL_READERREAD(), SCIP_DECL_READERWRITE(), SCIPaddIneqBilinear(), SCIPbendersSolveSubproblemLP(), SCIPchgVarLb(), SCIPchgVarLbGlobal(), SCIPchgVarLbNode(), SCIPchgVarLbProbing(), SCIPchgVarUb(), SCIPchgVarUbGlobal(), SCIPchgVarUbNode(), SCIPchgVarUbProbing(), SCIPcomputeFacetVertexPolyhedralNonlinear(), SCIPconsBendersEnforceSolution(), SCIPconsGetDualfarkas(), SCIPconsGetDualsol(), SCIPconsGetLhs(), SCIPconsGetRhs(), SCIPcreateConsOrbitope(), SCIPcreateConsPseudobooleanWithConss(), SCIPcreateConsSuperindicator(), SCIPgetConsVals(), SCIPgetTreesizeEstimation(), SCIPincludeConsUpgradeNonlinear(), SCIPincludeReaderZpl(), SCIPinferVarLbCons(), SCIPinferVarLbProp(), SCIPinferVarUbCons(), SCIPinferVarUbProp(), SCIPisDualSolAvailable(), SCIPnewProbingNode(), SCIPreadOpb(), SCIPsolve(), SCIPsolveConcurrent(), SCIPtightenVarLb(), SCIPtightenVarLbGlobal(), SCIPtightenVarUb(), SCIPtightenVarUbGlobal(), SCIPwriteBnd(), SCIPwriteCcg(), SCIPwriteGms(), SCIPwriteImplicationConflictGraph(), SCIPwriteLp(), SCIPwriteMps(), SCIPwritePbm(), SCIPwritePip(), SCIPwritePpm(), setupAndSolve(), setupAndSolveSubscipOneopt(), setupAndSolveSubscipRapidlearning(), setupSCIPparamsFP2(), setupSCIPparamsStage3(), shadowtreeFillNodeDepthBranchIndices(), solveBilinearLP(), solveClassification(), solveCoveringProblem(), solveLP(), solveLp(), solveMinIISC(), solveSubNLP(), solveSubproblem(), solveSubscip(), writeFzn(), and writeOpbConstraints().
◆ SCIPprintDebugMessage()
void SCIPprintDebugMessage | ( | SCIP * | scip, |
const char * | sourcefile, | ||
int | sourceline, | ||
const char * | formatstr, | ||
... | |||
) |
prints a debug message
- Parameters
-
scip SCIP data structure sourcefile name of the source file that called the function sourceline line in the source file where the function was called formatstr format string like in printf() function ... format arguments line in printf() function
Definition at line 136 of file scip_message.c.
References NULL, SCIPmessageFPrintInfo(), and SCIPmessageVFPrintInfo().
◆ SCIPdebugMessagePrint()
void SCIPdebugMessagePrint | ( | SCIP * | scip, |
const char * | formatstr, | ||
... | |||
) |
prints a debug message without precode
- Parameters
-
scip SCIP data structure formatstr format string like in printf() function ... format arguments line in printf() function
Definition at line 175 of file scip_message.c.
References NULL, and SCIPmessageVFPrintInfo().
◆ SCIPdialogMessage()
void SCIPdialogMessage | ( | SCIP * | scip, |
FILE * | file, | ||
const char * | formatstr, | ||
... | |||
) |
prints a dialog message that requests user interaction or is a direct response to a user interactive command
- Parameters
-
scip SCIP data structure file file stream to print into, or NULL for stdout formatstr format string like in printf() function ... format arguments line in printf() function
Definition at line 191 of file scip_message.c.
References NULL, and SCIPmessageVFPrintDialog().
Referenced by dialogExecMenu(), displayReaders(), scip::ObjDialog::SCIP_DECL_DIALOGDESC(), SCIP_DECL_DIALOGDESC(), SCIP_DECL_DIALOGEXEC(), SCIPdialogDisplayMenu(), SCIPdialogDisplayMenuEntry(), and writeProblem().
◆ SCIPinfoMessage()
void SCIPinfoMessage | ( | SCIP * | scip, |
FILE * | file, | ||
const char * | formatstr, | ||
... | |||
) |
prints a message
- Parameters
-
scip SCIP data structure file file stream to print into, or NULL for stdout formatstr format string like in printf() function ... format arguments line in printf() function
Definition at line 208 of file scip_message.c.
References NULL, and SCIPmessageVFPrintInfo().
Referenced by addColToCut(), addRowToCut(), addStrongSBCsSubgroup(), addWeakSBCsSubgroup(), analyzeViolation(), applyBinaryConstraints(), BENDERS_CUTORACLE(), branching(), branchingIntegralOrNonlinear(), checkAllConss(), checkCons(), checkConsnames(), checkCumulativeCondition(), checkOrigPbCons(), checkPackingPartitioningOrbitopeSolution(), checkSymmetriesAreSymmetries(), checkSymresackSolution(), checkSystemGF2(), checkVarnames(), collectBranchingCandidates(), computeIntercut(), computeIntersectionPoint(), computeRestrictionToLine(), computeRestrictionToRay(), consdataCheckSuperindicator(), consdataCreate(), consdataPrint(), consEnfo(), consPrintConsSol(), consSepa(), constructExpr(), createAndStoreSparseRays(), createIntervalRelaxation(), createNlhdlrExprData(), createProbSimplifiedTest(), createSubscip(), DECL_CURVCHECK(), detectDominatingVlbs(), detectDominatingVubs(), detectExpr(), detectRedundantConstraints(), detectSocNorm(), detectSocQuadraticComplex(), detectSocQuadraticSimple(), displayCycleOfSymmetry(), displaySymmetriesWithComponents(), displaySymmetriesWithoutComponents(), dualPresolving(), endLine(), endLineNoNewline(), enforceConstraint(), enforceConstraints(), enforceExpr(), enforceExprNlhdlr(), enforceIndicators(), enforceSP12(), estimateConvexSecant(), estimateGradient(), estimateVertexPolyhedral(), execmain(), extendToCover(), fromAmpl(), fromCommandLine(), generateAndApplyBendersIntegerCuts(), generateAndApplyBendersNogoodCut(), generateIntercut(), handleNlpParam(), insertRayEntries(), intercutsComputeCommonQuantities(), main(), notifyNlhdlrNewsol(), ObjPricerVRP::pricing(), printBoundSection(), printBoundSectionName(), printColumnSection(), printDivingHeurStatistics(), printEntry(), printExpr(), printFunction(), printIndicatorCons(), printLongStatistics(), printNeighborhoodStatistics(), printNLRow(), printRangeSection(), printRecord(), printRhsSection(), printRow(), printRowType(), printShortStatistics(), printStart(), printStatus(), printValue(), processArguments(), processNLPSol(), propagateBoundsLinExpr(), propagateBoundsQuadExpr(), readCyc(), readParams(), readPolynomial(), readSto(), registerBranchingCandidates(), resolvePropagation(), runBenders(), runBrachistochrone(), runGastrans(), runPacking(), runSCIP(), runSpring(), SCIP_DECL_BENDERSCUTEXEC(), SCIP_DECL_BRANCHEXECLP(), SCIP_DECL_CONCSOLVERCREATEINST(), SCIP_DECL_CONCSOLVEREXEC(), SCIP_DECL_CONCSOLVERINITSEEDS(), SCIP_DECL_CONFLICTEXEC(), SCIP_DECL_CONSCHECK(), SCIP_DECL_CONSEXIT(), SCIP_DECL_CONSEXITSOL(), SCIP_DECL_CONSINITSOL(), SCIP_DECL_CONSPRESOL(), SCIP_DECL_CONSPRINT(), SCIP_DECL_DIALOGEXEC(), SCIP_DECL_DISPOUTPUT(), SCIP_DECL_EVENTEXEC(), SCIP_DECL_EXPR_OWNERPRINT(), SCIP_DECL_EXPRINITESTIMATES(), SCIP_DECL_EXPRINTEVAL(), SCIP_DECL_EXPRPRINT(), SCIP_DECL_EXPRREVERSEPROP(), SCIP_DECL_EXPRSIMPLIFY(), SCIP_DECL_HEUREXEC(), SCIP_DECL_LINCONSUPGD(), SCIP_DECL_NLHDLRDETECT(), SCIP_DECL_NLHDLRENFO(), SCIP_DECL_NLHDLRESTIMATE(), SCIP_DECL_NLHDLRINITSEPA(), SCIP_DECL_NLHDLRINTEVAL(), SCIP_DECL_NLHDLRSOLLINEARIZE(), SCIP_DECL_NLPISOLVE(), SCIP_DECL_PRICERREDCOST(), SCIP_DECL_READERREAD(), SCIP_DECL_READERWRITE(), SCIP_DECL_TABLEOUTPUT(), SCIPbendersComputeSubproblemLowerbound(), SCIPcheckBendersSubproblemOptimality(), SCIPcheckSolutionOrbisack(), SCIPcleanupRowprep(), SCIPcleanupRowprep2(), SCIPexprintGrad(), SCIPexprintHessian(), SCIPexprintHessianSparsity(), SCIPnlhdlrPrintStatistics(), SCIPnlpiOraclePrintProblem(), SCIPnlpiOraclePrintProblemGams(), SCIPpowerExprSum(), SCIPprintExprQuadratic(), SCIPprintExternalCodes(), SCIPprintLinConsStats(), SCIPprintRowprep(), SCIPprintRowprepSol(), SCIPprintSolReaderFzn(), SCIPprobdataCreate(), SCIPprobdataInvalidateDualbound(), SCIPprobdataUpdateDualbound(), SCIPprocessRowprepNonlinear(), SCIPprocessShellArguments(), SCIPrunCyc(), SCIPscaleupRowprep(), SCIPvalidateSolve(), SCIPvardataPrint(), SCIPwriteBnd(), SCIPwriteCcg(), SCIPwriteGms(), SCIPwriteLp(), SCIPwriteMps(), SCIPwritePbm(), SCIPwritePip(), SCIPwritePpm(), SCIPwriteSolutionNl(), SCIPwriteVarName(), SCIPwriteVarsLinearsum(), SCIPwriteVarsList(), SCIPwriteVarsPolynomial(), scoreBranchingCandidates(), selectBranchingCandidate(), selectVarMultAggrBranching(), setupProblem(), simplifyMultiplyChildren(), solCutIsViolated(), solveClassification(), solveMinIISC(), solveSubNLP(), solveSubscipLpface(), storeDenseTableauRowsByColumns(), subscipSetParams(), SYMcheckGraphsAreIdentical(), visualizeSolutionAscii(), visualizeSolutionGnuplot(), visualizeSolutionMatplotlib(), writeBounds(), writeBuffer(), writeExpandedSolutions(), writeFzn(), writeOpb(), writeOpbConstraints(), and writeOpbObjective().
◆ SCIPverbMessage()
void SCIPverbMessage | ( | SCIP * | scip, |
SCIP_VERBLEVEL | msgverblevel, | ||
FILE * | file, | ||
const char * | formatstr, | ||
... | |||
) |
prints a message depending on the verbosity level
- Parameters
-
scip SCIP data structure msgverblevel verbosity level of this message file file stream to print into, or NULL for stdout formatstr format string like in printf() function ... format arguments line in printf() function
Definition at line 225 of file scip_message.c.
References NULL, and SCIPmessageVFPrintVerbInfo().
Referenced by applyBoundChanges(), applyBoundHeur(), applyCompletesol(), applyProbing(), applySolvingPhase(), applyVbounds(), changeParametersUsingSettingsFiles(), checkParameters(), conshdlrsCanProvideSymInformation(), copyConsPseudoboolean(), createBlockproblem(), createProbOnlyEdge(), createProbSimplified(), createSubproblems(), detectAndHandleSubgroups(), detectSocQuadraticComplex(), determineSymmetry(), ensureSymmetryComponentsComputed(), execRelpscost(), findComponents(), freeTransform(), fromAmpl(), generateAndApplyBendersCuts(), maximalslack(), mpsinputEntryIgnored(), parseError(), performDualfix(), readDecomposition(), readMst(), readSol(), readSolFile(), readXmlSolFile(), reoptSaveNewObj(), runVanillaStrongBranching(), SCIP_DECL_BRANCHEXIT(), SCIP_DECL_CONCSOLVERCREATEINST(), SCIP_DECL_CONSCOPY(), SCIP_DECL_CONSEXITSOL(), SCIP_DECL_CONSPARSE(), SCIP_DECL_DIALOGEXEC(), SCIP_DECL_EVENTEXEC(), SCIP_DECL_HEUREXEC(), SCIP_DECL_HEUREXIT(), SCIP_DECL_PRESOLEXEC(), SCIP_DECL_PROPINITPRE(), SCIP_DECL_READERREAD(), SCIP_DECL_SEPAEXECLP(), SCIP_DECL_TABLEOUTPUT(), SCIPapplyBendersDecomposition(), SCIPapplyHeurDualval(), SCIPbendersComputeSubproblemLowerbound(), SCIPbendersExec(), SCIPbendersExecSubproblemSolve(), SCIPbendersMergeSubproblemIntoMaster(), SCIPbendersSolveSubproblemLP(), SCIPchgLpfeastol(), SCIPcreateProbCyc(), SCIPcycPrintSolutionValues(), SCIPdisplaySymmetryStatistics(), SCIPlexicographicReductionPrintStatistics(), SCIPorbitalReductionPrintStatistics(), SCIPorbitopalReductionPrintStatistics(), SCIPreoptMergeVarHistory(), SCIPselectVarPseudoStrongBranching(), SCIPselectVarStrongBranching(), SCIPsolve(), SCIPsolveConcurrent(), SCIPtransformDecompstore(), separateGLS(), setAndUpdateCorePoint(), setupAndSolve(), shouldApplyRestartCompletion(), shouldApplyRestartEstimation(), solveSubNLP(), storeSolution(), AMPLProblemHandler::SuffixHandler< T >::SuffixHandler(), SYMbuildSassyGraph(), SYMcomputeSymmetryGenerators(), syntaxError(), testCriteria(), transformSols(), transitionPhase3(), and turnoffNodeSelector().
◆ SCIPgetVerbLevel()
SCIP_VERBLEVEL SCIPgetVerbLevel | ( | SCIP * | scip | ) |
returns the current message verbosity level
- Returns
- message verbosity level of SCIP
- See also
- SCIP_VERBLEVEL for a list of all verbosity levels
- Parameters
-
scip SCIP data structure
Definition at line 249 of file scip_message.c.
References NULL.
Referenced by createMasterproblem(), createSubproblems(), SCIP_DECL_EXPRINTEVAL(), and SCIP_DECL_EXPRREVERSEPROP().