SCIP Doxygen Documentation
Loading...
Searching...
No Matches
NH_Stats Struct Reference

Detailed Description

statistics for a neighborhood

Definition at line 340 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

◆ submipclock

SCIP_CLOCK* NH_Stats::submipclock

clock for the sub-SCIP solve

Definition at line 343 of file heur_alns.c.

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

◆ usednodes

◆ oldupperbound

SCIP_Real NH_Stats::oldupperbound

upper bound before the sub-SCIP started

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

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

◆ nruns

int NH_Stats::nruns

◆ nrunsbestsol

int NH_Stats::nrunsbestsol

number of runs that produced a new incumbent

Definition at line 348 of file heur_alns.c.

Referenced by neighborhoodStatsReset(), and updateNeighborhoodStats().

◆ nsolsfound

SCIP_Longint NH_Stats::nsolsfound

◆ nbestsolsfound

◆ nfixings

int NH_Stats::nfixings

the number of fixings in one run

Definition at line 351 of file heur_alns.c.

Referenced by executeLNSHeuristic(), getReward(), initRunStats(), neighborhoodStatsReset(), and SCIP_DECL_HEUREXEC().

◆ statushist

int NH_Stats::statushist[NHISTENTRIES]

array to count sub-SCIP statuses

Definition at line 352 of file heur_alns.c.

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