neighborhood data structure with callbacks, statistics, fixing rate
Definition at line 294 of file heur_alns.c.
Public Member Functions | |
| DECL_VARFIXINGS ((*varfixings)) | |
| DECL_CHANGESUBSCIP ((*changesubscip)) | |
| DECL_NHINIT ((*nhinit)) | |
| DECL_NHEXIT ((*nhexit)) | |
| DECL_NHFREE ((*nhfree)) | |
| DECL_NHREFSOL ((*nhrefsol)) | |
| DECL_NHDEACTIVATE ((*nhdeactivate)) | |
Data Fields | |
| char * | name |
| NH_FIXINGRATE | fixingrate |
| NH_STATS | stats |
| SCIP_Bool | active |
| SCIP_Real | priority |
| union { | |
| DATA_MUTATION * mutation | |
| DATA_CROSSOVER * crossover | |
| DATA_DINS * dins | |
| } | data |
| Nh::DECL_VARFIXINGS | ( | * | varfixings | ) |
variable fixings callback for this neighborhood
| Nh::DECL_CHANGESUBSCIP | ( | * | changesubscip | ) |
callback for subproblem changes other than variable fixings
| Nh::DECL_NHINIT | ( | * | nhinit | ) |
initialization callback when a new problem is read
| Nh::DECL_NHEXIT | ( | * | nhexit | ) |
deinitialization callback when exiting a problem
| Nh::DECL_NHFREE | ( | * | nhfree | ) |
deinitialization callback before SCIP is freed
| Nh::DECL_NHREFSOL | ( | * | nhrefsol | ) |
callback function to return a reference solution for further fixings, or NULL
| Nh::DECL_NHDEACTIVATE | ( | * | nhdeactivate | ) |
callback function to deactivate neighborhoods on problems where they are irrelevant, or NULL if it is always active
| char* Nh::name |
the name of this neighborhood
Definition at line 296 of file heur_alns.c.
Referenced by alnsFreeNeighborhood(), printNeighborhoodStatistics(), and SCIP_DECL_HEUREXEC().
| NH_FIXINGRATE Nh::fixingrate |
fixing rate for this neighborhood
Definition at line 297 of file heur_alns.c.
Referenced by DECL_VARFIXINGS(), neighborhoodFixVariables(), printNeighborhoodStatistics(), SCIP_DECL_HEURINIT(), and updateFixingRate().
| NH_STATS Nh::stats |
statistics for this neighborhood
Definition at line 298 of file heur_alns.c.
Referenced by alnsFreeNeighborhood(), printNeighborhoodStatistics(), SCIP_DECL_HEUREXEC(), SCIP_DECL_HEURINIT(), and updateNeighborhoodStats().
| SCIP_Bool Nh::active |
is this neighborhood active or not?
Definition at line 306 of file heur_alns.c.
Referenced by SCIP_DECL_HEURINITSOL().
| SCIP_Real Nh::priority |
positive call priority to initialize bandit algorithms
Definition at line 307 of file heur_alns.c.
| DATA_MUTATION* Nh::mutation |
mutation data
Definition at line 310 of file heur_alns.c.
Referenced by DECL_NHEXIT(), DECL_NHINIT(), and DECL_VARFIXINGS().
| DATA_CROSSOVER* Nh::crossover |
crossover data
Definition at line 311 of file heur_alns.c.
Referenced by DECL_NHEXIT(), DECL_NHFREE(), DECL_NHINIT(), DECL_NHREFSOL(), DECL_VARFIXINGS(), and includeNeighborhoods().
| DATA_DINS* Nh::dins |
dins data
Definition at line 312 of file heur_alns.c.
Referenced by DECL_NHFREE(), DECL_VARFIXINGS(), and includeNeighborhoods().
| union { ... } Nh::data |
data object for neighborhood specific data
Referenced by DECL_NHEXIT(), DECL_NHFREE(), DECL_NHINIT(), DECL_NHREFSOL(), DECL_VARFIXINGS(), and includeNeighborhoods().