Scippy

GCG

Branch-and-Price & Column Generation for Everyone

GCG_DetectorData Struct Reference

Detailed Description

detector handler data

detector handler data

detector handler data

detector handler data

detector handler data

detector handler data

detector handler data

detector handler data

detector handler data

detector handler data

private detector data

detector data

detector handler data

detector handler data

detector handler data

detector handler data

constraint handler data

detector handler data

Definition at line 74 of file dec_compgreedily.cpp.

Data Fields

SCIP_Bool useconssadj
 
SCIP_RESULT result
 
SCIP_Bool found
 
int n_iterations
 
int n_similarities
 
SCIP_Bool johnsonenable
 
SCIP_Bool intersectionenable
 
SCIP_Bool jaccardenable
 
SCIP_Bool cosineenable
 
SCIP_Bool simpsonenable
 
SCIP_Bool postprocenable
 
int varWeight
 
int varWeightBinary
 
int varWeightContinous
 
int varWeightInteger
 
int varWeightImplint
 
int consWeight
 
int consWeightSetppc
 
SCIP_Real alpha
 
SCIP_Real beta
 
SCIP_Real dummynodes
 
SCIP_Bool tidy
 
int maxnblockcandidates
 
int randomseed
 
SCIP_Real metisubfactor
 
SCIP_Bool metisverbose
 
SCIP_Bool metisuseptyperb
 
SCIP_Bool realname
 
char type
 
int limitnconssnvarsdefault
 
SCIP_Bool enabledforlargeproblems
 
int maxdecompsexact
 
int maxdecompsextend
 
SCIP_Real maxratio
 
SCIP_HASHMAP * constoblock
 
SCIP_HASHMAP * vartoblock
 
TCLIQUE_GRAPH * graph
 
int * components
 
int ncomponents
 
int nblocks
 
std::vector< int > * oldToNew
 
std::vector< int > * newToOld
 
int blocks
 
int nconssperblock
 
int maxblocks
 
int minblocks
 
int usermaxblocks
 
int userminblocks
 
INDEXMAP * indexmap
 
int * ibegin
 
int * iend
 
int * jbegin
 
int * jend
 
int * jmin
 
int * jmax
 
int * minV
 
int * width
 
int * hashmapindices
 
vector< int > * rowsWithConstrictions
 
vector< int > * blockedAfterrow
 
int desiredblocks
 
SCIP_Bool dynamicblocking
 
SCIP_Bool staticblocking
 
SCIP_Bool blockingassoonaspossible
 
SCIP_Bool multipledecomps
 
int maxiterationsROC
 

Field Documentation

◆ useconssadj

SCIP_Bool GCG_DetectorData::useconssadj

◆ result

SCIP_RESULT GCG_DetectorData::result

result pointer to indicate success or failure

Definition at line 91 of file dec_dbscan.cpp.

Referenced by detectIsomorph(), and GCG_DECL_INITDETECTOR().

◆ found

SCIP_Bool GCG_DetectorData::found

indicates whethere a decomposition has been found

Definition at line 92 of file dec_dbscan.cpp.

Referenced by detection(), GCG_DECL_INITDETECTOR(), GCG_DECL_PROPAGATEPARTIALDEC(), GCGincludeDetectorDBSCAN(), GCGincludeDetectorHrgpartition(), and GCGincludeDetectorMST().

◆ n_iterations

int GCG_DetectorData::n_iterations

◆ n_similarities

int GCG_DetectorData::n_similarities

number of active similarities

Definition at line 94 of file dec_dbscan.cpp.

Referenced by GCG_DECL_INITDETECTOR(), and GCG_DECL_PROPAGATEPARTIALDEC().

◆ johnsonenable

SCIP_Bool GCG_DetectorData::johnsonenable

◆ intersectionenable

SCIP_Bool GCG_DetectorData::intersectionenable

◆ jaccardenable

SCIP_Bool GCG_DetectorData::jaccardenable

◆ cosineenable

SCIP_Bool GCG_DetectorData::cosineenable

◆ simpsonenable

SCIP_Bool GCG_DetectorData::simpsonenable

◆ postprocenable

SCIP_Bool GCG_DetectorData::postprocenable

◆ varWeight

int GCG_DetectorData::varWeight

weight of a variable hyperedge

Definition at line 139 of file dec_hcgpartition.cpp.

Referenced by detection(), GCGincludeDetectorHcgpartition(), GCGincludeDetectorHrcgpartition(), and GCGincludeDetectorHrgpartition().

