Scippy

GCG

Branch-and-Price & Column Generation for Everyone

dec_mastersetpack.cpp File Reference

Detailed Description

detector mastersetpack (sets setpacking constraints to master)

Author
Martin Bergner

Definition in file dec_mastersetpack.cpp.

#include "dec_mastersetpack.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   "mastersetpack"
 
#define DEC_DESC   "detector mastersetpack"
 
#define DEC_FREQCALLROUND   1
 
#define DEC_MAXCALLROUND   INT_MAX
 
#define DEC_MINCALLROUND   0
 
#define DEC_FREQCALLROUNDORIGINAL   1
 
#define DEC_MAXCALLROUNDORIGINAL   INT_MAX
 
#define DEC_MINCALLROUNDORIGINAL   0
 
#define DEC_PRIORITY   0
 
#define DEC_DECCHAR   '?'
 
#define DEC_ENABLED   TRUE
 
#define DEC_ENABLEDFINISHING   FALSE
 
#define DEC_ENABLEDPOSTPROCESSING   FALSE
 
#define DEC_SKIP   FALSE
 
#define DEC_USEFULRECALL   FALSE
 
#define freeMastersetpack   NULL
 
#define exitMastersetpack   NULL
 
#define initMastersetpack   NULL
 
#define finishPartialdecMastersetpack   NULL
 
#define detectorPostprocessPartialdecMastersetpack   NULL
 
#define setParamAggressiveMastersetpack   NULL
 
#define setParamDefaultMastersetpack   NULL
 
#define setParamFastMastersetpack   NULL
 

Functions

static DEC_DECL_PROPAGATEPARTIALDEC (propagatePartialdecMastersetpack)
 
SCIP_RETCODE SCIPincludeDetectorMastersetpack (SCIP *scip)
 

Macro Definition Documentation

◆ DEC_DETECTORNAME

#define DEC_DETECTORNAME   "mastersetpack"

name of detector

Definition at line 49 of file dec_mastersetpack.cpp.

◆ DEC_DESC

#define DEC_DESC   "detector mastersetpack"

description of detector

Definition at line 50 of file dec_mastersetpack.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_mastersetpack.cpp.

◆ DEC_MAXCALLROUND

#define DEC_MAXCALLROUND   INT_MAX

last round the detector gets called

Definition at line 52 of file dec_mastersetpack.cpp.

◆ DEC_MINCALLROUND

#define DEC_MINCALLROUND   0

first round the detector gets called

Definition at line 53 of file dec_mastersetpack.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_mastersetpack.cpp.

◆ DEC_MAXCALLROUNDORIGINAL

#define DEC_MAXCALLROUNDORIGINAL   INT_MAX

last round the detector gets called while detecting the original problem

Definition at line 55 of file dec_mastersetpack.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_mastersetpack.cpp.

◆ DEC_PRIORITY

#define DEC_PRIORITY   0

priority of the constraint handler for separation

Definition at line 57 of file dec_mastersetpack.cpp.

◆ DEC_DECCHAR

#define DEC_DECCHAR   '?'

display character of detector

Definition at line 58 of file dec_mastersetpack.cpp.

◆ DEC_ENABLED

#define DEC_ENABLED   TRUE

should the detection be enabled

Definition at line 59 of file dec_mastersetpack.cpp.

◆ DEC_ENABLEDFINISHING

#define DEC_ENABLEDFINISHING   FALSE

should the finishing be enabled

Definition at line 60 of file dec_mastersetpack.cpp.

◆ DEC_ENABLEDPOSTPROCESSING

#define DEC_ENABLEDPOSTPROCESSING   FALSE

should the postprocessing be enabled

Definition at line 61 of file dec_mastersetpack.cpp.

◆ DEC_SKIP

#define DEC_SKIP   FALSE

should detector be skipped if other detectors found decompositions

Definition at line 62 of file dec_mastersetpack.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_mastersetpack.cpp.

◆ freeMastersetpack

#define freeMastersetpack   NULL

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

Definition at line 86 of file dec_mastersetpack.cpp.

◆ exitMastersetpack

#define exitMastersetpack   NULL

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

Definition at line 89 of file dec_mastersetpack.cpp.

◆ initMastersetpack

#define initMastersetpack   NULL

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

Definition at line 92 of file dec_mastersetpack.cpp.

◆ finishPartialdecMastersetpack

#define finishPartialdecMastersetpack   NULL

Definition at line 140 of file dec_mastersetpack.cpp.

◆ detectorPostprocessPartialdecMastersetpack

#define detectorPostprocessPartialdecMastersetpack   NULL

Definition at line 142 of file dec_mastersetpack.cpp.

◆ setParamAggressiveMastersetpack

#define setParamAggressiveMastersetpack   NULL

Definition at line 143 of file dec_mastersetpack.cpp.

◆ setParamDefaultMastersetpack

#define setParamDefaultMastersetpack   NULL

Definition at line 144 of file dec_mastersetpack.cpp.

◆ setParamFastMastersetpack

#define setParamFastMastersetpack   NULL

Definition at line 145 of file dec_mastersetpack.cpp.

Function Documentation

◆ DEC_DECL_PROPAGATEPARTIALDEC()

static DEC_DECL_PROPAGATEPARTIALDEC ( propagatePartialdecMastersetpack  )
static

◆ SCIPincludeDetectorMastersetpack()