Detailed Description
class to manage the detection process and data for one coefficient matrix of a MIP, usually there is one detprobdata for the original and one detprobdata for the presolved problem
Definition at line 109 of file class_detprobdata.h.
#include <class_detprobdata.h>
Public Member Functions | |
| GCG_EXPORT | DETPROBDATA (GCG *gcgstruct, SCIP_Bool _originalProblem) |
| constructor | |
| GCG_EXPORT | ~DETPROBDATA () |
| GCG_EXPORT void | addConsPartition (ConsPartition *partition) |
| adds a constraint partition if it is no duplicate of an existing constraint partition | |
| GCG_EXPORT void | addCandidatesNBlocksNVotes (int candidate, int nvotes) |
| adds a candidate for block number and counts how often a candidate is added | |
| GCG_EXPORT void | addPartialdecToAncestor (PARTIALDECOMP *partialdec) |
| adds a partialdec to ancestor partialdecs | |
| GCG_EXPORT bool | addPartialdecToOpen (PARTIALDECOMP *partialdec) |
| adds a partialdec to current partialdecs (data structure for partialdecs that are goin to processed in the propagation rounds) | |
| GCG_EXPORT bool | addPartialdecToFinished (PARTIALDECOMP *partialdec) |
| adds a partialdec to finished partialdecs | |
| GCG_EXPORT void | addPartialdecToFinishedUnchecked (PARTIALDECOMP *partialdec) |
| adds a partialdec to finished partialdecs without checking for duplicates, dev has to check this on his own | |
| GCG_EXPORT void | addVarPartition (VarPartition *partition) |
| adds a variable partition if it is no duplicate of an existing variable partition | |
| GCG_EXPORT void | clearAncestorPartialdecs () |
| clears ancestor partialdec data structure, | |
| GCG_EXPORT void | clearCurrentPartialdecs () |
| clears current partialdec data structure | |
| GCG_EXPORT void | clearFinishedPartialdecs () |
| clears finished partialdec data structure | |
| GCG_EXPORT void | createConssAdjacency () |
| create the constraint adjacency datastructure that is used (if created) for some methods to faster access the constarints that have variables in common | |
| GCG_EXPORT void | freeTemporaryData () |
| frees temporary data that is only needed during the detection process | |
| GCG_EXPORT PARTIALDECOMP * | getAncestorPartialdec (int partialdecindex) |
| returns a partialdec from ancestor partialdec data structure with given index | |
| GCG_EXPORT ConsPartition * | getConsPartition (int partitionIndex) |
| returns pointer to a constraint partition | |
| GCG_EXPORT SCIP_CONS * | getCons (int consIndex) |
| returns the SCIP constraint related to a constraint index | |
| GCG_EXPORT std::vector< int > & | getConssForCons (int consIndex) |
| return array of constraint indices that have a common variable with the given constraint | |
| GCG_EXPORT std::vector< int > & | getConssForVar (int varIndex) |
| returns the constraint indices of the coefficient matrix for a variable | |
| GCG_EXPORT GCG * | getGcg () |
| returns the corresponding gcg data structure | |
| GCG_EXPORT std::vector< PARTIALDECOMP * > & | getOpenPartialdecs () |
| determines all partialdecs from current (open) partialdec data structure | |
| GCG_EXPORT PARTIALDECOMP * | getFinishedPartialdec (int partialdecindex) |
| returns a partialdec from finished partialdec data structure | |
| GCG_EXPORT std::vector< PARTIALDECOMP * > & | getFinishedPartialdecs () |
| gets all finished partialdecs | |
| GCG_EXPORT int | getIndexForCons (SCIP_CONS *cons) |
| returns the constraint index related to a SCIP constraint | |
| GCG_EXPORT int | getIndexForCons (const char *consname) |
| returns the constraint index related to a SCIP constraint | |
| GCG_EXPORT int | getIndexForVar (SCIP_VAR *var) |
| returns the variable index related to a SCIP variable | |
| GCG_EXPORT int | getIndexForVar (const char *varname) |
| returns the variable index related to a SCIP variable | |
| GCG_EXPORT int | getNAncestorPartialdecs () |
| returns size of ancestor partialdec data structure | |
| GCG_EXPORT int | getNConsPartitions () |
| returns number of different constraint partitions | |
| GCG_EXPORT int | getNConss () |
| returns the number of variables considered in the detprobdata | |
| GCG_EXPORT int | getNConssForCons (int consIndex) |
| returns the number of constraints for a given constraint | |
| GCG_EXPORT int | getNConssForVar (int varIndex) |
| returns the number of constraints for a given variable where the var has a nonzero entry in | |
| GCG_EXPORT int | getNOpenPartialdecs () |
| returns size of current (open) partialdec data structure | |
| GCG_EXPORT int | getNFinishedPartialdecs () |
| GCG_EXPORT int | getNPartialdecs () |
| GCG_EXPORT int | getNNonzeros () |
| returns the number of nonzero entries in the coefficient matrix | |
| GCG_EXPORT int | getNVarPartitions () |
| returns number of different variable partitions | |
| GCG_EXPORT int | getNVars () |
| return the number of variables considered in the detprobdata | |
| GCG_EXPORT int | getNVarsForCons (int consIndex) |
| returns the number of variables for a given constraint | |
| GCG_EXPORT std::vector< SCIP_VAR * > | getOrigVarsFixedZero () |
| returns pointers to all orig vars that are fixed to zero | |
| GCG_EXPORT std::vector< SCIP_CONS * > | getRelevantConss () |
| returns pointers to all constraints that are not marked as deleted or obsolete | |
| GCG_EXPORT std::vector< SCIP_VAR * > | getRelevantVars () |
| returns pointers to all problem vars that are not fixed to 0 | |
| GCG_EXPORT SCIP * | getScip () |
| returns the corresponding scip data structure | |
| GCG_EXPORT void | getSortedCandidatesNBlocks (std::vector< int > &candidates) |
| gets the candidates for number of blocks added by the user followed by the found ones sorted in descending order by how often a candidate was proposed | |
| GCG_EXPORT SCIP_Real | getVal (int row, int col) |
| returns a coefficient from the coefficient matrix | |
| GCG_EXPORT std::vector< SCIP_Real > & | getValsForCons (int consIndex) |
| returns the nonzero coefficients of the coefficient matrix for a constraint | |
| GCG_EXPORT VarPartition * | getVarPartition (int partitionIndex) |
| returns pointer to a variable partition with given index | |
| GCG_EXPORT std::vector< VarPartition * > | getVarPartitions () |
| returns vector to stored variable partitions | |
| GCG_EXPORT SCIP_VAR * | getVar (int varIndex) |
| returns SCIP variable related to a variable index | |
| GCG_EXPORT std::vector< int > & | getVarsForCons (int consIndex) |
| returns the variable indices of the coefficient matrix for a constraint | |
| GCG_EXPORT bool | isConsCardinalityCons (int consindexd) |
| returns whether a constraint is a cardinality constraint, i.e. of the \(\sum_{i} x_i = b\) | |
| GCG_EXPORT SCIP_Bool | isConssAdjInitialized () |
| determines whether or not the constraint-constraint adjacency data structure is initilized | |
| GCG_EXPORT bool | isConsSetpp (int consindexd) |
| is cons with specified indec partitioning, or packing covering constraint? | |
| GCG_EXPORT bool | isConsSetppc (int consindexd) |
| is cons with specified index partitioning packing, or covering constraint? | |
| GCG_EXPORT SCIP_Bool | isFiniteNonnegativeIntegral (SCIP_Real x) |
| is constraint ranged row, i.e., -inf < lhs < rhs < inf? | |
| GCG_EXPORT SCIP_Bool | isPartialdecDuplicateofFinished (PARTIALDECOMP *partialdec) |
| check if partialdec is a duplicate of an existing finished partialdec | |
| GCG_EXPORT SCIP_Bool | isAssignedToOrigProb () |
| returns true if the matrix structure corresponds to the presolved problem | |
| GCG_EXPORT SCIP_Bool | isRangedRow (SCIP_Real lhs, SCIP_Real rhs) |
| is constraint ranged row, i.e., -inf < lhs < rhs < inf? | |
| GCG_EXPORT SCIP_Bool | partialdecIsNoDuplicateOfPartialdecs (PARTIALDECOMP *comppartialdec, std::vector< PARTIALDECOMP * > const &partialdecs, bool sort) |
| check if partialdec is a duplicate of any given partialdecs | |
| GCG_EXPORT void | printBlockcandidateInformation (FILE *file) |
| output method for json file writer to write block candidate information | |
| GCG_EXPORT void | printPartitionInformation (FILE *file) |
| output method for json file writer to write partition candidate information | |
| GCG_EXPORT void | sortFinishedForScore () |
| sorts partialdecs in finished partialdecs data structure according to the current scoretype | |
| GCG_EXPORT std::vector< PARTIALDECOMP * > | translatePartialdecs (DETPROBDATA *otherdata, std::vector< PARTIALDECOMP * > otherpartialdecs, SCIP_Bool translateSymmetry) |
| translates partialdecs if the index structure of the problem has changed, e.g. due to presolving | |
| GCG_EXPORT std::vector< PARTIALDECOMP * > | translatePartialdecs (DETPROBDATA *otherdata, SCIP_Bool translateSymmetry) |
| translates partialdecs if the index structure of the problem has changed, e.g. due to presolving | |
Data Fields | |
| std::vector< std::pair< int, int > > | candidatesNBlocks |
| std::vector< ConsPartition * > | conspartitioncollection |
| std::vector< VarPartition * > | varpartitioncollection |
| SCIP_Real | classificationtime |
| SCIP_Real | nblockscandidatescalctime |
| SCIP_Real | postprocessingtime |
| SCIP_Real | translatingtime |
Constructor & Destructor Documentation
◆ DETPROBDATA()
constructor
- Parameters
-
scip SCIP data structure _originalProblem true iff the detprobdata is created for the presolved problem
Definition at line 355 of file class_detprobdata.cpp.
References assert(), candidatesNBlocks, classificationtime, createConssAdjacency(), GCGconsGetNVars(), GCGconsGetVals(), GCGconsGetVars(), GCGgetOrigprob(), getNConss(), i, nblockscandidatescalctime, postprocessingtime, translatingtime, gcg::varIsFixedToZero(), and vars.
Referenced by translatePartialdecs(), and translatePartialdecs().
◆ ~DETPROBDATA()
| gcg::DETPROBDATA::~DETPROBDATA | ( | ) |
destructor
Definition at line 497 of file class_detprobdata.cpp.
References c, conspartitioncollection, GCGconshdlrDecompDeregisterPartialdecs(), getCons(), i, and varpartitioncollection.
Member Function Documentation
◆ addConsPartition()
| void gcg::DETPROBDATA::addConsPartition | ( | ConsPartition * | partition | ) |
adds a constraint partition if it is no duplicate of an existing constraint partition
- Parameters
-
partition conspartition to be added
Definition at line 553 of file class_detprobdata.cpp.
References conspartitioncollection, gcg::IndexPartition::getName(), i, and gcg::IndexPartition::isDuplicateOf().
Referenced by GCG_DECL_CONSCLASSIFY(), GCG_DECL_CONSCLASSIFY(), GCG_DECL_CONSCLASSIFY(), GCG_DECL_CONSCLASSIFY(), GCG_DECL_CONSCLASSIFY(), GCG_DECL_CONSCLASSIFY(), GCG_DECL_CONSCLASSIFY(), and reduceConsclasses().
◆ addCandidatesNBlocksNVotes()
| void gcg::DETPROBDATA::addCandidatesNBlocksNVotes | ( | int | candidate, |
| int | nvotes ) |
adds a candidate for block number and counts how often a candidate is added
- Parameters
-
candidate candidate for block size nvotes number of votes this candidates will get
Definition at line 527 of file class_detprobdata.cpp.
References candidatesNBlocks.
Referenced by GCGdetectStructure().
◆ addPartialdecToAncestor()
| void gcg::DETPROBDATA::addPartialdecToAncestor | ( | PARTIALDECOMP * | partialdec | ) |
adds a partialdec to ancestor partialdecs
- Parameters
-
partialdec partialdec that is added to the ancestor partialdecs
Definition at line 586 of file class_detprobdata.cpp.
Referenced by detect().
◆ addPartialdecToOpen()
| bool gcg::DETPROBDATA::addPartialdecToOpen | ( | PARTIALDECOMP * | partialdec | ) |
adds a partialdec to current partialdecs (data structure for partialdecs that are goin to processed in the propagation rounds)
- Parameters
-
partialdec pointer of partialdec to be added
- Returns
- TRUE if the partialdecs was successfully added (i.e. it is no duplicate of a known partialdec)
Definition at line 594 of file class_detprobdata.cpp.
References assert(), gcg::PARTIALDECOMP::checkConsistency(), and partialdecIsNoDuplicateOfPartialdecs().
Referenced by addPartialdec(), detect(), and GCGdetectStructure().
◆ addPartialdecToFinished()
| bool gcg::DETPROBDATA::addPartialdecToFinished | ( | PARTIALDECOMP * | partialdec | ) |
adds a partialdec to finished partialdecs
- Parameters
-
partialdec pointer of partialdec that is going to be added to the finished partialdecs (data structure to carry finished decompositions)
- Returns
- TRUE if the partialdecs was successfully added (i.e. it is no duplicate of a known partialdec)
Definition at line 611 of file class_detprobdata.cpp.
References assert(), gcg::PARTIALDECOMP::checkConsistency(), gcg::PARTIALDECOMP::isComplete(), and partialdecIsNoDuplicateOfPartialdecs().
Referenced by addPartialdec(), and detect().
◆ addPartialdecToFinishedUnchecked()
| void gcg::DETPROBDATA::addPartialdecToFinishedUnchecked | ( | PARTIALDECOMP * | partialdec | ) |
adds a partialdec to finished partialdecs without checking for duplicates, dev has to check this on his own
- Parameters
-
partialdec pointer of partialdec that is going to be added unchecked to the finished partialdecs (data structure to carry finished decompositions)
- See also
- addPartialdecToFinished()
Definition at line 628 of file class_detprobdata.cpp.
References assert(), and gcg::PARTIALDECOMP::checkConsistency().
Referenced by GCGconshdlrDecompAddMatrixPartialdec().
◆ addVarPartition()
| void gcg::DETPROBDATA::addVarPartition | ( | VarPartition * | partition | ) |
adds a variable partition if it is no duplicate of an existing variable partition
- Parameters
-
partition varpartition to be added
Definition at line 637 of file class_detprobdata.cpp.
References gcg::IndexPartition::getName(), i, gcg::IndexPartition::isDuplicateOf(), and varpartitioncollection.
Referenced by GCG_DECL_VARCLASSIFY(), GCG_DECL_VARCLASSIFY(), GCG_DECL_VARCLASSIFY(), GCG_DECL_VARCLASSIFY(), GCG_DECL_VARCLASSIFY(), and reduceVarclasses().
◆ clearAncestorPartialdecs()
| void gcg::DETPROBDATA::clearAncestorPartialdecs | ( | ) |
clears ancestor partialdec data structure,
- Note
- does not free the partialdecs themselves
Definition at line 671 of file class_detprobdata.cpp.
◆ clearCurrentPartialdecs()
| void gcg::DETPROBDATA::clearCurrentPartialdecs | ( | ) |
clears current partialdec data structure
- Note
- does not free the partialdecs themselves
Definition at line 677 of file class_detprobdata.cpp.
Referenced by resetDetprobdata().
◆ clearFinishedPartialdecs()
| void gcg::DETPROBDATA::clearFinishedPartialdecs | ( | ) |
clears finished partialdec data structure
- Note
- does not free the partialdecs themselves
Definition at line 683 of file class_detprobdata.cpp.
◆ createConssAdjacency()
| void gcg::DETPROBDATA::createConssAdjacency | ( | ) |
create the constraint adjacency datastructure that is used (if created) for some methods to faster access the constarints that have variables in common
Definition at line 689 of file class_detprobdata.cpp.
Referenced by gcg::PARTIALDECOMP::assignSmallestComponentsButOneConssAdjacency(), DETPROBDATA(), GCG_DECL_FINISHPARTIALDEC(), GCG_DECL_POSTPROCESSPARTIALDEC(), and GCG_DECL_PROPAGATEPARTIALDEC().
◆ freeTemporaryData()
| void gcg::DETPROBDATA::freeTemporaryData | ( | ) |
frees temporary data that is only needed during the detection process
Definition at line 720 of file class_detprobdata.cpp.
Referenced by GCGdetectStructure().
◆ getAncestorPartialdec()
| PARTIALDECOMP * gcg::DETPROBDATA::getAncestorPartialdec | ( | int | partialdecindex | ) |
returns a partialdec from ancestor partialdec data structure with given index
- Returns
- partialdec from ancestor partialdec data structure
- Parameters
-
partialdecindex index of partialdec in ancestor partialdec data structure
Definition at line 726 of file class_detprobdata.cpp.
References assert().
◆ getConsPartition()
| ConsPartition * gcg::DETPROBDATA::getConsPartition | ( | int | partitionIndex | ) |
returns pointer to a constraint partition
- Returns
- pointer to a cosntraint partition with the given index
- Parameters
-
partitionIndex index of constraint partition
Definition at line 736 of file class_detprobdata.cpp.
References assert(), and conspartitioncollection.
Referenced by reduceConsclasses().
◆ getCons()
| SCIP_CONS * gcg::DETPROBDATA::getCons | ( | int | consIndex | ) |
returns the SCIP constraint related to a constraint index
- Returns
- the SCIP constraint related to a constraint index
- Parameters
-
consIndex index of the constraint to be considered
Definition at line 746 of file class_detprobdata.cpp.
Referenced by calculateDualvalsOptimalOrigLP(), gcg::BipartiteGraph< T >::createFromPartialMatrix(), gcg::HypercolGraph< T >::createFromPartialMatrix(), gcg::HyperrowcolGraph< T >::createFromPartialMatrix(), gcg::HyperrowGraph< T >::createFromPartialMatrix(), createGraph(), createGraphNewDetection(), gcg::BLOCK_STRUCTURE::createPartialdec(), createPartialdecFromDecomp(), createPartialdecFromMasterconss(), createTestPricingprobConss(), detectIsomorph(), gcg::PARTIALDECOMP::displayInfo(), fhook(), fhookForPartialdecs(), GCG_DECL_CONSCLASSIFY(), GCG_DECL_CONSCLASSIFY(), GCG_DECL_CONSCLASSIFY(), GCG_DECL_CONSCLASSIFY(), GCG_DECL_CONSCLASSIFY(), GCG_DECL_CONSCLASSIFY(), gcg::PARTIALDECOMP::getScore(), gcg::PARTIALDECOMP::hasSetppccardMaster(), setupArrays(), setuparraysnewdetection(), shuffleDualvalsRandom(), writeCls(), writePartialdec(), and ~DETPROBDATA().
◆ getConssForCons()
| std::vector< int > & gcg::DETPROBDATA::getConssForCons | ( | int | consIndex | ) |
return array of constraint indices that have a common variable with the given constraint
- Returns
- return vector of constraint indices that have a common variable with the given constraint
- Note
- constraint adjacency data structure has to initilized
- Parameters
-
consIndex index of the constraint to be considered
Definition at line 754 of file class_detprobdata.cpp.
Referenced by gcg::PARTIALDECOMP::assignSmallestComponentsButOneConssAdjacency(), and gcg::PARTIALDECOMP::completeByConnectedConssAdjacency().
◆ getConssForVar()
| std::vector< int > & gcg::DETPROBDATA::getConssForVar | ( | int | varIndex | ) |
returns the constraint indices of the coefficient matrix for a variable
- Returns
- vector of constraint indices that have a nonzero entry with this variable
- Parameters
-
varIndex index of the variable to be considered
Definition at line 762 of file class_detprobdata.cpp.
References var.
Referenced by gcg::PARTIALDECOMP::completeByConnected(), gcg::PARTIALDECOMP::completeGreedily(), connected(), connected(), connected(), gcg::PARTIALDECOMP::considerImplicits(), gcg::HypercolGraph< T >::createFromPartialMatrix(), createGraphFromPartialMatrix(), gcg::PARTIALDECOMP::findVarsLinkingToMaster(), gcg::PARTIALDECOMP::findVarsLinkingToStairlinking(), GCG_DECL_SCORECALC(), GCG_DECL_SCORECALC(), and GCG_DECL_SCORECALC().
◆ getGcg()
| GCG * gcg::DETPROBDATA::getGcg | ( | ) |
returns the corresponding gcg data structure
- Returns
- the corresponding gcg data structure
Definition at line 940 of file class_detprobdata.cpp.
Referenced by gcg::BLOCK_STRUCTURE::createPartialdec().
◆ getOpenPartialdecs()
| std::vector< PARTIALDECOMP * > & gcg::DETPROBDATA::getOpenPartialdecs | ( | ) |
determines all partialdecs from current (open) partialdec data structure
- Returns
- all partialdecs in current (open) partialdec data structure
Definition at line 770 of file class_detprobdata.cpp.
Referenced by detect(), GCGdetectStructure(), and translatePartialdecs().
◆ getFinishedPartialdec()
| PARTIALDECOMP * gcg::DETPROBDATA::getFinishedPartialdec | ( | int | partialdecindex | ) |
returns a partialdec from finished partialdec data structure
- Returns
- partialdec from finished partialdec data structure
- Parameters
-
partialdecindex index of partialdec in finished partialdec data structure
Definition at line 776 of file class_detprobdata.cpp.
References assert().
Referenced by GCGconshdlrDecompCheckConsistency().
◆ getFinishedPartialdecs()
| std::vector< PARTIALDECOMP * > & gcg::DETPROBDATA::getFinishedPartialdecs | ( | ) |
gets all finished partialdecs
- Returns
- all finished partialdecs
Definition at line 786 of file class_detprobdata.cpp.
Referenced by detect(), GCGconshdlrDecompChooseCandidatesFromSelected(), and translatePartialdecs().
◆ getIndexForCons() [1/2]
| int gcg::DETPROBDATA::getIndexForCons | ( | SCIP_CONS * | cons | ) |
returns the constraint index related to a SCIP constraint
- Parameters
-
cons the SCIP constraint pointer the index is asked for
- Returns
- the constraint index related to a SCIP constraint
Definition at line 792 of file class_detprobdata.cpp.
References assert().
Referenced by JDecDecompositionData::createBlockStructure(), gcg::BLOCK_STRUCTURE::createPartialdec(), createPartialdecFromDecomp(), gcg::HypercolGraph< T >::createPartialdecFromPartition(), gcg::HyperrowcolGraph< T >::createPartialdecFromPartition(), gcg::HyperrowGraph< T >::createPartialdecFromPartition(), gcg::PARTIALDECOMP::fixConsToBlock(), gcg::PARTIALDECOMP::fixConsToBlockByName(), gcg::PARTIALDECOMP::fixConsToMaster(), gcg::PARTIALDECOMP::fixConsToMasterByName(), getIndexForCons(), readBlockconss(), and readMasterconss().
◆ getIndexForCons() [2/2]
| int gcg::DETPROBDATA::getIndexForCons | ( | const char * | consname | ) |
returns the constraint index related to a SCIP constraint
- Parameters
-
consname name of the constraint the index is asked for
- Returns
- the constraint index related to a SCIP constraint
Definition at line 801 of file class_detprobdata.cpp.
References getIndexForCons().
◆ getIndexForVar() [1/2]
| int gcg::DETPROBDATA::getIndexForVar | ( | SCIP_VAR * | var | ) |
returns the variable index related to a SCIP variable
- Parameters
-
var variable pointer the index is asked for
- Returns
- the variable index related to a SCIP variable
Definition at line 829 of file class_detprobdata.cpp.
Referenced by JDecDecompositionData::createBlockStructure(), gcg::BLOCK_STRUCTURE::createPartialdec(), createPartialdecFromDecomp(), gcg::PARTIALDECOMP::fixVarToBlockByName(), gcg::PARTIALDECOMP::fixVarToLinkingByName(), gcg::PARTIALDECOMP::fixVarToMasterByName(), GCGconshdlrDecompCreateVarmapForPartialdec(), getIndexForVar(), and readJDec().
◆ getIndexForVar() [2/2]
| int gcg::DETPROBDATA::getIndexForVar | ( | const char * | varname | ) |
returns the variable index related to a SCIP variable
- Parameters
-
varname name of the variable the index is asked for
- Returns
- the variable index related to a SCIP variable
Definition at line 816 of file class_detprobdata.cpp.
References getIndexForVar(), and var.
◆ getNAncestorPartialdecs()
| int gcg::DETPROBDATA::getNAncestorPartialdecs | ( | ) |
returns size of ancestor partialdec data structure
- Returns
- size of ancestor partialdec data structure
Definition at line 838 of file class_detprobdata.cpp.
◆ getNConsPartitions()
| int gcg::DETPROBDATA::getNConsPartitions | ( | ) |
returns number of different constraint partitions
- Returns
- number of different constraint partitions
Definition at line 844 of file class_detprobdata.cpp.
References conspartitioncollection.
Referenced by reduceConsclasses().
◆ getNConss()
| int gcg::DETPROBDATA::getNConss | ( | ) |
returns the number of variables considered in the detprobdata
- Returns
- number of variables considered in the detprobdata
Definition at line 850 of file class_detprobdata.cpp.
Referenced by AUT_HOOK2::AUT_HOOK2(), connected(), connected(), createGraphFromPartialMatrix(), gcg::BLOCK_STRUCTURE::createPartialdec(), createPartialdecFromDecomp(), createPartialdecFromMasterconss(), createTestPricingprobConss(), detection(), DETPROBDATA(), gcg::PARTIALDECOMP::filloutBorderFromConstoblock(), gcg::PARTIALDECOMP::filloutPartialdecFromConstoblock(), GCG_DECL_CONSCLASSIFY(), GCG_DECL_CONSCLASSIFY(), GCG_DECL_CONSCLASSIFY(), GCG_DECL_CONSCLASSIFY(), GCG_DECL_CONSCLASSIFY(), GCG_DECL_CONSCLASSIFY(), GCG_DECL_CONSCLASSIFY(), GCG_DECL_PROPAGATEPARTIALDEC(), GCGconshdlrDecompAdaptScore(), GCGconshdlrDecompAddMatrixPartialdec(), GCGconshdlrDecompCalcCandidatesNBlocks(), gcg::PARTIALDECOMP::PARTIALDECOMP(), printPartitionInformation(), reduceConsclasses(), reduceVarclasses(), struct_hook::struct_hook(), writeCls(), and writePartialdec().
◆ getNConssForCons()
| int gcg::DETPROBDATA::getNConssForCons | ( | int | consIndex | ) |
returns the number of constraints for a given constraint
- Returns
- the number of constraints for a given constraint
- Parameters
-
consIndex index of the constraint to be considered
Definition at line 856 of file class_detprobdata.cpp.
Referenced by GCG_DECL_PROPAGATEPARTIALDEC().
◆ getNConssForVar()
| int gcg::DETPROBDATA::getNConssForVar | ( | int | varIndex | ) |
returns the number of constraints for a given variable where the var has a nonzero entry in
- Returns
- the number of constraints for a given variable
- Parameters
-
varIndex index of the variable to be considered
Definition at line 864 of file class_detprobdata.cpp.
References var.
Referenced by gcg::PARTIALDECOMP::completeGreedily(), connected(), connected(), connected(), gcg::PARTIALDECOMP::considerImplicits(), gcg::HypercolGraph< T >::createFromPartialMatrix(), createGraphFromPartialMatrix(), gcg::PARTIALDECOMP::findVarsLinkingToMaster(), gcg::PARTIALDECOMP::findVarsLinkingToStairlinking(), GCG_DECL_SCORECALC(), GCG_DECL_SCORECALC(), and GCG_DECL_SCORECALC().
◆ getNOpenPartialdecs()
| int gcg::DETPROBDATA::getNOpenPartialdecs | ( | ) |
returns size of current (open) partialdec data structure
- Returns
- size of current (open) partialdec data structure
Definition at line 872 of file class_detprobdata.cpp.
Referenced by GCGconshdlrDecompGetNOpenPartialdecsOrig(), GCGconshdlrDecompGetNOpenPartialdecsTransformed(), GCGconshdlrDecompTranslateNBestOrigPartialdecs(), and GCGconshdlrDecompTranslateOrigPartialdecs().
◆ getNFinishedPartialdecs()
| int gcg::DETPROBDATA::getNFinishedPartialdecs | ( | ) |
returns size of finished partialdec data structure
- Returns
- size of finished partialdec data structure
Definition at line 878 of file class_detprobdata.cpp.
Referenced by detect(), GCGconshdlrDecompCheckConsistency(), GCGconshdlrDecompGetNFinishedPartialdecsOrig(), GCGconshdlrDecompGetNFinishedPartialdecsTransformed(), GCGconshdlrDecompTranslateNBestOrigPartialdecs(), GCGconshdlrDecompTranslateOrigPartialdecs(), GCGdetectStructure(), and GCGwriteAllDecomps().
◆ getNPartialdecs()
| int gcg::DETPROBDATA::getNPartialdecs | ( | ) |
returns the number of stored partialdecs
- Returns
- number of stored partialdecs
Definition at line 884 of file class_detprobdata.cpp.
Referenced by GCGconshdlrDecompGetNPartialdecsOrig(), GCGconshdlrDecompGetNPartialdecsTransformed(), and GCGconshdlrDecompOrigPartialdecExists().
◆ getNNonzeros()
| int gcg::DETPROBDATA::getNNonzeros | ( | ) |
returns the number of nonzero entries in the coefficient matrix
- Returns
- the number of nonzero entries in the coefficient matrix
Definition at line 890 of file class_detprobdata.cpp.
Referenced by GCGconshdlrDecompAdaptScore().
◆ getNVarPartitions()
| int gcg::DETPROBDATA::getNVarPartitions | ( | ) |
returns number of different variable partitions
- Returns
- number of different variable partitions
Definition at line 896 of file class_detprobdata.cpp.
References varpartitioncollection.
Referenced by reduceVarclasses().
◆ getNVars()
| int gcg::DETPROBDATA::getNVars | ( | ) |
return the number of variables considered in the detprobdata
- Returns
- the number of variables considered in the detprobdata
Definition at line 902 of file class_detprobdata.cpp.
Referenced by connected(), connected(), gcg::BLOCK_STRUCTURE::createPartialdec(), createPartialdecFromDecomp(), gcg::PARTIALDECOMP::filloutBorderFromConstoblock(), gcg::PARTIALDECOMP::filloutPartialdecFromConstoblock(), GCG_DECL_VARCLASSIFY(), GCG_DECL_VARCLASSIFY(), GCG_DECL_VARCLASSIFY(), GCG_DECL_VARCLASSIFY(), GCG_DECL_VARCLASSIFY(), GCGconshdlrDecompAddMatrixPartialdec(), GCGconshdlrDecompCalcCandidatesNBlocks(), gcg::PARTIALDECOMP::PARTIALDECOMP(), printPartitionInformation(), reduceConsclasses(), reduceVarclasses(), writeCls(), and writePartialdec().
◆ getNVarsForCons()
| int gcg::DETPROBDATA::getNVarsForCons | ( | int | consIndex | ) |
returns the number of variables for a given constraint
- Returns
- the number of variables for a given constraint
- Parameters
-
consIndex index of the constraint to be considered
Definition at line 908 of file class_detprobdata.cpp.
Referenced by gcg::PARTIALDECOMP::checkConsistency(), gcg::PARTIALDECOMP::completeGreedily(), connected(), connected(), connected(), gcg::PARTIALDECOMP::considerImplicits(), gcg::BipartiteGraph< T >::createFromPartialMatrix(), gcg::HypercolGraph< T >::createFromPartialMatrix(), gcg::HyperrowcolGraph< T >::createFromPartialMatrix(), gcg::HyperrowGraph< T >::createFromPartialMatrix(), gcg::RowGraphWeighted< T >::createFromPartialMatrix(), createGraph(), createGraphFromPartialMatrix(), createGraphNewDetection(), createPartialdecFromMasterconss(), gcg::HypercolGraph< T >::createPartialdecFromPartition(), gcg::HyperrowcolGraph< T >::createPartialdecFromPartition(), gcg::HyperrowGraph< T >::createPartialdecFromPartition(), gcg::RowGraph< T >::createPartialdecFromPartition(), createRowindexList(), gcg::PARTIALDECOMP::filloutPartialdecFromConstoblock(), GCG_DECL_CONSCLASSIFY(), GCG_DECL_POSTPROCESSPARTIALDEC(), GCG_DECL_PROPAGATEPARTIALDEC(), GCG_DECL_SCORECALC(), GCG_DECL_SCORECALC(), GCGconshdlrDecompCalcCandidatesNBlocks(), graphCompletible(), graphCompletible(), setupArrays(), setuparraysnewdetection(), and writeGpNonzeros().
◆ getOrigVarsFixedZero()
| std::vector< SCIP_VAR * > gcg::DETPROBDATA::getOrigVarsFixedZero | ( | ) |
returns pointers to all orig vars that are fixed to zero
- Returns
- vector of vars
Definition at line 916 of file class_detprobdata.cpp.
Referenced by createDecompFromPartialdec().
◆ getRelevantConss()
| std::vector< SCIP_CONS * > gcg::DETPROBDATA::getRelevantConss | ( | ) |
returns pointers to all constraints that are not marked as deleted or obsolete
- Returns
- vector of conss
Definition at line 922 of file class_detprobdata.cpp.
Referenced by createDecompFromPartialdec().
◆ getRelevantVars()
| std::vector< SCIP_VAR * > gcg::DETPROBDATA::getRelevantVars | ( | ) |
returns pointers to all problem vars that are not fixed to 0
- Returns
- vector of vars
Definition at line 928 of file class_detprobdata.cpp.
Referenced by createDecompFromPartialdec().
◆ getScip()
| SCIP * gcg::DETPROBDATA::getScip | ( | ) |
returns the corresponding scip data structure
- Returns
- the corresponding scip data structure
Definition at line 934 of file class_detprobdata.cpp.
Referenced by AUT_HOOK2::AUT_HOOK2(), buildProblem(), createGraphNewDetection(), gcg::BLOCK_STRUCTURE::createPartialdec(), and fhook().
◆ getSortedCandidatesNBlocks()
| void gcg::DETPROBDATA::getSortedCandidatesNBlocks | ( | std::vector< int > & | candidates | ) |
gets the candidates for number of blocks added by the user followed by the found ones sorted in descending order by how often a candidate was proposed
- Parameters
-
candidates will contain the candidates for number of blocks sorted in descending order by how often a candidate was added
Definition at line 946 of file class_detprobdata.cpp.
References candidatesNBlocks, GCGconshdlrDecompGetBlockNumberCandidate(), GCGconshdlrDecompGetNBlockNumberCandidates(), i, and SCIPdebugMessage().
Referenced by detection(), detection(), and detection().
◆ getVal()
| SCIP_Real gcg::DETPROBDATA::getVal | ( | int | row, |
| int | col ) |
returns a coefficient from the coefficient matrix
- Returns
- a coefficient from the coefficient matrix
- Parameters
-
row index of the constraint to be considered col index of the variable to be considered
Definition at line 976 of file class_detprobdata.cpp.
Referenced by gcg::PARTIALDECOMP::assignCurrentStairlinking(), createGraphNewDetection(), GCG_DECL_SCORECALC(), GCG_DECL_SCORECALC(), setuparraysnewdetection(), and writeTikzNonzeros().
◆ getValsForCons()
| std::vector< SCIP_Real > & gcg::DETPROBDATA::getValsForCons | ( | int | consIndex | ) |
returns the nonzero coefficients of the coefficient matrix for a constraint
- Returns
- vector of coefficients of in matrix for constraints
- Note
- same order as in
- See also
- getVarsForCons()
- Parameters
-
consIndex index of the constraint to be considered
Definition at line 991 of file class_detprobdata.cpp.
Referenced by createGraph(), and setupArrays().
◆ getVarPartition()
| VarPartition * gcg::DETPROBDATA::getVarPartition | ( | int | partitionIndex | ) |
returns pointer to a variable partition with given index
- Returns
- pointer to a variable partition with given index
- Parameters
-
partitionIndex index of variable partition
Definition at line 999 of file class_detprobdata.cpp.
References assert(), and varpartitioncollection.
Referenced by reduceVarclasses().
◆ getVarPartitions()
| std::vector< VarPartition * > gcg::DETPROBDATA::getVarPartitions | ( | ) |
returns vector to stored variable partitions
- Returns
- returns vector to stored variable partitions
Definition at line 1009 of file class_detprobdata.cpp.
References varpartitioncollection.
◆ getVar()
| SCIP_VAR * gcg::DETPROBDATA::getVar | ( | int | varIndex | ) |
returns SCIP variable related to a variable index
- Returns
- SCIP variable pointer related to a variable index
- Parameters
-
varIndex index of the variable to be considered
Definition at line 1015 of file class_detprobdata.cpp.
Referenced by gcg::BipartiteGraph< T >::createFromPartialMatrix(), gcg::HypercolGraph< T >::createFromPartialMatrix(), gcg::HyperrowcolGraph< T >::createFromPartialMatrix(), gcg::HyperrowGraph< T >::createFromPartialMatrix(), createGraph(), createGraphNewDetection(), gcg::BLOCK_STRUCTURE::createPartialdec(), createPartialdecFromDecomp(), createPartialdecFromMasterconss(), gcg::PARTIALDECOMP::displayInfo(), fhook(), GCG_DECL_SCORECALC(), GCG_DECL_VARCLASSIFY(), GCG_DECL_VARCLASSIFY(), GCG_DECL_VARCLASSIFY(), GCG_DECL_VARCLASSIFY(), GCG_DECL_VARCLASSIFY(), GCGconshdlrDecompCreateVarmapForPartialdec(), GCGconshdlrDecompPartialdecGetOrigVarForBlock(), readJDec(), setupArrays(), setuparraysnewdetection(), shuffleDualvalsRandom(), writeCls(), and writePartialdec().
◆ getVarsForCons()
| std::vector< int > & gcg::DETPROBDATA::getVarsForCons | ( | int | consIndex | ) |
returns the variable indices of the coefficient matrix for a constraint
- Returns
- the variable indices of the coefficient matrix for a constraint
- Parameters
-
consIndex index of the constraint to be considered
Definition at line 1023 of file class_detprobdata.cpp.
Referenced by gcg::PARTIALDECOMP::assignSmallestComponentsButOneConssAdjacency(), gcg::PARTIALDECOMP::checkConsistency(), gcg::PARTIALDECOMP::completeByConnected(), gcg::PARTIALDECOMP::completeByConnectedConssAdjacency(), gcg::PARTIALDECOMP::completeGreedily(), connected(), connected(), connected(), gcg::PARTIALDECOMP::considerImplicits(), gcg::BipartiteGraph< T >::createFromPartialMatrix(), gcg::HypercolGraph< T >::createFromPartialMatrix(), gcg::HyperrowcolGraph< T >::createFromPartialMatrix(), gcg::HyperrowGraph< T >::createFromPartialMatrix(), gcg::RowGraphWeighted< T >::createFromPartialMatrix(), createGraph(), createGraphFromPartialMatrix(), createGraphNewDetection(), createPartialdecFromMasterconss(), gcg::HypercolGraph< T >::createPartialdecFromPartition(), gcg::HyperrowcolGraph< T >::createPartialdecFromPartition(), gcg::HyperrowGraph< T >::createPartialdecFromPartition(), gcg::RowGraph< T >::createPartialdecFromPartition(), createRowindexList(), gcg::PARTIALDECOMP::filloutPartialdecFromConstoblock(), GCG_DECL_POSTPROCESSPARTIALDEC(), GCG_DECL_SCORECALC(), GCG_DECL_SCORECALC(), graphCompletible(), graphCompletible(), setuparraysnewdetection(), and writeGpNonzeros().
◆ isConsCardinalityCons()
| bool gcg::DETPROBDATA::isConsCardinalityCons | ( | int | consindexd | ) |
returns whether a constraint is a cardinality constraint, i.e. of the \(\sum_{i} x_i = b\)
- Parameters
-
consindexd index of constraint that is be checked
- Returns
- returns whether a constraint is a cardinality constraint
Definition at line 1031 of file class_detprobdata.cpp.
References assert(), and GCGgetConsIsCardinalityCons().
Referenced by gcg::PARTIALDECOMP::hasSetppccardMaster().
◆ isConssAdjInitialized()
| SCIP_Bool gcg::DETPROBDATA::isConssAdjInitialized | ( | ) |
determines whether or not the constraint-constraint adjacency data structure is initilized
- Returns
- true iff the constraint-constraint adjacency data structure is initilized
Definition at line 1045 of file class_detprobdata.cpp.
Referenced by gcg::PARTIALDECOMP::assignSmallestComponentsButOneConssAdjacency(), GCG_DECL_FINISHPARTIALDEC(), GCG_DECL_POSTPROCESSPARTIALDEC(), and GCG_DECL_PROPAGATEPARTIALDEC().
◆ isConsSetpp()
| bool gcg::DETPROBDATA::isConsSetpp | ( | int | consindexd | ) |
is cons with specified indec partitioning, or packing covering constraint?
- Parameters
-
consindexd index of the given cons
- Returns
- is cons with specified indec partitioning, or packing covering constraint
Definition at line 1095 of file class_detprobdata.cpp.
References assert(), and GCGgetConsIsSetppc().
Referenced by gcg::PARTIALDECOMP::hasSetppMaster().
◆ isConsSetppc()
| bool gcg::DETPROBDATA::isConsSetppc | ( | int | consindexd | ) |
is cons with specified index partitioning packing, or covering constraint?
- Parameters
-
consindexd index of cons to be checked
- Returns
- whether a constraint is partitioning packing, or covering constraint?
Definition at line 1051 of file class_detprobdata.cpp.
References assert(), and GCGgetConsIsSetppc().
Referenced by gcg::PARTIALDECOMP::hasSetppccardMaster(), and gcg::PARTIALDECOMP::hasSetppcMaster().
◆ isFiniteNonnegativeIntegral()
is constraint ranged row, i.e., -inf < lhs < rhs < inf?
- Returns
- whether val is ranged row
- Parameters
-
x value
Definition at line 1139 of file class_detprobdata.cpp.
Referenced by GCG_DECL_CONSCLASSIFY().
◆ isPartialdecDuplicateofFinished()
| SCIP_Bool gcg::DETPROBDATA::isPartialdecDuplicateofFinished | ( | PARTIALDECOMP * | partialdec | ) |
check if partialdec is a duplicate of an existing finished partialdec
- Parameters
-
partialdec partialdec to be checked
- Returns
- TRUE iff partialdec is a duplicate of an existing finished partialdec
Definition at line 1147 of file class_detprobdata.cpp.
References partialdecIsNoDuplicateOfPartialdecs().
◆ isAssignedToOrigProb()
| SCIP_Bool gcg::DETPROBDATA::isAssignedToOrigProb | ( | ) |
returns true if the matrix structure corresponds to the presolved problem
- Returns
- TRUE if the matrix structure corresponds to the presolved problem
Definition at line 1155 of file class_detprobdata.cpp.
Referenced by gcg::BLOCK_STRUCTURE::createPartialdec(), gcg::HypercolGraph< T >::createPartialdecFromPartition(), gcg::HyperrowcolGraph< T >::createPartialdecFromPartition(), gcg::HyperrowGraph< T >::createPartialdecFromPartition(), GCGconshdlrDecompCalcCandidatesNBlocks(), reorderPermutations(), and writeCls().
◆ isRangedRow()
is constraint ranged row, i.e., -inf < lhs < rhs < inf?
- Returns
- whether constraint is ranged row
- Parameters
-
lhs left hand side rhs right hand side
Definition at line 1161 of file class_detprobdata.cpp.
References assert().
Referenced by GCG_DECL_CONSCLASSIFY().
◆ partialdecIsNoDuplicateOfPartialdecs()
| SCIP_Bool gcg::DETPROBDATA::partialdecIsNoDuplicateOfPartialdecs | ( | PARTIALDECOMP * | comppartialdec, |
| std::vector< PARTIALDECOMP * > const & | partialdecs, | ||
| bool | sort ) |
check if partialdec is a duplicate of any given partialdecs
- Parameters
-
comppartialdec partialdec to be checked partialdecs partialdecs to compare with sort sort the vars and conss data structures in the partialdecs by their indices
- Returns
- TRUE iff partialdec is no duplicate of any given partialdecs
Definition at line 1173 of file class_detprobdata.cpp.
References assert(), i, and gcg::PARTIALDECOMP::isEqual().
Referenced by addPartialdecToFinished(), addPartialdecToOpen(), and isPartialdecDuplicateofFinished().
◆ printBlockcandidateInformation()
| void gcg::DETPROBDATA::printBlockcandidateInformation | ( | FILE * | file | ) |
output method for json file writer to write block candidate information
- Parameters
-
scip SCIP data structure file output file or NULL for standard output
- Parameters
-
file output file or NULL for standard output
Definition at line 1194 of file class_detprobdata.cpp.
References candidatesNBlocks, and i.
Referenced by GCGdetectStructure(), and GCGprintBlockcandidateInformation().
◆ printPartitionInformation()
| void gcg::DETPROBDATA::printPartitionInformation | ( | FILE * | file | ) |
output method for json file writer to write partition candidate information
- Parameters
-
file output file or NULL for standard output
- Parameters
-
file output file or NULL for standard output
Definition at line 1212 of file class_detprobdata.cpp.
References conspartitioncollection, getNConss(), getNVars(), var, and varpartitioncollection.
Referenced by GCGprintPartitionInformation().
◆ sortFinishedForScore()
| void gcg::DETPROBDATA::sortFinishedForScore | ( | ) |
sorts partialdecs in finished partialdecs data structure according to the current scoretype
Definition at line 1270 of file class_detprobdata.cpp.
References GCGgetCurrentScore().
Referenced by GCGdetectStructure().
◆ translatePartialdecs() [1/2]
| std::vector< PARTIALDECOMP * > gcg::DETPROBDATA::translatePartialdecs | ( | DETPROBDATA * | otherdata, |
| std::vector< PARTIALDECOMP * > | otherpartialdecs, | ||
| SCIP_Bool | translateSymmetry ) |
translates partialdecs if the index structure of the problem has changed, e.g. due to presolving
- Returns
- translated partialdecs
- Parameters
-
otherdata old detprobdata otherpartialdecs partialdecs to be translated translateSymmetry translate symmetry information?
Definition at line 1280 of file class_detprobdata.cpp.
References DETPROBDATA().
Referenced by GCGconshdlrDecompAddPreexisitingPartialDec(), GCGconshdlrDecompTranslateNBestOrigPartialdecs(), and GCGconshdlrDecompTranslateOrigPartialdecs().
◆ translatePartialdecs() [2/2]
| std::vector< PARTIALDECOMP * > gcg::DETPROBDATA::translatePartialdecs | ( | DETPROBDATA * | otherdata, |
| SCIP_Bool | translateSymmetry ) |
translates partialdecs if the index structure of the problem has changed, e.g. due to presolving
- Returns
- translated partialdecs
- Parameters
-
otherdata old detprobdata translateSymmetry translate symmetry information?
Definition at line 1303 of file class_detprobdata.cpp.
References DETPROBDATA(), getFinishedPartialdecs(), and getOpenPartialdecs().
Field Documentation
◆ candidatesNBlocks
| std::vector<std::pair<int, int> > gcg::DETPROBDATA::candidatesNBlocks |
candidate for the number of blocks, second int indicates how often a candidate was added
Definition at line 146 of file class_detprobdata.h.
Referenced by addCandidatesNBlocksNVotes(), DETPROBDATA(), GCGconshdlrDecompAddCandidatesNBlocks(), GCGdetectStructure(), getSortedCandidatesNBlocks(), and printBlockcandidateInformation().
◆ conspartitioncollection
| std::vector<ConsPartition*> gcg::DETPROBDATA::conspartitioncollection |
collection of different constraint class distributions
Definition at line 148 of file class_detprobdata.h.
Referenced by addConsPartition(), GCGconshdlrDecompCalcCandidatesNBlocks(), getConsPartition(), getNConsPartitions(), printPartitionInformation(), writeCls(), and ~DETPROBDATA().
◆ varpartitioncollection
| std::vector<VarPartition*> gcg::DETPROBDATA::varpartitioncollection |
collection of different variable class distributions
Definition at line 149 of file class_detprobdata.h.
Referenced by addVarPartition(), GCGconshdlrDecompCalcCandidatesNBlocks(), getNVarPartitions(), getVarPartition(), getVarPartitions(), printPartitionInformation(), writeCls(), and ~DETPROBDATA().
◆ classificationtime
| SCIP_Real gcg::DETPROBDATA::classificationtime |
time that was consumed by the classification of the constraint and variables classifiers
Definition at line 151 of file class_detprobdata.h.
Referenced by DETPROBDATA(), and GCGconshdlrDecompClassify().
◆ nblockscandidatescalctime
| SCIP_Real gcg::DETPROBDATA::nblockscandidatescalctime |
time that was used to calulate the candidates of te block number
Definition at line 152 of file class_detprobdata.h.
Referenced by DETPROBDATA(), and GCGconshdlrDecompCalcCandidatesNBlocks().
◆ postprocessingtime
| SCIP_Real gcg::DETPROBDATA::postprocessingtime |
time that was spent in postproceesing decomposigtions
Definition at line 153 of file class_detprobdata.h.
Referenced by detect(), and DETPROBDATA().
◆ translatingtime
| SCIP_Real gcg::DETPROBDATA::translatingtime |
time that was spent by transforming partialdecs between presolved and orig problem
Definition at line 154 of file class_detprobdata.h.
Referenced by DETPROBDATA().