◆ varWeightBinary

int GCG_DetectorData::varWeightBinary

weight of a binary variable hyperedge

Definition at line 140 of file dec_hcgpartition.cpp.

Referenced by detection(), GCGincludeDetectorHcgpartition(), GCGincludeDetectorHrcgpartition(), and GCGincludeDetectorHrgpartition().

◆ varWeightContinous

int GCG_DetectorData::varWeightContinous

weight of a continuous variable hyperedge

Definition at line 141 of file dec_hcgpartition.cpp.

Referenced by detection(), GCGincludeDetectorHcgpartition(), GCGincludeDetectorHrcgpartition(), and GCGincludeDetectorHrgpartition().

◆ varWeightInteger

int GCG_DetectorData::varWeightInteger

weight of an integer variable hyperedge

Definition at line 142 of file dec_hcgpartition.cpp.

Referenced by detection(), GCGincludeDetectorHcgpartition(), GCGincludeDetectorHrcgpartition(), and GCGincludeDetectorHrgpartition().

◆ varWeightImplint

int GCG_DetectorData::varWeightImplint

weight of an implicit integer variable hyperedge

Definition at line 143 of file dec_hcgpartition.cpp.

Referenced by GCGincludeDetectorHcgpartition(), GCGincludeDetectorHrcgpartition(), and GCGincludeDetectorHrgpartition().

◆ consWeight

int GCG_DetectorData::consWeight

weight of a constraint hyperedge

Definition at line 144 of file dec_hcgpartition.cpp.

Referenced by detection(), GCGincludeDetectorHcgpartition(), GCGincludeDetectorHrcgpartition(), and GCGincludeDetectorHrgpartition().

◆ consWeightSetppc

int GCG_DetectorData::consWeightSetppc

weight of a setppc constraint hyperedge

Definition at line 145 of file dec_hcgpartition.cpp.

Referenced by GCGincludeDetectorHcgpartition(), GCGincludeDetectorHrcgpartition(), and GCGincludeDetectorHrgpartition().

◆ alpha

SCIP_Real GCG_DetectorData::alpha

factor for constraint coefficient value standard deviation

Definition at line 146 of file dec_hcgpartition.cpp.

Referenced by GCGincludeDetectorHcgpartition(), GCGincludeDetectorHrcgpartition(), and GCGincludeDetectorHrgpartition().

◆ beta

SCIP_Real GCG_DetectorData::beta

factor for equality od inequality constraints

Definition at line 147 of file dec_hcgpartition.cpp.

Referenced by GCGincludeDetectorHcgpartition(), GCGincludeDetectorHrcgpartition(), and GCGincludeDetectorHrgpartition().

◆ dummynodes

SCIP_Real GCG_DetectorData::dummynodes

◆ tidy

SCIP_Bool GCG_DetectorData::tidy

whether tempory metis files should be cleaned up

Definition at line 151 of file dec_hcgpartition.cpp.

Referenced by callMetis(), detection(), GCGincludeDetectorHcgpartition(), GCGincludeDetectorHrcgpartition(), and GCGincludeDetectorHrgpartition().

◆ maxnblockcandidates

int GCG_DetectorData::maxnblockcandidates

maximal number of block canddidates to test

Definition at line 152 of file dec_hcgpartition.cpp.

Referenced by GCGincludeDetectorHcgpartition(), GCGincludeDetectorHrcgpartition(), and GCGincludeDetectorHrgpartition().

◆ randomseed

int GCG_DetectorData::randomseed

◆ metisubfactor

SCIP_Real GCG_DetectorData::metisubfactor

◆ metisverbose

SCIP_Bool GCG_DetectorData::metisverbose

should metis ouput be displayed

Definition at line 157 of file dec_hcgpartition.cpp.

Referenced by callMetis(), GCGincludeDetectorHcgpartition(), GCGincludeDetectorHrcgpartition(), and GCGincludeDetectorHrgpartition().

◆ metisuseptyperb

SCIP_Bool GCG_DetectorData::metisuseptyperb

flag to indicate whether metis uses kway or rb partitioning

Definition at line 158 of file dec_hcgpartition.cpp.

Referenced by callMetis(), GCGincludeDetectorHcgpartition(), GCGincludeDetectorHrcgpartition(), and GCGincludeDetectorHrgpartition().

◆ realname

SCIP_Bool GCG_DetectorData::realname

flag to indicate real problem name or temporary filename for metis files

