Scippy

SCIP

Solving Constraint Integer Programs

NH_Stats Struct Reference

Detailed Description

statistics for a neighborhood

Definition at line 336 of file heur_alns.c.

Data Fields

SCIP_CLOCKsetupclock
 
SCIP_CLOCKsubmipclock
 
SCIP_Longint usednodes
 
SCIP_Real oldupperbound
 
SCIP_Real newupperbound
 
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 338 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 339 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 341 of file heur_alns.c.

Referenced by getReward(), and initRunStats().

◆ newupperbound

SCIP_Real NH_Stats::newupperbound

new upper bound for allrewards mode to work correctly

Definition at line 342 of file heur_alns.c.

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

◆ nruns

int NH_Stats::nruns

number of runs of a neighborhood

Definition at line 343 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 344 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 345 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 348 of file heur_alns.c.

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