Scippy

GCG

Branch-and-Price & Column Generation for Everyone

Detailed Description

detector constype (put your description here)

Author
Michael Bastubbe

Definition in file dec_constype.cpp.

#include "dec_constype.h"
#include "cons_decomp.h"
#include "class_partialdecomp.h"
#include "class_detprobdata.h"
#include "gcg.h"
#include "scip/cons_setppc.h"
#include "scip/scip.h"
#include "scip_misc.h"
#include "scip/clock.h"
#include <iostream>

Go to the source code of this file.

Data Structures

struct  DEC_DetectorData
 

Macros

#define DEC_DETECTORNAME   "constype"
 
#define DEC_DESC   "detector constype"
 
#define DEC_FREQCALLROUND   1 /** 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 */
 
#define DEC_MAXCALLROUND   0 /** last round the detector gets called */
 
#define DEC_MINCALLROUND   0 /** first round the detector gets called */
 
#define DEC_FREQCALLROUNDORIGINAL   1 /** frequency the detector gets called in detection loop while detecting the original problem */
 
#define DEC_MAXCALLROUNDORIGINAL   0 /** last round the detector gets called while detecting the original problem */
 
#define DEC_MINCALLROUNDORIGINAL   0 /** first round the detector gets called while detecting the original problem */
 
#define DEC_PRIORITY   0
 
#define DEC_DECCHAR   't'
 
#define DEC_ENABLED   FALSE
 
#define DEC_ENABLEDFINISHING   FALSE
 
#define DEC_ENABLEDPOSTPROCESSING   FALSE
 
#define DEC_SKIP   FALSE
 
#define DEC_USEFULRECALL   FALSE
 
#define freeConstype   NULL
 
#define exitConstype   NULL
 
#define initConstype   NULL
 
#define finishPartialdecConstype   NULL
 
#define detectorPostprocessPartialdecConstype   NULL
 

Functions

std::vector< std::vector< int > > getSubsets (std::vector< int > set)
 
static DEC_DECL_PROPAGATEPARTIALDEC (propagatePartialdecConstype)
 
static DEC_DECL_SETPARAMAGGRESSIVE (setParamAggressiveConstype)
 
static DEC_DECL_SETPARAMDEFAULT (setParamDefaultConstype)
 
static DEC_DECL_SETPARAMFAST (setParamFastConstype)
 
SCIP_RETCODE SCIPincludeDetectorConstype (SCIP *scip)
 

Macro Definition Documentation

◆ DEC_DETECTORNAME

#define DEC_DETECTORNAME   "constype"

name of detector

Definition at line 49 of file dec_constype.cpp.

◆ DEC_DESC

#define DEC_DESC   "detector constype"

description of detector

Definition at line 50 of file dec_constype.cpp.

◆ DEC_FREQCALLROUND

#define DEC_FREQCALLROUND   1 /** 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 51 of file dec_constype.cpp.

◆ DEC_MAXCALLROUND

#define DEC_MAXCALLROUND   0 /** last round the detector gets called */

Definition at line 52 of file dec_constype.cpp.

◆ DEC_MINCALLROUND

#define DEC_MINCALLROUND   0 /** first round the detector gets called */

Definition at line 53 of file dec_constype.cpp.

◆ DEC_FREQCALLROUNDORIGINAL

#define DEC_FREQCALLROUNDORIGINAL   1 /** frequency the detector gets called in detection loop while detecting the original problem */

Definition at line 54 of file dec_constype.cpp.

◆ DEC_MAXCALLROUNDORIGINAL

#define DEC_MAXCALLROUNDORIGINAL   0 /** last round the detector gets called while detecting the original problem */

Definition at line 55 of file dec_constype.cpp.

◆ DEC_MINCALLROUNDORIGINAL

#define DEC_MINCALLROUNDORIGINAL   0 /** first round the detector gets called while detecting the original problem */

Definition at line 56 of file dec_constype.cpp.

◆ DEC_PRIORITY

#define DEC_PRIORITY   0

priority of the constraint handler for separation

Definition at line 57 of file dec_constype.cpp.

◆ DEC_DECCHAR

#define DEC_DECCHAR   't'

display character of detector

Definition at line 58 of file dec_constype.cpp.

◆ DEC_ENABLED

#define DEC_ENABLED   FALSE

should the detection be enabled

Definition at line 59 of file dec_constype.cpp.

◆ DEC_ENABLEDFINISHING

#define DEC_ENABLEDFINISHING   FALSE

should the finishing be enabled

Definition at line 60 of file dec_constype.cpp.

◆ DEC_ENABLEDPOSTPROCESSING

#define DEC_ENABLEDPOSTPROCESSING   FALSE

should the finishing be enabled

Definition at line 61 of file dec_constype.cpp.

◆ DEC_SKIP

#define DEC_SKIP   FALSE

should detector be skipped if other detectors found decompositions

Definition at line 62 of file dec_constype.cpp.

◆ DEC_USEFULRECALL

#define DEC_USEFULRECALL   FALSE

is it useful to call this detector on a descendant of the propagated partialdec

Definition at line 63 of file dec_constype.cpp.

◆ freeConstype

#define freeConstype   NULL

destructor of detector to free user data (called when GCG is exiting)

Definition at line 106 of file dec_constype.cpp.

◆ exitConstype

#define exitConstype   NULL

destructor of detector to free detector data (called before the solving process begins)

Definition at line 109 of file dec_constype.cpp.

◆ initConstype

#define initConstype   NULL

detection initialization function of detector (called before solving is about to begin)

Definition at line 112 of file dec_constype.cpp.

◆ finishPartialdecConstype

#define finishPartialdecConstype   NULL

Definition at line 209 of file dec_constype.cpp.

◆ detectorPostprocessPartialdecConstype

#define detectorPostprocessPartialdecConstype   NULL

Definition at line 210 of file dec_constype.cpp.

Function Documentation

◆ getSubsets()

std::vector< std::vector<int> > getSubsets ( std::vector< int >  set)

method to enumerate all subsets

Definition at line 82 of file dec_constype.cpp.

Referenced by DEC_DECL_PROPAGATEPARTIALDEC().

◆ DEC_DECL_PROPAGATEPARTIALDEC()

◆ DEC_DECL_SETPARAMAGGRESSIVE()

static DEC_DECL_SETPARAMAGGRESSIVE ( setParamAggressiveConstype  )
static

Definition at line 212 of file dec_constype.cpp.

References DECdetectorGetName().

◆ DEC_DECL_SETPARAMDEFAULT()

static DEC_DECL_SETPARAMDEFAULT ( setParamDefaultConstype  )
static

Definition at line 228 of file dec_constype.cpp.

References DEC_ENABLED, DEC_ENABLEDFINISHING, and DECdetectorGetName().

◆ DEC_DECL_SETPARAMFAST()

static DEC_DECL_SETPARAMFAST ( setParamFastConstype  )
static

Definition at line 243 of file dec_constype.cpp.

References DECdetectorGetName().

◆ SCIPincludeDetectorConstype()