Definition at line 159 of file dec_hcgpartition.cpp.

Referenced by createMetisFile(), GCGincludeDetectorHcgpartition(), GCGincludeDetectorHrcgpartition(), and GCGincludeDetectorHrgpartition().

◆ type

char GCG_DetectorData::type

type of the decomposition 'c' column hypergraph (single bordered, no linking constraints), 'r' row hypergraph (single bordered, no linking variables) and 'a' column-row hypergraph (arrowhead)

Definition at line 163 of file dec_hcgpartition.cpp.

◆ limitnconssnvarsdefault

int GCG_DetectorData::limitnconssnvarsdefault

limit for sum of nvars and nconss for enabling this detector in default

Definition at line 153 of file dec_hrgpartition.cpp.

Referenced by GCGincludeDetectorHrgpartition().

◆ enabledforlargeproblems

SCIP_Bool GCG_DetectorData::enabledforlargeproblems

Definition at line 154 of file dec_hrgpartition.cpp.

Referenced by GCGincludeDetectorHrgpartition().

◆ maxdecompsexact

int GCG_DetectorData::maxdecompsexact

maximum number of decompositions for exact emthod

Definition at line 94 of file dec_isomorph.cpp.

Referenced by GCG_DECL_PROPAGATEPARTIALDEC(), and GCGincludeDetectorIsomorphism().

◆ maxdecompsextend

int GCG_DetectorData::maxdecompsextend

maximum number of decompositions for extend method

Definition at line 95 of file dec_isomorph.cpp.

Referenced by GCG_DECL_PROPAGATEPARTIALDEC(), and GCGincludeDetectorIsomorphism().

◆ maxratio

SCIP_Real GCG_DetectorData::maxratio

◆ constoblock

◆ vartoblock

◆ graph

◆ components

◆ ncomponents

int GCG_DetectorData::ncomponents

◆ nblocks

◆ oldToNew

◆ newToOld

◆ blocks

int GCG_DetectorData::blocks

number of blocks

Definition at line 116 of file dec_stairheur.cpp.

Referenced by blocking(), blockingAsSoonAsPossible(), blockingDynamic(), and blockingStatic().

◆ nconssperblock

int GCG_DetectorData::nconssperblock

number of constraints per block (static blocking only)

Definition at line 117 of file dec_stairheur.cpp.

Referenced by blocking(), blockingStatic(), and GCGincludeDetectorStairheur().

◆ maxblocks

int GCG_DetectorData::maxblocks

maximum number of constraints per block

Definition at line 118 of file dec_stairheur.cpp.

Referenced by blocking(), blockingDynamic(), calculateNdecompositions(), checkParameterConsistency(), and initData().

◆ minblocks

int GCG_DetectorData::minblocks

minimum number of constraints per block

Definition at line 119 of file dec_stairheur.cpp.

Referenced by blocking(), calculateNdecompositions(), checkParameterConsistency(), and initData().

◆ usermaxblocks

int GCG_DetectorData::usermaxblocks

maximum number of constraints per block given by user

Definition at line 120 of file dec_stairheur.cpp.

Referenced by GCGincludeDetectorStairheur(), and initData().

◆ userminblocks

int GCG_DetectorData::userminblocks

minimum number of constraints per block given by user

Definition at line 121 of file dec_stairheur.cpp.

Referenced by GCGincludeDetectorStairheur(), and initData().

◆ indexmap

INDEXMAP* GCG_DetectorData::indexmap

index map (contains 4 hashmaps)

Definition at line 122 of file dec_stairheur.cpp.

Referenced by assignConsToBlock(), freeData(), GCG_DECL_INITDETECTOR(), GCG_DECL_PROPAGATEPARTIALDEC(), initData(), and rankOrderClustering().

◆ ibegin

int* GCG_DetectorData::ibegin

array, ibegin[i]: index of first nonzero entry in row i

Definition at line 123 of file dec_stairheur.cpp.

Referenced by freeData(), GCG_DECL_INITDETECTOR(), GCG_DECL_PROPAGATEPARTIALDEC(), getMinColIndex(), initData(), and rankOrderClustering().

◆ iend

int* GCG_DetectorData::iend

array, iend[i]: index of last nonzero entry in row i

Definition at line 124 of file dec_stairheur.cpp.

Referenced by freeData(), GCG_DECL_INITDETECTOR(), GCG_DECL_PROPAGATEPARTIALDEC(), getMaxColIndex(), initData(), and rankOrderClustering().

