Scippy

SCIP

Solving Constraint Integer Programs

NH_Stats Struct Reference

Detailed Description

statistics for a neighborhood

Definition at line 269 of file heur_alns.c.

Data Fields

SCIP_CLOCKsetupclock
 
SCIP_CLOCKsubmipclock
 
SCIP_Longint usednodes
 
SCIP_Real oldupperbound
 
int nruns
 
int nrunsbestsol
 
SCIP_Longint nsolsfound
 
SCIP_Longint nbestsolsfound
 
int nfixings
 
int statushist [NHISTENTRIES]
 

Field Documentation

◆ setupclock

SCIP_CLOCK* NH_Stats::setupclock

clock for sub-SCIP setup time

Definition at line 271 of file heur_alns.c.

Referenced by alnsFreeNeighborhood(), neighborhoodStatsReset(), printNeighborhoodStatistics(), and SCIP_DECL_HEUREXEC().

◆ submipclock

SCIP_CLOCK* NH_Stats::submipclock

clock for the sub-SCIP solve

Definition at line 272 of file heur_alns.c.

Referenced by alnsFreeNeighborhood(), neighborhoodStatsReset(), printNeighborhoodStatistics(), and SCIP_DECL_HEUREXEC().

◆ usednodes

SCIP_Longint NH_Stats::usednodes

◆ oldupperbound

SCIP_Real NH_Stats::oldupperbound

upper bound before the sub-SCIP started

Definition at line 274 of file heur_alns.c.

Referenced by getReward(), and initRunStats().

◆ nruns

int NH_Stats::nruns

number of runs of a neighborhood

Definition at line 275 of file heur_alns.c.

Referenced by neighborhoodStatsReset(), printNeighborhoodStatistics(), SCIP_DECL_HEUREXEC(), and updateNeighborhoodStats().

◆ nrunsbestsol

int NH_Stats::nrunsbestsol

number of runs that produced a new incumbent

Definition at line 276 of file heur_alns.c.

Referenced by neighborhoodStatsReset(), and updateNeighborhoodStats().

◆ nsolsfound

SCIP_Longint NH_Stats::nsolsfound

the total number of solutions found

Definition at line 277 of file heur_alns.c.

Referenced by initRunStats(), neighborhoodStatsReset(), printNeighborhoodStatistics(), transferSolution(), and updateNeighborhoodStats().

◆ nbestsolsfound

◆ nfixings

◆ statushist

int NH_Stats::statushist[NHISTENTRIES]

array to count sub-SCIP statuses

Definition at line 280 of file heur_alns.c.

Referenced by neighborhoodStatsReset(), printNeighborhoodStatistics(), and updateNeighborhoodStats().