Scippy

SCIP

Solving Constraint Integer Programs

Detailed Description

public methods for querying solving statistics

Author
Tobias Achterberg
Timo Berthold
Gerald Gamrath
Leona Gottwald
Stefan Heinz
Gregor Hendel
Thorsten Koch
Alexander Martin
Marc Pfetsch
Michael Winkler
Kati Wolter
Mohammed Ghannam

Definition in file scip_solvingstats.c.

#include "blockmemshell/memory.h"
#include "scip/branch.h"
#include "scip/clock.h"
#include "scip/concsolver.h"
#include "scip/concurrent.h"
#include "scip/conflict.h"
#include "scip/conflictstore.h"
#include "scip/debug.h"
#include "scip/disp.h"
#include "scip/history.h"
#include "scip/implics.h"
#include "scip/pricestore.h"
#include "scip/primal.h"
#include "scip/prob.h"
#include "scip/pub_benderscut.h"
#include "scip/pub_benders.h"
#include "scip/pub_branch.h"
#include "scip/pub_compr.h"
#include "scip/pub_cons.h"
#include "scip/pub_cutpool.h"
#include "scip/pub_cutsel.h"
#include "scip/pub_expr.h"
#include "scip/pub_heur.h"
#include "scip/pub_history.h"
#include "scip/pub_message.h"
#include "scip/pub_misc.h"
#include "scip/pub_misc_sort.h"
#include "scip/pub_nlpi.h"
#include "scip/pub_presol.h"
#include "scip/pub_pricer.h"
#include "scip/pub_prop.h"
#include "scip/pub_reader.h"
#include "scip/pub_relax.h"
#include "scip/pub_reopt.h"
#include "scip/pub_sepa.h"
#include "scip/pub_sol.h"
#include "scip/pub_table.h"
#include "scip/pub_var.h"
#include "scip/reader.h"
#include "scip/reopt.h"
#include "scip/scip_benders.h"
#include "scip/scip_datatree.h"
#include "scip/scip_exact.h"
#include "scip/scip_general.h"
#include "scip/scip_mem.h"
#include "scip/scip_message.h"
#include "scip/scip_nlp.h"
#include "scip/scip_numerics.h"
#include "scip/scip_sol.h"
#include "scip/scip_solvingstats.h"
#include "scip/scip_table.h"
#include "scip/scip_timing.h"
#include "scip/scip_var.h"
#include "scip/sepastore.h"
#include "scip/set.h"
#include "scip/sol.h"
#include "scip/stat.h"
#include "scip/struct_mem.h"
#include "scip/struct_primal.h"
#include "scip/struct_prob.h"
#include "scip/struct_scip.h"
#include "scip/struct_set.h"
#include "scip/struct_stat.h"
#include "scip/syncstore.h"
#include "scip/table.h"
#include "scip/tree.h"
#include "scip/var.h"
#include <string.h>

Go to the source code of this file.

Functions

int SCIPgetNRuns (SCIP *scip)
 
int SCIPgetNReoptRuns (SCIP *scip)
 
void SCIPaddNNodes (SCIP *scip, SCIP_Longint nnodes)
 
SCIP_Longint SCIPgetNNodes (SCIP *scip)
 
SCIP_Longint SCIPgetNTotalNodes (SCIP *scip)
 
SCIP_Longint SCIPgetNFeasibleLeaves (SCIP *scip)
 
SCIP_Longint SCIPgetNInfeasibleLeaves (SCIP *scip)
 
SCIP_Longint SCIPgetNObjlimLeaves (SCIP *scip)
 
int SCIPgetNRootboundChgs (SCIP *scip)
 
int SCIPgetNRootboundChgsRun (SCIP *scip)
 
int SCIPgetNRootIntFixingsRun (SCIP *scip)
 
SCIP_Longint SCIPgetNDelayedCutoffs (SCIP *scip)
 
SCIP_Longint SCIPgetNLPs (SCIP *scip)
 
SCIP_Longint SCIPgetNExactLPs (SCIP *scip)
 
