Detailed Description
statistics for a neighborhood
Definition at line 345 of file heur_alns.c.
Data Fields | |
SCIP_CLOCK * | setupclock |
SCIP_CLOCK * | submipclock |
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 347 of file heur_alns.c.
Referenced by alnsFreeNeighborhood(), executeLNSHeuristic(), neighborhoodStatsReset(), printNeighborhoodStatistics(), schedulerFreeNeighborhood(), and SCIP_DECL_HEUREXEC().
◆ submipclock
SCIP_CLOCK* NH_Stats::submipclock |
clock for the sub-SCIP solve
Definition at line 348 of file heur_alns.c.
Referenced by alnsFreeNeighborhood(), neighborhoodStatsReset(), printNeighborhoodStatistics(), and SCIP_DECL_HEUREXEC().
◆ usednodes
SCIP_Longint NH_Stats::usednodes |
total number of used nodes
Definition at line 349 of file heur_alns.c.
Referenced by getReward(), initRunStats(), neighborhoodStatsReset(), printNeighborhoodStatistics(), SCIP_DECL_HEUREXEC(), updateNeighborhoodStats(), and updateRunStats().
◆ oldupperbound
SCIP_Real NH_Stats::oldupperbound |
upper bound before the sub-SCIP started
Definition at line 350 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 351 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 352 of file heur_alns.c.
Referenced by executeLNSHeuristic(), neighborhoodStatsReset(), printNeighborhoodStatistics(), SCIP_DECL_HEUREXEC(), and updateNeighborhoodStats().
◆ nrunsbestsol
int NH_Stats::nrunsbestsol |
number of runs that produced a new incumbent
Definition at line 353 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 354 of file heur_alns.c.
Referenced by initRunStats(), neighborhoodStatsReset(), printNeighborhoodStatistics(), transferSolution(), and updateNeighborhoodStats().
◆ nbestsolsfound
SCIP_Longint NH_Stats::nbestsolsfound |
the total number of improving solutions found
Definition at line 355 of file heur_alns.c.
Referenced by getReward(), initRunStats(), neighborhoodStatsReset(), printNeighborhoodStatistics(), transferSolution(), updateFixingRate(), updateMinimumImprovement(), updateNeighborhoodStats(), and updateTargetNodeLimit().
◆ nfixings
int NH_Stats::nfixings |
the number of fixings in one run
Definition at line 356 of file heur_alns.c.
Referenced by alnsFixMoreVariables(), alnsUnfixVariables(), DECL_VARFIXINGS(), executeLNSHeuristic(), fixMatchingSolutionValues(), getReward(), initRunStats(), neighborhoodFixVariables(), neighborhoodStatsReset(), SCIP_DECL_HEUREXEC(), and tryAdd2variableBuffer().
◆ statushist
int NH_Stats::statushist[NHISTENTRIES] |
array to count sub-SCIP statuses
Definition at line 357 of file heur_alns.c.
Referenced by neighborhoodStatsReset(), printNeighborhoodStatistics(), and updateNeighborhoodStats().