Scippy

SCIP

Solving Constraint Integer Programs

Heur_Stats Struct Reference

Detailed Description

statistics for heuristics

Definition at line 351 of file heur_scheduler.c.

Data Fields

SCIP_Real oldupperbound
 
SCIP_Real newupperbound
 
int nruns
 
int nrunsbestsol
 
SCIP_Longint nsolsfound
 
SCIP_Longint nbestsolsfound
 
SCIP_CLOCKsetupclock
 
SCIP_CLOCKexecclock
 
SCIP_Longint nbacktracks
 
SCIP_Longint nconflicts
 
SCIP_Longint nprobnodes
 
int divingdepth
 
SCIP_Longint usednodes
 
int nfixings
 
int statushist [NHISTENTRIES]
 

Field Documentation

◆ oldupperbound

SCIP_Real Heur_Stats::oldupperbound

upper bound before the heuristic started

Definition at line 353 of file heur_scheduler.c.

Referenced by executeDivingHeuristic(), executeLNSHeuristic(), getReward(), and initRunStats().

◆ newupperbound

SCIP_Real Heur_Stats::newupperbound

new upper bound for allrewards mode to work correctly

Definition at line 354 of file heur_scheduler.c.

Referenced by executeDivingHeuristic(), getReward(), initRunStats(), and transferSolution().

◆ nruns

int Heur_Stats::nruns

number of runs of a heuristic

Definition at line 355 of file heur_scheduler.c.

Referenced by heurStatsReset(), printDivingHeurStatistics(), updateHeurStatsDiving(), and updateHeurStatsLNS().

◆ nrunsbestsol

int Heur_Stats::nrunsbestsol

number of runs that produced a new incumbent

Definition at line 356 of file heur_scheduler.c.

Referenced by heurStatsReset(), updateHeurStatsDiving(), and updateHeurStatsLNS().

◆ nsolsfound

◆ nbestsolsfound

◆ setupclock

SCIP_CLOCK* Heur_Stats::setupclock

clock for setup time

Definition at line 359 of file heur_scheduler.c.

Referenced by heurStatsReset(), includeDivingHeurs(), printDivingHeurStatistics(), and schedulerFreeDivingHeur().

◆ execclock

SCIP_CLOCK* Heur_Stats::execclock

clock for the heuristic execution

Definition at line 360 of file heur_scheduler.c.

Referenced by executeDivingHeuristic(), heurStatsReset(), includeDivingHeurs(), printDivingHeurStatistics(), and schedulerFreeDivingHeur().

◆ nbacktracks

SCIP_Longint Heur_Stats::nbacktracks

total number of used backtracks

Definition at line 362 of file heur_scheduler.c.

Referenced by executeDivingHeuristic(), heurStatsReset(), initRunStats(), and updateHeurStatsDiving().

◆ nconflicts

SCIP_Longint Heur_Stats::nconflicts

total number of conflict constraints generated

Definition at line 363 of file heur_scheduler.c.

Referenced by executeDivingHeuristic(), getReward(), heurStatsReset(), initRunStats(), and updateHeurStatsDiving().

◆ nprobnodes

SCIP_Longint Heur_Stats::nprobnodes

total number of probing nodes used

Definition at line 364 of file heur_scheduler.c.

Referenced by executeDivingHeuristic(), heurStatsReset(), initRunStats(), printDivingHeurStatistics(), updateHeurStatsDiving(), and updateSolveFreq().

◆ divingdepth

int Heur_Stats::divingdepth

depth of last dive

Definition at line 365 of file heur_scheduler.c.

Referenced by getReward(), heurStatsReset(), and initRunStats().

◆ usednodes

SCIP_Longint Heur_Stats::usednodes

total number of used nodes

Definition at line 367 of file heur_scheduler.c.

Referenced by executeLNSHeuristic(), getReward(), heurStatsReset(), initRunStats(), updateHeurStatsLNS(), and updateRunStats().

◆ nfixings

int Heur_Stats::nfixings

the number of fixings in one run

Definition at line 368 of file heur_scheduler.c.

Referenced by executeLNSHeuristic(), heurStatsReset(), and initRunStats().

◆ statushist

int Heur_Stats::statushist[NHISTENTRIES]

array to count sub-SCIP statuses

Definition at line 369 of file heur_scheduler.c.

Referenced by heurStatsReset(), and updateHeurStatsLNS().