SCIP_Longint SCIPgetNLPIterations (SCIP *scip)
 
SCIP_Longint SCIPgetNNZs (SCIP *scip)
 
SCIP_Longint SCIPgetNRootLPIterations (SCIP *scip)
 
SCIP_Longint SCIPgetNRootFirstLPIterations (SCIP *scip)
 
SCIP_Longint SCIPgetNPrimalLPs (SCIP *scip)
 
SCIP_Longint SCIPgetNPrimalLPIterations (SCIP *scip)
 
SCIP_Longint SCIPgetNDualLPs (SCIP *scip)
 
SCIP_Longint SCIPgetNDualLPIterations (SCIP *scip)
 
SCIP_Longint SCIPgetNBarrierLPs (SCIP *scip)
 
SCIP_Longint SCIPgetNBarrierLPIterations (SCIP *scip)
 
SCIP_Longint SCIPgetNResolveLPs (SCIP *scip)
 
SCIP_Longint SCIPgetNResolveLPIterations (SCIP *scip)
 
SCIP_Longint SCIPgetNPrimalResolveLPs (SCIP *scip)
 
SCIP_Longint SCIPgetNPrimalResolveLPIterations (SCIP *scip)
 
SCIP_Longint SCIPgetNDualResolveLPs (SCIP *scip)
 
SCIP_Longint SCIPgetNDualResolveLPIterations (SCIP *scip)
 
SCIP_Longint SCIPgetNNodeLPs (SCIP *scip)
 
SCIP_Longint SCIPgetNNodeZeroIterationLPs (SCIP *scip)
 
SCIP_Longint SCIPgetNNodeLPIterations (SCIP *scip)
 
SCIP_Longint SCIPgetNNodeInitLPs (SCIP *scip)
 
SCIP_Longint SCIPgetNNodeInitLPIterations (SCIP *scip)
 
SCIP_Longint SCIPgetNDivingLPs (SCIP *scip)
 
SCIP_Longint SCIPgetNDivingLPIterations (SCIP *scip)
 
SCIP_Longint SCIPgetNStrongbranchs (SCIP *scip)
 
SCIP_Longint SCIPgetNStrongbranchLPIterations (SCIP *scip)
 
SCIP_Longint SCIPgetNRootStrongbranchs (SCIP *scip)
 
SCIP_Longint SCIPgetNRootStrongbranchLPIterations (SCIP *scip)
 
int SCIPgetNPriceRounds (SCIP *scip)
 
int SCIPgetNPricevars (SCIP *scip)
 
int SCIPgetNPricevarsFound (SCIP *scip)
 
int SCIPgetNPricevarsApplied (SCIP *scip)
 
int SCIPgetNSepaRounds (SCIP *scip)
 
int SCIPgetNCutsFound (SCIP *scip)
 
int SCIPgetNCutsFoundRound (SCIP *scip)
 
int SCIPgetNCutsApplied (SCIP *scip)
 
SCIP_Longint SCIPgetNConflictConssFound (SCIP *scip)
 
int SCIPgetNConflictConssFoundNode (SCIP *scip)
 
SCIP_Longint SCIPgetNConflictConssApplied (SCIP *scip)
 
SCIP_Longint SCIPgetNResConflictConssApplied (SCIP *scip)
 
SCIP_Longint SCIPgetNConflictDualproofsApplied (SCIP *scip)
 
int SCIPgetMaxDepth (SCIP *scip)
 
int SCIPgetMaxTotalDepth (SCIP *scip)
 
SCIP_Longint SCIPgetNBacktracks (SCIP *scip)
 
int SCIPgetNActiveConss (SCIP *scip)
 
int SCIPgetNEnabledConss (SCIP *scip)
 
SCIP_Real SCIPgetAvgDualbound (SCIP *scip)
 
SCIP_Real SCIPgetAvgLowerbound (SCIP *scip)
 
SCIP_Real SCIPgetDualbound (SCIP *scip)
 
void SCIPgetDualboundExact (SCIP *scip, SCIP_RATIONAL *result)
 
SCIP_Real SCIPgetLowerbound (SCIP *scip)
 
