Scippy

GCG

Branch-and-Price & Column Generation for Everyone

GCG_Detector Struct Reference

Detailed Description

detector data structure

Definition at line 47 of file struct_detector.h.

#include <struct_detector.h>

Public Member Functions

 GCG_DECL_FREEDETECTOR ((*freeDetector))
 
 GCG_DECL_INITDETECTOR ((*initDetector))
 
 GCG_DECL_EXITDETECTOR ((*exitDetector))
 
 GCG_DECL_EXITDETECTOR ((*exitDetection))
 
 GCG_DECL_PROPAGATEPARTIALDEC ((*propagatePartialdec))
 
 GCG_DECL_FINISHPARTIALDEC ((*finishPartialdec))
 
 GCG_DECL_POSTPROCESSPARTIALDEC ((*postprocessPartialdec))
 
 GCG_DECL_SETPARAMAGGRESSIVE ((*setParamAggressive))
 
 GCG_DECL_SETPARAMDEFAULT ((*setParamDefault))
 
 GCG_DECL_SETPARAMFAST ((*setParamFast))
 

Data Fields

const char * name
 
GCG_DETECTORDATA * decdata
 
char decchar
 
const char * description
 
int freqCallRound
 
int maxCallRound
 
int minCallRound
 
int freqCallRoundOriginal
 
int maxCallRoundOriginal
 
int minCallRoundOriginal
 
int priority
 
SCIP_Bool enabled
 
SCIP_Bool enabledFinishing
 
SCIP_Bool enabledPostprocessing
 
SCIP_Bool skip
 
SCIP_Bool usefulRecall
 
SCIP_Bool overruleemphasis
 
int ndecomps
 
int ncompletedecomps
 
SCIP_Real dectime
 

Member Function Documentation

◆ GCG_DECL_FREEDETECTOR()

GCG_Detector::GCG_DECL_FREEDETECTOR ( *  freeDetector)

destructor of detector

◆ GCG_DECL_INITDETECTOR()

GCG_Detector::GCG_DECL_INITDETECTOR ( *  initDetector)

initialization method of detector

◆ GCG_DECL_EXITDETECTOR() [1/2]

GCG_Detector::GCG_DECL_EXITDETECTOR ( *  exitDetector)

deinitialization method of detector

◆ GCG_DECL_EXITDETECTOR() [2/2]

GCG_Detector::GCG_DECL_EXITDETECTOR ( *  exitDetection)

deinitialization method of detector

◆ GCG_DECL_PROPAGATEPARTIALDEC()

GCG_Detector::GCG_DECL_PROPAGATEPARTIALDEC ( *  propagatePartialdec)

propagation method of detector (or NULL)

◆ GCG_DECL_FINISHPARTIALDEC()

GCG_Detector::GCG_DECL_FINISHPARTIALDEC ( *  finishPartialdec)

finish method of detector (or NULL)

◆ GCG_DECL_POSTPROCESSPARTIALDEC()

GCG_Detector::GCG_DECL_POSTPROCESSPARTIALDEC ( *  postprocessPartialdec)

postprocess method of detector (or NULL)

◆ GCG_DECL_SETPARAMAGGRESSIVE()

GCG_Detector::GCG_DECL_SETPARAMAGGRESSIVE ( *  setParamAggressive)

set method for aggressive parameters of detector (or NULL)

◆ GCG_DECL_SETPARAMDEFAULT()

GCG_Detector::GCG_DECL_SETPARAMDEFAULT ( *  setParamDefault)

set method for default parameters of detector (or NULL)

◆ GCG_DECL_SETPARAMFAST()

GCG_Detector::GCG_DECL_SETPARAMFAST ( *  setParamFast)

set method for fast parameters of detector (or NULL)

Field Documentation

◆ name

◆ decdata

GCG_DETECTORDATA* GCG_Detector::decdata

custom data structure of the detectors

Definition at line 49 of file struct_detector.h.

Referenced by GCGdetectorGetData(), and GCGincludeDetector().

◆ decchar

char GCG_Detector::decchar

display character of detector

Definition at line 50 of file struct_detector.h.