◆ jbegin

int* GCG_DetectorData::jbegin

array, jbegin[j]: index of first nonzero entry in column j

Definition at line 125 of file dec_stairheur.cpp.

Referenced by freeData(), GCG_DECL_INITDETECTOR(), GCG_DECL_PROPAGATEPARTIALDEC(), initData(), and rankOrderClustering().

◆ jend

int* GCG_DetectorData::jend

array, jend[j]: index of last nonzero entry in column j

Definition at line 126 of file dec_stairheur.cpp.

Referenced by freeData(), GCG_DECL_INITDETECTOR(), GCG_DECL_PROPAGATEPARTIALDEC(), initData(), and rankOrderClustering().

◆ jmin

int* GCG_DetectorData::jmin

array, jmin[i]: index of first nonzero column of the i-th row

Definition at line 127 of file dec_stairheur.cpp.

Referenced by freeData(), GCG_DECL_INITDETECTOR(), GCG_DECL_PROPAGATEPARTIALDEC(), and initData().

◆ jmax

int* GCG_DetectorData::jmax

array, jmax[i]: the last nonzero entry among all rows prior to and including the i-th row

Definition at line 128 of file dec_stairheur.cpp.

Referenced by freeData(), GCG_DECL_INITDETECTOR(), GCG_DECL_PROPAGATEPARTIALDEC(), and initData().

◆ minV

int* GCG_DetectorData::minV

array, minV[i]: number of linking variables corresponding to a partitioning after the i-th row

Definition at line 129 of file dec_stairheur.cpp.

Referenced by freeData(), GCG_DECL_INITDETECTOR(), GCG_DECL_PROPAGATEPARTIALDEC(), initData(), and rowsWithConstriction().

◆ width

int* GCG_DetectorData::width

array, width[i]: width of the band (of nonzero entries after ROC) at row i

Definition at line 130 of file dec_stairheur.cpp.

Referenced by blocking(), freeData(), GCG_DECL_INITDETECTOR(), GCG_DECL_PROPAGATEPARTIALDEC(), and initData().

◆ hashmapindices

int* GCG_DetectorData::hashmapindices

array with integers running from 0 to maximum(nvars, ncons)+1 (for usage of hash maps)

Definition at line 131 of file dec_stairheur.cpp.

Referenced by assignConsToBlock(), createRowindexList(), freeData(), GCG_DECL_INITDETECTOR(), GCG_DECL_PROPAGATEPARTIALDEC(), initData(), rankOrderClustering(), and rankOrderClusteringIteration().

◆ rowsWithConstrictions

vector<int>* GCG_DetectorData::rowsWithConstrictions

◆ blockedAfterrow

vector<int>* GCG_DetectorData::blockedAfterrow

◆ desiredblocks

int GCG_DetectorData::desiredblocks

Definition at line 134 of file dec_stairheur.cpp.

Referenced by blocking(), and GCGincludeDetectorStairheur().

◆ dynamicblocking

SCIP_Bool GCG_DetectorData::dynamicblocking

Enable blocking type 'dynamic'

Definition at line 135 of file dec_stairheur.cpp.

Referenced by blocking(), calculateNdecompositions(), checkParameterConsistency(), and GCGincludeDetectorStairheur().

◆ staticblocking

SCIP_Bool GCG_DetectorData::staticblocking

Enable blocking type 'static'

Definition at line 136 of file dec_stairheur.cpp.

Referenced by blocking(), calculateNdecompositions(), checkParameterConsistency(), and GCGincludeDetectorStairheur().

◆ blockingassoonaspossible

SCIP_Bool GCG_DetectorData::blockingassoonaspossible

Enable blocking type 'as soon as possible'

Definition at line 137 of file dec_stairheur.cpp.

Referenced by blocking(), calculateNdecompositions(), checkParameterConsistency(), and GCGincludeDetectorStairheur().

◆ multipledecomps

SCIP_Bool GCG_DetectorData::multipledecomps

Enables multiple decompositions for all enabled blocking types. Ranging from minblocks to maxblocks

Definition at line 138 of file dec_stairheur.cpp.

Referenced by blocking(), calculateNdecompositions(), checkParameterConsistency(), and GCGincludeDetectorStairheur().

◆ maxiterationsROC

int GCG_DetectorData::maxiterationsROC

Definition at line 139 of file dec_stairheur.cpp.

Referenced by GCG_DECL_PROPAGATEPARTIALDEC(), and GCGincludeDetectorStairheur().