void SCIPgetLowerboundExact (SCIP *scip, SCIP_RATIONAL *result)
 
SCIP_Real SCIPgetDualboundRoot (SCIP *scip)
 
SCIP_Real SCIPgetLowerboundRoot (SCIP *scip)
 
SCIP_Real SCIPgetFirstLPDualboundRoot (SCIP *scip)
 
SCIP_Real SCIPgetFirstLPLowerboundRoot (SCIP *scip)
 
SCIP_Real SCIPgetFirstPrimalBound (SCIP *scip)
 
SCIP_Real SCIPgetPrimalbound (SCIP *scip)
 
void SCIPgetPrimalboundExact (SCIP *scip, SCIP_RATIONAL *result)
 
SCIP_Real SCIPgetUpperbound (SCIP *scip)
 
void SCIPgetUpperboundExact (SCIP *scip, SCIP_RATIONAL *result)
 
SCIP_Real SCIPgetCutoffbound (SCIP *scip)
 
SCIP_RATIONALSCIPgetCutoffboundExact (SCIP *scip)
 
SCIP_RETCODE SCIPupdateCutoffbound (SCIP *scip, SCIP_Real cutoffbound)
 
SCIP_Bool SCIPisPrimalboundSol (SCIP *scip)
 
SCIP_Real SCIPgetGap (SCIP *scip)
 
SCIP_Real SCIPgetTransGap (SCIP *scip)
 
SCIP_Longint SCIPgetNSolsFound (SCIP *scip)
 
SCIP_Longint SCIPgetNLimSolsFound (SCIP *scip)
 
SCIP_Longint SCIPgetNBestSolsFound (SCIP *scip)
 
SCIP_Real SCIPgetAvgPseudocost (SCIP *scip, SCIP_Real solvaldelta)
 
SCIP_Real SCIPgetAvgPseudocostCurrentRun (SCIP *scip, SCIP_Real solvaldelta)
 
SCIP_Real SCIPgetAvgPseudocostCount (SCIP *scip, SCIP_BRANCHDIR dir)
 
SCIP_Real SCIPgetAvgPseudocostCountCurrentRun (SCIP *scip, SCIP_BRANCHDIR dir)
 
SCIP_Real SCIPgetAvgPseudocostScore (SCIP *scip)
 
SCIP_Real SCIPgetAvgDPseudocostScore (SCIP *scip, SCIP_Real discountfac)
 
SCIP_Real SCIPgetPseudocostVariance (SCIP *scip, SCIP_BRANCHDIR branchdir, SCIP_Bool onlycurrentrun)
 
SCIP_Real SCIPgetPseudocostCount (SCIP *scip, SCIP_BRANCHDIR dir, SCIP_Bool onlycurrentrun)
 
SCIP_Real SCIPgetAvgPseudocostScoreCurrentRun (SCIP *scip)
 
SCIP_Real SCIPgetAvgConflictScore (SCIP *scip)
 
SCIP_Real SCIPgetAvgConflictScoreCurrentRun (SCIP *scip)
 
SCIP_Real SCIPgetAvgConflictlengthScore (SCIP *scip)
 
SCIP_Real SCIPgetAvgConflictlengthScoreCurrentRun (SCIP *scip)
 
SCIP_Real SCIPgetAvgInferences (SCIP *scip, SCIP_BRANCHDIR dir)
 
SCIP_Real SCIPgetAvgInferencesCurrentRun (SCIP *scip, SCIP_BRANCHDIR dir)
 
SCIP_Real SCIPgetAvgInferenceScore (SCIP *scip)
 
SCIP_Real SCIPgetAvgInferenceScoreCurrentRun (SCIP *scip)
 
SCIP_Real SCIPgetAvgCutoffs (SCIP *scip, SCIP_BRANCHDIR dir)
 
SCIP_Real SCIPgetAvgCutoffsCurrentRun (SCIP *scip, SCIP_BRANCHDIR dir)
 
SCIP_Real SCIPgetAvgCutoffScore (SCIP *scip)
 
