Detailed Description
decomposition structure information
Definition at line 52 of file struct_decomp.h.
#include <struct_decomp.h>
Data Fields | |
| SCIP_Bool | presolved |
| int | nblocks |
| SCIP_VAR *** | subscipvars |
| int * | nsubscipvars |
| SCIP_CONS *** | subscipconss |
| int * | nsubscipconss |
| SCIP_CONS ** | linkingconss |
| int | nlinkingconss |
| SCIP_VAR ** | linkingvars |
| int | nlinkingvars |
| int | nfixedlinkingvars |
| int | nmastervars |
| SCIP_VAR *** | stairlinkingvars |
| int * | nstairlinkingvars |
| SCIP_HASHMAP * | vartoblock |
| SCIP_HASHMAP * | constoblock |
| SCIP_HASHMAP * | varindex |
| SCIP_HASHMAP * | consindex |
| GCG_DECTYPE | type |
| GCG_DETECTOR ** | detectorchain |
| GCG_DETECTOR * | detector |
| int | sizedetectorchain |
| int | partialdecid |
| SCIP_Real * | detectorclocktimes |
| SCIP_Real * | pctvarstoborder |
| SCIP_Real * | pctconsstoborder |
| SCIP_Real * | pctvarstoblock |
| SCIP_Real * | pctconsstoblock |
| SCIP_Real * | pctvarsfromopen |
| SCIP_Real * | pctconssfromopen |
| int * | nnewblocks |
| char * | detectorchainstring |
| SCIP_Real | maxwhitescore |
Field Documentation
◆ presolved
| SCIP_Bool GCG_Decomp::presolved |
does the decomposition refer to the presolved problem?
Definition at line 54 of file struct_decomp.h.
Referenced by createPartialdecFromDecomp(), GCGconshdlrDecompAddPreexistingDecomp(), GCGdecompCreate(), GCGdecompGetPresolved(), and GCGdecompSetPresolved().
◆ nblocks
| int GCG_Decomp::nblocks |
number of blocks in this decomposition
Definition at line 55 of file struct_decomp.h.
Referenced by assignConsvarsToBlock(), GCGdecompCreate(), GCGdecompFree(), GCGdecompGetNBlocks(), GCGdecompRemoveDeletedConss(), GCGdecompSetNBlocks(), GCGdecompSetStairlinkingvars(), GCGdecompSetSubscipconss(), GCGdecompSetSubscipvars(), GCGdecompTransform(), and GCGdecompTryAssignMasterconssToNewPricing().
◆ subscipvars
| SCIP_VAR*** GCG_Decomp::subscipvars |
two dimensional array of variables in each block Usage: Usage: subscipvars[b][v] is variable v in block b
Definition at line 56 of file struct_decomp.h.
Referenced by assignConsvarsToBlock(), GCGdecompCreate(), GCGdecompFree(), GCGdecompGetSubscipvars(), GCGdecompSetSubscipvars(), and GCGdecompTransform().
◆ nsubscipvars
| int* GCG_Decomp::nsubscipvars |
array of number of variables in each block Usage: nsubscipvars[b] is the number of variables of block b
Definition at line 58 of file struct_decomp.h.
Referenced by assignConsvarsToBlock(), GCGdecompCreate(), GCGdecompFree(), GCGdecompGetNSubscipvars(), GCGdecompSetSubscipvars(), and GCGdecompTransform().
◆ subscipconss
| SCIP_CONS*** GCG_Decomp::subscipconss |
two dimensional array of constraints in each block Usage: subscipcons[b][c] is constraint c in block b
Definition at line 60 of file struct_decomp.h.
Referenced by GCGdecompAddRemainingConss(), GCGdecompCreate(), GCGdecompFree(), GCGdecompGetSubscipconss(), GCGdecompMoveLinkingConsToPricing(), GCGdecompRemoveDeletedConss(), GCGdecompSetSubscipconss(), and GCGdecompTransform().
◆ nsubscipconss
| int* GCG_Decomp::nsubscipconss |
array of number of constraints in each block Usage: nsubscipcons[b] is the number of constraints of block b
Definition at line 62 of file struct_decomp.h.
Referenced by GCGdecompAddRemainingConss(), GCGdecompCreate(), GCGdecompFree(), GCGdecompGetNSubscipconss(), GCGdecompMoveLinkingConsToPricing(), GCGdecompRemoveDeletedConss(), GCGdecompSetSubscipconss(), and GCGdecompTransform().
◆ linkingconss
| SCIP_CONS** GCG_Decomp::linkingconss |
array of constraints linking the blocks Usage: linkingcons[c] is linking constraint number c
Definition at line 64 of file struct_decomp.h.
Referenced by GCGdecompAddRemainingConss(), GCGdecompCreate(), GCGdecompFree(), GCGdecompGetLinkingconss(), GCGdecompMoveLinkingConsToPricing(), GCGdecompRemoveDeletedConss(), GCGdecompSetLinkingconss(), GCGdecompSetType(), GCGdecompTransform(), GCGdecompTryAssignMasterconssToExistingPricing(), and GCGdecompTryAssignMasterconssToNewPricing().
◆ nlinkingconss
| int GCG_Decomp::nlinkingconss |
number of linking constraints
Definition at line 66 of file struct_decomp.h.
Referenced by GCGdecompAddRemainingConss(), GCGdecompCreate(), GCGdecompFree(), GCGdecompGetNLinkingconss(), GCGdecompMoveLinkingConsToPricing(), GCGdecompRemoveDeletedConss(), GCGdecompSetLinkingconss(), GCGdecompSetType(), GCGdecompTransform(), GCGdecompTryAssignMasterconssToExistingPricing(), and GCGdecompTryAssignMasterconssToNewPricing().
◆ linkingvars
| SCIP_VAR** GCG_Decomp::linkingvars |
array of variables linking the blocks Usage: linkingvars[v] is linking variable number v
Definition at line 67 of file struct_decomp.h.
Referenced by GCGdecompCreate(), GCGdecompFree(), GCGdecompGetLinkingvars(), GCGdecompSetLinkingvars(), GCGdecompSetType(), GCGdecompTransform(), and removeFromLinkingvars().
◆ nlinkingvars
| int GCG_Decomp::nlinkingvars |
number of linking variables
Definition at line 69 of file struct_decomp.h.
Referenced by GCGdecompCreate(), GCGdecompFree(), GCGdecompGetNLinkingvars(), GCGdecompSetLinkingvars(), GCGdecompSetType(), GCGdecompTransform(), and removeFromLinkingvars().
◆ nfixedlinkingvars
| int GCG_Decomp::nfixedlinkingvars |
number of linking variables that are fixed
Definition at line 70 of file struct_decomp.h.
Referenced by GCGdecompCreate(), GCGdecompGetNFixedLinkingvars(), and GCGdecompSetLinkingvars().
◆ nmastervars
| int GCG_Decomp::nmastervars |
number of linking variables that are purely master variables
Definition at line 71 of file struct_decomp.h.
Referenced by GCGdecompCreate(), GCGdecompGetNMastervars(), and GCGdecompSetLinkingvars().
◆ stairlinkingvars
| SCIP_VAR*** GCG_Decomp::stairlinkingvars |
array of variables staircaselinking the blocks
Definition at line 72 of file struct_decomp.h.
Referenced by GCGdecompCreate(), GCGdecompFree(), GCGdecompGetStairlinkingvars(), and GCGdecompSetStairlinkingvars().
◆ nstairlinkingvars
| int* GCG_Decomp::nstairlinkingvars |
number of staircaselinking variables
Definition at line 73 of file struct_decomp.h.
Referenced by GCGdecompCreate(), GCGdecompFree(), GCGdecompGetNStairlinkingvars(), and GCGdecompSetStairlinkingvars().
◆ vartoblock
| SCIP_HASHMAP* GCG_Decomp::vartoblock |
hashmap mapping variables to their blocks (from 1 to nblocks) Usage: SCIPhashmapGetImage(vartoblock, var) returns b+1, where b is the block of variable var. This map is somehow inverse of the subscipcvars array.
Definition at line 74 of file struct_decomp.h.
Referenced by assignConsvarsToBlock(), GCGdecompCreate(), GCGdecompFree(), GCGdecompGetVartoblock(), GCGdecompSetVartoblock(), and GCGdecompTransform().
◆ constoblock
| SCIP_HASHMAP* GCG_Decomp::constoblock |
hashmap mapping constraints to their blocks (from 1 to nblocks) Usage: Usage: SCIPhashmapGetImage(constoblock, cons) returns b+1, where b is the block of constraint cons. This map is somehow inverse of the subscipconss array.
Definition at line 77 of file struct_decomp.h.
Referenced by fillOutConsFromConstoblock(), GCGdecompAddRemainingConss(), GCGdecompCreate(), GCGdecompFree(), GCGdecompGetConstoblock(), GCGdecompMoveLinkingConsToPricing(), GCGdecompSetConstoblock(), GCGdecompTransform(), and GCGdecompTryAssignMasterconssToNewPricing().
◆ varindex
| SCIP_HASHMAP* GCG_Decomp::varindex |
hashmap mapping variables to indices for a visual ordering
Definition at line 80 of file struct_decomp.h.
Referenced by GCGdecompCreate(), GCGdecompFree(), GCGdecompGetVarindex(), and GCGdecompSetVarindex().
◆ consindex
| SCIP_HASHMAP* GCG_Decomp::consindex |
hashmap mapping constraints to indices for visual ordering
Definition at line 81 of file struct_decomp.h.
Referenced by GCGdecompCreate(), GCGdecompFree(), GCGdecompGetConsindex(), and GCGdecompSetConsindex().
◆ type
| GCG_DECTYPE GCG_Decomp::type |
type of the decomposition
Definition at line 82 of file struct_decomp.h.
Referenced by GCGdecompAddRemainingConss(), GCGdecompCreate(), GCGdecompGetType(), and GCGdecompSetType().
◆ detectorchain
| GCG_DETECTOR** GCG_Decomp::detectorchain |
array of detectors that worked on this decomposition
Definition at line 83 of file struct_decomp.h.
Referenced by GCGdecompCreate(), GCGdecompFree(), GCGdecompGetDetectorChain(), and GCGdecompSetDetectorChain().
◆ detector
| GCG_DETECTOR* GCG_Decomp::detector |
detector that found this decomposition
Definition at line 84 of file struct_decomp.h.
Referenced by GCGdecompCreate(), GCGdecompGetDetector(), and GCGdecompSetDetector().
◆ sizedetectorchain
| int GCG_Decomp::sizedetectorchain |
number of detectors that worked on this decomposition
Definition at line 85 of file struct_decomp.h.
Referenced by GCGdecompCreate(), GCGdecompFree(), GCGdecompGetDetectorChainSize(), GCGdecompSetDetectorChain(), GCGdecompSetDetectorClockTimes(), GCGdecompSetDetectorPctConssFromOpen(), GCGdecompSetDetectorPctConssToBlock(), GCGdecompSetDetectorPctConssToBorder(), GCGdecompSetDetectorPctVarsFromOpen(), GCGdecompSetDetectorPctVarsToBlock(), GCGdecompSetDetectorPctVarsToBorder(), and GCGdecompSetNNewBlocks().
◆ partialdecid
| int GCG_Decomp::partialdecid |
id of the partialdec this decomposition originates from
Definition at line 86 of file struct_decomp.h.
Referenced by buildProblem(), GCGdecompCreate(), GCGdecompGetPartialdecID(), and GCGdecompSetPartialdecID().
◆ detectorclocktimes
| SCIP_Real* GCG_Decomp::detectorclocktimes |
times of the detectors that worked on this decomposition
Definition at line 87 of file struct_decomp.h.
Referenced by GCGdecompCreate(), GCGdecompFree(), GCGdecompGetDetectorClockTimes(), and GCGdecompSetDetectorClockTimes().
◆ pctvarstoborder
| SCIP_Real* GCG_Decomp::pctvarstoborder |
percentages of variables assigned to the border of the corresponding detectors on this decomposition
Definition at line 88 of file struct_decomp.h.
Referenced by GCGdecompCreate(), GCGdecompFree(), GCGdecompGetDetectorPctVarsToBorder(), and GCGdecompSetDetectorPctVarsToBorder().
◆ pctconsstoborder
| SCIP_Real* GCG_Decomp::pctconsstoborder |
percentages of constraints assigned to the border of the corresponding detectors on this decomposition
Definition at line 89 of file struct_decomp.h.
Referenced by GCGdecompCreate(), GCGdecompFree(), GCGdecompGetDetectorPctConssToBorder(), and GCGdecompSetDetectorPctConssToBorder().
◆ pctvarstoblock
| SCIP_Real* GCG_Decomp::pctvarstoblock |
percentages of variables assigned to a block of the corresponding detectors on this decomposition
Definition at line 90 of file struct_decomp.h.
Referenced by GCGdecompCreate(), GCGdecompFree(), GCGdecompGetDetectorPctVarsToBlock(), and GCGdecompSetDetectorPctVarsToBlock().
◆ pctconsstoblock
| SCIP_Real* GCG_Decomp::pctconsstoblock |
percentages of variables assigned to a block of the corresponding detectors on this decomposition
Definition at line 91 of file struct_decomp.h.
Referenced by GCGdecompCreate(), GCGdecompFree(), GCGdecompGetDetectorPctConssToBlock(), and GCGdecompSetDetectorPctConssToBlock().
◆ pctvarsfromopen
| SCIP_Real* GCG_Decomp::pctvarsfromopen |
percentages of variables assigned to a block or border of the corresponding detectors on this decomposition
Definition at line 92 of file struct_decomp.h.
Referenced by GCGdecompCreate(), GCGdecompFree(), GCGdecompGetDetectorPctVarsFromOpen(), and GCGdecompSetDetectorPctVarsFromOpen().
◆ pctconssfromopen
| SCIP_Real* GCG_Decomp::pctconssfromopen |
percentages of constraints assigned to a block or the border of the corresponding detectors on this decomposition
Definition at line 93 of file struct_decomp.h.
Referenced by GCGdecompCreate(), GCGdecompFree(), GCGdecompGetDetectorPctConssFromOpen(), and GCGdecompSetDetectorPctConssFromOpen().
◆ nnewblocks
| int* GCG_Decomp::nnewblocks |
number of new blocks of the corresponding detectors on this decomposition
Definition at line 94 of file struct_decomp.h.
Referenced by GCGdecompCreate(), GCGdecompFree(), GCGdecompGetNNewBlocks(), and GCGdecompSetNNewBlocks().
◆ detectorchainstring
| char* GCG_Decomp::detectorchainstring |
string for the detector information working on that decomposition
Definition at line 95 of file struct_decomp.h.
Referenced by GCGdecompCreate(), GCGdecompFree(), GCGdecompGetDetectorChainString(), GCGdecompSetDetectorChainString(), and GCGprintDecompStatistics().
◆ maxwhitescore
| SCIP_Real GCG_Decomp::maxwhitescore |
maximum white score (i.e. [fraction of white area] (nonborder+nonblock) )
Definition at line 96 of file struct_decomp.h.
Referenced by GCGdecompCreate(), GCGdecompGetMaxWhiteScore(), GCGdecompGetMaxwhiteScore(), and GCGdecompSetMaxWhiteScore().