Referenced by GCGdetectorGetChar(), GCGincludeDetector(), and GCGprintListOfDetectors().

◆ description

const char* GCG_Detector::description

description of the detector

Definition at line 51 of file struct_detector.h.

Referenced by GCGincludeDetector(), GCGprintListOfDetectors(), and SCIP_DECL_CONSFREE().

◆ freqCallRound

int GCG_Detector::freqCallRound

Definition at line 52 of file struct_detector.h.

Referenced by GCGincludeDetector().

◆ maxCallRound

int GCG_Detector::maxCallRound

frequency the detector gets called in detection loop ,ie it is called in round r if and only if minCallRound <= r <= maxCallRound AND (r - minCallRound) mod freqCallRound == 0

Definition at line 53 of file struct_detector.h.

Referenced by GCGincludeDetector().

◆ minCallRound

int GCG_Detector::minCallRound

last round the detector gets called

Definition at line 54 of file struct_detector.h.

Referenced by GCGincludeDetector().

◆ freqCallRoundOriginal

int GCG_Detector::freqCallRoundOriginal

first round the detector gets called (offset in detection loop)

Definition at line 55 of file struct_detector.h.

Referenced by GCGincludeDetector().

◆ maxCallRoundOriginal

int GCG_Detector::maxCallRoundOriginal

frequency the detector gets called in detection loop while detecting the original problem

Definition at line 56 of file struct_detector.h.

Referenced by GCGincludeDetector().

◆ minCallRoundOriginal

int GCG_Detector::minCallRoundOriginal

last round the detector gets called while detecting the original problem

Definition at line 57 of file struct_detector.h.

Referenced by GCGincludeDetector().

◆ priority

int GCG_Detector::priority

first round the detector gets calles (offset in detection loop) while detecting the original problem detector priority

Definition at line 58 of file struct_detector.h.

Referenced by GCGincludeDetector(), and GCGprintListOfDetectors().

◆ enabled

SCIP_Bool GCG_Detector::enabled

flag to indicate whether detector is enabled

Definition at line 59 of file struct_detector.h.

Referenced by detect(), GCGincludeDetector(), and GCGprintListOfDetectors().

◆ enabledFinishing

SCIP_Bool GCG_Detector::enabledFinishing

flag to indicate whether finishing is enabled

Definition at line 60 of file struct_detector.h.

Referenced by detect(), and GCGincludeDetector().

◆ enabledPostprocessing

SCIP_Bool GCG_Detector::enabledPostprocessing

flag to indicate whether finishing is enabled

Definition at line 61 of file struct_detector.h.

Referenced by detect(), and GCGincludeDetector().

◆ skip

SCIP_Bool GCG_Detector::skip

should detector be skipped if other detectors found decompositions

Definition at line 62 of file struct_detector.h.

Referenced by GCGincludeDetector().

◆ usefulRecall

SCIP_Bool GCG_Detector::usefulRecall

Definition at line 63 of file struct_detector.h.

Referenced by detect(), and GCGincludeDetector().

◆ overruleemphasis

SCIP_Bool GCG_Detector::overruleemphasis

is it useful to call this detector on a descendant of the propagated partialdec should the emphasis settings be overruled

Definition at line 64 of file struct_detector.h.

Referenced by GCGincludeDetector(), and setDetectionFast().

◆ ndecomps

int GCG_Detector::ndecomps

number of decompositions the detector has worked on

Definition at line 65 of file struct_detector.h.

Referenced by detect(), GCGconshdlrDecompPrintDetectorStatistics(), and GCGincludeDetector().

◆ ncompletedecomps

int GCG_Detector::ncompletedecomps

number of complete decompositions the detector has worked on (including decompositions that were finished by other detectors)

Definition at line 66 of file struct_detector.h.

Referenced by detect(), GCGconshdlrDecompPrintDetectorStatistics(), and GCGincludeDetector().

◆ dectime

SCIP_Real GCG_Detector::dectime

time the detector took to find decompositions

Definition at line 67 of file struct_detector.h.

Referenced by detect(), GCGconshdlrDecompPrintDetectorStatistics(), GCGincludeDetector(), and SCIP_DECL_CONSINIT().