SCIP_Real SCIPgetAvgCutoffScoreCurrentRun (SCIP *scip)
 
void SCIPincAvgGMIeff (SCIP *scip, SCIP_Real gmieff)
 
SCIP_Real SCIPgetAvgGMIeff (SCIP *scip)
 
SCIP_Real SCIPgetDeterministicTime (SCIP *scip)
 
void SCIPprintStatusStatistics (SCIP *scip, FILE *file)
 
SCIP_RETCODE SCIPcollectStatusStatistics (SCIP *scip, SCIP_DATATREE *datatree)
 
void SCIPprintOrigProblemStatistics (SCIP *scip, FILE *file)
 
SCIP_RETCODE SCIPcollectOrigProblemStatistics (SCIP *scip, SCIP_DATATREE *datatree)
 
void SCIPprintTransProblemStatistics (SCIP *scip, FILE *file)
 
SCIP_RETCODE SCIPcollectTransProblemStatistics (SCIP *scip, SCIP_DATATREE *datatree)
 
void SCIPprintPresolverStatistics (SCIP *scip, FILE *file)
 
SCIP_RETCODE SCIPcollectPresolverStatistics (SCIP *scip, SCIP_DATATREE *datatree)
 
void SCIPprintConstraintStatistics (SCIP *scip, FILE *file)
 
SCIP_RETCODE SCIPcollectConstraintStatistics (SCIP *scip, SCIP_DATATREE *datatree)
 
void SCIPprintConstraintTimingStatistics (SCIP *scip, FILE *file)
 
SCIP_RETCODE SCIPcollectConstraintTimingStatistics (SCIP *scip, SCIP_DATATREE *datatree)
 
void SCIPprintPropagatorStatistics (SCIP *scip, FILE *file)
 
SCIP_RETCODE SCIPcollectPropagatorStatistics (SCIP *scip, SCIP_DATATREE *datatree)
 
void SCIPprintConflictStatistics (SCIP *scip, FILE *file)
 
SCIP_RETCODE SCIPcollectConflictStatistics (SCIP *scip, SCIP_DATATREE *datatree)
 
void SCIPprintSeparatorStatistics (SCIP *scip, FILE *file)
 
SCIP_RETCODE SCIPcollectSeparatorStatistics (SCIP *scip, SCIP_DATATREE *datatree)
 
void SCIPprintCutselectorStatistics (SCIP *scip, FILE *file)
 
SCIP_RETCODE SCIPcollectCutselectorStatistics (SCIP *scip, SCIP_DATATREE *datatree)
 
void SCIPprintPricerStatistics (SCIP *scip, FILE *file)
 
SCIP_RETCODE SCIPcollectPricerStatistics (SCIP *scip, SCIP_DATATREE *datatree)
 
void SCIPprintBranchruleStatistics (SCIP *scip, FILE *file)
 
SCIP_RETCODE SCIPcollectBranchruleStatistics (SCIP *scip, SCIP_DATATREE *datatree)
 
void SCIPprintHeuristicStatistics (SCIP *scip, FILE *file)
 
SCIP_RETCODE SCIPcollectHeuristicStatistics (SCIP *scip, SCIP_DATATREE *datatree)
 
void SCIPprintCompressionStatistics (SCIP *scip, FILE *file)
 
SCIP_RETCODE SCIPcollectCompressionStatistics (SCIP *scip, SCIP_DATATREE *datatree)
 
void SCIPprintLPStatistics (SCIP *scip, FILE *file)
 
SCIP_RETCODE SCIPcollectLPStatistics (SCIP *scip, SCIP_DATATREE *datatree)
 
void SCIPprintNLPStatistics (SCIP *scip, FILE *file)
 
SCIP_RETCODE SCIPcollectNLPStatistics (SCIP *scip, SCIP_DATATREE *datatree)
 
void SCIPprintRelaxatorStatistics (SCIP *scip, FILE *file)
 
SCIP_RETCODE SCIPcollectRelaxatorStatistics (SCIP *scip, SCIP_DATATREE *datatree)
 
void SCIPprintTreeStatistics (SCIP *scip, FILE *file)
 
SCIP_RETCODE SCIPcollectTreeStatistics (SCIP *scip, SCIP_DATATREE *datatree)
 
void SCIPprintSolutionStatistics (SCIP *scip, FILE *file)
 
SCIP_RETCODE SCIPcollectSolutionStatistics (SCIP *scip, SCIP_DATATREE *datatree)
 
void SCIPprintConcsolverStatistics (SCIP *scip, FILE *file)
 
SCIP_RETCODE SCIPcollectConcsolverStatistics (SCIP *scip, SCIP_DATATREE *datatree)
 
void SCIPprintBendersStatistics (SCIP *scip, FILE *file)
 
SCIP_RETCODE SCIPcollectBendersStatistics (SCIP *scip, SCIP_DATATREE *datatree)
 
void SCIPprintRootStatistics (SCIP *scip, FILE *file)
 
SCIP_RETCODE SCIPcollectRootStatistics (SCIP *scip, SCIP_DATATREE *datatree)
 
void SCIPprintTimingStatistics (SCIP *scip, FILE *file)
 
SCIP_RETCODE SCIPcollectTimingStatistics (SCIP *scip, SCIP_DATATREE *datatree)
 
void SCIPprintExpressionHandlerStatistics (SCIP *scip, FILE *file)
 
SCIP_RETCODE SCIPcollectExpressionHandlerStatistics (SCIP *scip, SCIP_DATATREE *datatree)
 
void SCIPprintNLPIStatistics (SCIP *scip, FILE *file)
 
static const char * nlptermstatToString (SCIP_NLPTERMSTAT termstat)
 
static const char * nlpsolstatToString (SCIP_NLPSOLSTAT solstat)
 
SCIP_RETCODE SCIPcollectNLPIStatistics (SCIP *scip, SCIP_DATATREE *datatree)
 
static SCIP_DECL_SORTPTRCOMP (tablePosComp)
 
SCIP_RETCODE SCIPprintStatisticsJson (SCIP *scip, FILE *file)
 
SCIP_RETCODE SCIPprintStatistics (SCIP *scip, FILE *file)
 
SCIP_RETCODE SCIPprintReoptStatistics (SCIP *scip, FILE *file)
 
SCIP_RETCODE SCIPprintBranchingStatistics (SCIP *scip, FILE *file)
 
SCIP_RETCODE SCIPcollectBranchingStatistics (SCIP *scip, SCIP_DATATREE *datatree)
 
SCIP_RETCODE SCIPprintDisplayLine (SCIP *scip, FILE *file, SCIP_VERBLEVEL verblevel, SCIP_Bool endline)
 
int SCIPgetNImplications (SCIP *scip)
 
void SCIPstoreSolutionGap (SCIP *scip)
 
SCIP_Real SCIPgetPrimalDualIntegral (SCIP *scip)
 

Function Documentation

◆ nlptermstatToString()

static const char * nlptermstatToString ( SCIP_NLPTERMSTAT  termstat)
static

◆ nlpsolstatToString()

static const char * nlpsolstatToString ( SCIP_NLPSOLSTAT  solstat)
static

give name of NLP solution status as string

Parameters
solstatNLP solution status

Definition at line 5754 of file scip_solvingstats.c.

References SCIP_NLPSOLSTAT_FEASIBLE, SCIP_NLPSOLSTAT_GLOBINFEASIBLE, SCIP_NLPSOLSTAT_GLOBOPT, SCIP_NLPSOLSTAT_LOCINFEASIBLE, SCIP_NLPSOLSTAT_LOCOPT, SCIP_NLPSOLSTAT_UNBOUNDED, and SCIP_NLPSOLSTAT_UNKNOWN.

Referenced by SCIPcollectNLPIStatistics().

◆ SCIP_DECL_SORTPTRCOMP()

static SCIP_DECL_SORTPTRCOMP ( tablePosComp  )
static

comparison method for statistics tables

Definition at line 5839 of file scip_solvingstats.c.

References SCIPtableGetPosition().