Loading...
Searching...
No Matches
class_detprobdata.cpp
Go to the documentation of this file.
36/*---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0----+----1----+----2*/
124 return ( SCIPisEQ(scip, SCIPvarGetLbGlobal(var), SCIPvarGetUbGlobal(var) ) && SCIPisEQ(scip, SCIPvarGetUbGlobal(var), 0. ) );
161 /* identify new and deleted rows and cols; and identify bijection between maintained variables */
250 SCIPverbMessage(this->scip, SCIP_VERBLEVEL_FULL, NULL, " transform partialdec %d \n", otherpartialdec->getID());
259 /* set all (which have representative in the orig partialdec) constraints according to their representatives in the orig partialdec */
285 newpartialdec->setBlockStructure(b, blockstructures[b]->translateStructure(rowothertothis, colothertothis, translatesymmetry));
322 if( translatesymmetry && otherpartialdec->getNBlocks() == newpartialdec->getNBlocks() && otherpartialdec->aggInfoCalculated() )
336 int eqclassblock = (int) (std::lower_bound(eqclassblocks.begin(), eqclassblocks.end(), b) - eqclassblocks.begin());
338 int othervi = otherpartialdec->getVarsForBlock(b)[vi] == colthistoother[v] ? vi : otherpartialdec->getVarProbindexForBlock(colthistoother[v], b);
340 if( newpartialdec->getVarsForBlock(rb)[blockVarIndex] == colothertothis[otherpartialdec->getVarsForBlock(rb)[blockVarIndex]] )
343 return newpartialdec->getVarProbindexForBlock(colothertothis[otherpartialdec->getVarsForBlock(rb)[blockVarIndex]], rb);
359 gcg(gcgstruct), scip(GCGgetOrigprob(gcg)), openpartialdecs(0), ancestorpartialdecs( 0 ), origfixedtozerovars(0),
360 nvars(SCIPgetNVars(GCGgetOrigprob(gcg))), nconss(SCIPgetNConss(GCGgetOrigprob(gcg))), nnonzeros(0), original(_originalProblem), candidatesNBlocks(0),
361 classificationtime(0.), nblockscandidatescalctime(0.), postprocessingtime(0.), translatingtime(0.)
546 SCIPverbMessage(scip, SCIP_VERBLEVEL_FULL, NULL, "added block number candidate: %d \n", candidate);
579 SCIPverbMessage(scip, SCIP_VERBLEVEL_HIGH, NULL, " Conspartition \"%s\" is not considered since it offers the same structure as \"%s\" conspartition\n", partition->getName(), equiv->getName() );
616 if( partialdec->isComplete() && partialdecIsNoDuplicateOfPartialdecs(partialdec, finishedpartialdecs, false) )
663 SCIPverbMessage(scip, SCIP_VERBLEVEL_HIGH, NULL, " Varpartition \"%s\" is not considered since it offers the same structure as \"%s\"\n", partition->getName(), equiv->getName() );
1201 SCIPmessageFPrintInfo(SCIPgetMessagehdlr(scip), file, "The following %d candidates for the number of blocks are known: (candidate : number of votes) \n", (int) candidatesNBlocks.size() );
1205 SCIPmessageFPrintInfo(SCIPgetMessagehdlr(scip), file, "%d : %d \n", candidatesNBlocks[i].first, candidatesNBlocks[i].second );
1207 SCIPmessageFPrintInfo(SCIPgetMessagehdlr(scip), file, "%d : %s \n", candidatesNBlocks[i].first, "user given" );
1218 SCIPmessageFPrintInfo(SCIPgetMessagehdlr(scip), file, "%d \n", (int) conspartitioncollection.size() );
1222 std::vector<std::vector<int> > conssofclasses = std::vector<std::vector<int> >(partition->getNClasses()) ;
1236 SCIPmessageFPrintInfo(SCIPgetMessagehdlr(scip), file, "%s: %s\n", partition->getClassName(cl), partition->getClassDescription(cl) );
1244 SCIPmessageFPrintInfo(SCIPgetMessagehdlr(scip), file, "%d \n", (int) varpartitioncollection.size() );
1248 std::vector<std::vector<int> > varsofclasses = std::vector<std::vector<int> >(partition->getNClasses()) ;
1262 SCIPmessageFPrintInfo(SCIPgetMessagehdlr(scip), file, "%s: %s\n", partition->getClassName(cl), partition->getClassDescription(cl) );
1276 std::sort(finishedpartialdecs.begin(), finishedpartialdecs.end(), [&](PARTIALDECOMP* a, PARTIALDECOMP* b) {return (a->getScore(score) > b->getScore(score)); });
1293 calcTranslationMapping(otherdata, rowothertothis, rowthistoother, colothertothis, colthistoother, missingrowinthis);
1296 " calculated translation; number of missing constraints: %ld; number of other partialdecs: %ld \n", missingrowinthis.size(),
1315 calcTranslationMapping(otherdata, rowothertothis, rowthistoother, colothertothis, colthistoother, missingrowinthis);
1318 " calculated translation; number of missing constraints: %ld; number of other partialdecs: %ld \n", missingrowinthis.size(),
1321 getTranslatedPartialdecs(otherdata->getOpenPartialdecs(), rowothertothis, rowthistoother, colothertothis, colthistoother, newpartialdecs, translateSymmetry);
1322 getTranslatedPartialdecs(otherdata->getFinishedPartialdecs(), rowothertothis, rowthistoother, colothertothis, colthistoother, newpartialdecs, translateSymmetry);
SCIP_VAR * a
SCIP_VAR ** b
SCIP_VAR ** x
class storing partialdecs and the problem matrix
Definition class_conspartition.h:60
Definition class_detprobdata.h:110
GCG_EXPORT void addPartialdecToAncestor(PARTIALDECOMP *partialdec)
adds a partialdec to ancestor partialdecs
Definition class_detprobdata.cpp:586
GCG_EXPORT bool addPartialdecToOpen(PARTIALDECOMP *partialdec)
adds a partialdec to current partialdecs (data structure for partialdecs that are goin to processed i...
Definition class_detprobdata.cpp:594
GCG_EXPORT ConsPartition * getConsPartition(int partitionIndex)
returns pointer to a constraint partition
Definition class_detprobdata.cpp:736
GCG_EXPORT std::vector< int > & getConssForVar(int varIndex)
returns the constraint indices of the coefficient matrix for a variable
Definition class_detprobdata.cpp:762
GCG_EXPORT int getIndexForCons(SCIP_CONS *cons)
returns the constraint index related to a SCIP constraint
Definition class_detprobdata.cpp:792
GCG_EXPORT std::vector< SCIP_Real > & getValsForCons(int consIndex)
returns the nonzero coefficients of the coefficient matrix for a constraint
Definition class_detprobdata.cpp:991
GCG_EXPORT int getNConssForCons(int consIndex)
returns the number of constraints for a given constraint
Definition class_detprobdata.cpp:856
GCG_EXPORT int getNConss()
returns the number of variables considered in the detprobdata
Definition class_detprobdata.cpp:850
GCG_EXPORT SCIP * getScip()
returns the corresponding scip data structure
Definition class_detprobdata.cpp:934
GCG_EXPORT std::vector< SCIP_VAR * > getOrigVarsFixedZero()
returns pointers to all orig vars that are fixed to zero
Definition class_detprobdata.cpp:916
GCG_EXPORT int getNVarsForCons(int consIndex)
returns the number of variables for a given constraint
Definition class_detprobdata.cpp:908
GCG_EXPORT SCIP_Bool isPartialdecDuplicateofFinished(PARTIALDECOMP *partialdec)
check if partialdec is a duplicate of an existing finished partialdec
Definition class_detprobdata.cpp:1147
GCG_EXPORT PARTIALDECOMP * getFinishedPartialdec(int partialdecindex)
returns a partialdec from finished partialdec data structure
Definition class_detprobdata.cpp:776
GCG_EXPORT int getNNonzeros()
returns the number of nonzero entries in the coefficient matrix
Definition class_detprobdata.cpp:890
GCG_EXPORT bool isConsCardinalityCons(int consindexd)
returns whether a constraint is a cardinality constraint, i.e. of the
Definition class_detprobdata.cpp:1031
GCG_EXPORT SCIP_Bool isRangedRow(SCIP_Real lhs, SCIP_Real rhs)
is constraint ranged row, i.e., -inf < lhs < rhs < inf?
Definition class_detprobdata.cpp:1161
GCG_EXPORT int getNVars()
return the number of variables considered in the detprobdata
Definition class_detprobdata.cpp:902
SCIP_Real nblockscandidatescalctime
Definition class_detprobdata.h:152
GCG_EXPORT void freeTemporaryData()
frees temporary data that is only needed during the detection process
Definition class_detprobdata.cpp:720
GCG_EXPORT bool isConsSetppc(int consindexd)
is cons with specified index partitioning packing, or covering constraint?
Definition class_detprobdata.cpp:1051
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 desce...
Definition class_detprobdata.cpp:946
GCG_EXPORT int getNConssForVar(int varIndex)
returns the number of constraints for a given variable where the var has a nonzero entry in
Definition class_detprobdata.cpp:864
GCG_EXPORT std::vector< int > & getConssForCons(int consIndex)
return array of constraint indices that have a common variable with the given constraint
Definition class_detprobdata.cpp:754
GCG_EXPORT void addVarPartition(VarPartition *partition)
adds a variable partition if it is no duplicate of an existing variable partition
Definition class_detprobdata.cpp:637
GCG_EXPORT void addPartialdecToFinishedUnchecked(PARTIALDECOMP *partialdec)
adds a partialdec to finished partialdecs without checking for duplicates, dev has to check this on h...
Definition class_detprobdata.cpp:628
GCG_EXPORT PARTIALDECOMP * getAncestorPartialdec(int partialdecindex)
returns a partialdec from ancestor partialdec data structure with given index
Definition class_detprobdata.cpp:726
GCG_EXPORT int getNPartialdecs()
Definition class_detprobdata.cpp:884
GCG_EXPORT SCIP_VAR * getVar(int varIndex)
returns SCIP variable related to a variable index
Definition class_detprobdata.cpp:1015
GCG_EXPORT SCIP_Bool isFiniteNonnegativeIntegral(SCIP_Real x)
is constraint ranged row, i.e., -inf < lhs < rhs < inf?
Definition class_detprobdata.cpp:1139
GCG_EXPORT void printBlockcandidateInformation(FILE *file)
output method for json file writer to write block candidate information
Definition class_detprobdata.cpp:1194
GCG_EXPORT GCG * getGcg()
returns the corresponding gcg data structure
Definition class_detprobdata.cpp:940
GCG_EXPORT DETPROBDATA(GCG *gcgstruct, SCIP_Bool _originalProblem)
constructor
Definition class_detprobdata.cpp:355
GCG_EXPORT std::vector< SCIP_CONS * > getRelevantConss()
returns pointers to all constraints that are not marked as deleted or obsolete
Definition class_detprobdata.cpp:922
GCG_EXPORT VarPartition * getVarPartition(int partitionIndex)
returns pointer to a variable partition with given index
Definition class_detprobdata.cpp:999
GCG_EXPORT std::vector< PARTIALDECOMP * > & getFinishedPartialdecs()
gets all finished partialdecs
Definition class_detprobdata.cpp:786
std::vector< std::pair< int, int > > candidatesNBlocks
Definition class_detprobdata.h:146
GCG_EXPORT void createConssAdjacency()
create the constraint adjacency datastructure that is used (if created) for some methods to faster ac...
Definition class_detprobdata.cpp:689
GCG_EXPORT bool addPartialdecToFinished(PARTIALDECOMP *partialdec)
adds a partialdec to finished partialdecs
Definition class_detprobdata.cpp:611
GCG_EXPORT void clearAncestorPartialdecs()
clears ancestor partialdec data structure,
Definition class_detprobdata.cpp:671
GCG_EXPORT SCIP_Bool isConssAdjInitialized()
determines whether or not the constraint-constraint adjacency data structure is initilized
Definition class_detprobdata.cpp:1045
GCG_EXPORT int getNFinishedPartialdecs()
Definition class_detprobdata.cpp:878
GCG_EXPORT SCIP_Real getVal(int row, int col)
returns a coefficient from the coefficient matrix
Definition class_detprobdata.cpp:976
GCG_EXPORT int getNOpenPartialdecs()
returns size of current (open) partialdec data structure
Definition class_detprobdata.cpp:872
GCG_EXPORT int getIndexForVar(SCIP_VAR *var)
returns the variable index related to a SCIP variable
Definition class_detprobdata.cpp:829
GCG_EXPORT void sortFinishedForScore()
sorts partialdecs in finished partialdecs data structure according to the current scoretype
Definition class_detprobdata.cpp:1270
GCG_EXPORT void printPartitionInformation(FILE *file)
output method for json file writer to write partition candidate information
Definition class_detprobdata.cpp:1212
GCG_EXPORT int getNAncestorPartialdecs()
returns size of ancestor partialdec data structure
Definition class_detprobdata.cpp:838
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
Definition class_detprobdata.cpp:1280
GCG_EXPORT bool isConsSetpp(int consindexd)
is cons with specified indec partitioning, or packing covering constraint?
Definition class_detprobdata.cpp:1095
GCG_EXPORT std::vector< int > & getVarsForCons(int consIndex)
returns the variable indices of the coefficient matrix for a constraint
Definition class_detprobdata.cpp:1023
GCG_EXPORT void addCandidatesNBlocksNVotes(int candidate, int nvotes)
adds a candidate for block number and counts how often a candidate is added
Definition class_detprobdata.cpp:527
GCG_EXPORT int getNVarPartitions()
returns number of different variable partitions
Definition class_detprobdata.cpp:896
GCG_EXPORT int getNConsPartitions()
returns number of different constraint partitions
Definition class_detprobdata.cpp:844
std::vector< ConsPartition * > conspartitioncollection
Definition class_detprobdata.h:148
std::vector< VarPartition * > varpartitioncollection
Definition class_detprobdata.h:149
GCG_EXPORT void clearFinishedPartialdecs()
clears finished partialdec data structure
Definition class_detprobdata.cpp:683
GCG_EXPORT void addConsPartition(ConsPartition *partition)
adds a constraint partition if it is no duplicate of an existing constraint partition
Definition class_detprobdata.cpp:553
GCG_EXPORT std::vector< PARTIALDECOMP * > & getOpenPartialdecs()
determines all partialdecs from current (open) partialdec data structure
Definition class_detprobdata.cpp:770
GCG_EXPORT std::vector< SCIP_VAR * > getRelevantVars()
returns pointers to all problem vars that are not fixed to 0
Definition class_detprobdata.cpp:928
GCG_EXPORT SCIP_CONS * getCons(int consIndex)
returns the SCIP constraint related to a constraint index
Definition class_detprobdata.cpp:746
GCG_EXPORT SCIP_Bool partialdecIsNoDuplicateOfPartialdecs(PARTIALDECOMP *comppartialdec, std::vector< PARTIALDECOMP * > const &partialdecs, bool sort)
check if partialdec is a duplicate of any given partialdecs
Definition class_detprobdata.cpp:1173
GCG_EXPORT std::vector< VarPartition * > getVarPartitions()
returns vector to stored variable partitions
Definition class_detprobdata.cpp:1009
GCG_EXPORT SCIP_Bool isAssignedToOrigProb()
returns true if the matrix structure corresponds to the presolved problem
Definition class_detprobdata.cpp:1155
GCG_EXPORT void clearCurrentPartialdecs()
clears current partialdec data structure
Definition class_detprobdata.cpp:677
GCG_EXPORT const char * getName()
Definition class_indexpartition.cpp:234
GCG_EXPORT bool isDuplicateOf(IndexPartition *otherPartition)
Definition class_indexpartition.cpp:121
GCG_EXPORT void setAncestorList(std::vector< int > &newlist)
Definition class_partialdecomp.cpp:3883
GCG_EXPORT SCIP_Real getScore(GCG_SCORE *score)
returns the score of the partialdec
Definition class_partialdecomp.cpp:4347
GCG_EXPORT bool checkConsistency()
Checks whether the assignments in the partialdec are consistent.
Definition class_partialdecomp.cpp:1722
GCG_EXPORT void addAncestorID(int ancestor)
Definition class_partialdecomp.cpp:3891
GCG_EXPORT void setNBlocks(int nblocks)
sets number of blocks, only increasing number allowed
Definition class_partialdecomp.cpp:5350
GCG_EXPORT void fixConsToBlock(int cons, int block)
adds a constraint to a block
Definition class_partialdecomp.cpp:5220
GCG_EXPORT int getVarProbindexForBlock(int varid, int block)
Gets the index of a variable in the vector returned by PARTIALDECOMP::getVarsForBlock.
Definition class_partialdecomp.cpp:4780
GCG_EXPORT bool setSymmetryInformation(std::function< int(int)> blockmapping, std::function< int(int, int)> varmapping)
sets symmetry information
Definition class_partialdecomp.cpp:5929
GCG_EXPORT PARTIALDECOMP(GCG *gcgstruct, bool originalProblem)
Standard constructor, creates empty partialdec with unique id.
Definition class_partialdecomp.cpp:244
GCG_EXPORT void addPctVarsToBorder(SCIP_Real pct)
adds percentage of variables assigned to border
Definition class_partialdecomp.cpp:549
GCG_EXPORT void addDetectorChainInfo(const char *decinfo)
add information about the detector chain
Definition class_partialdecomp.cpp:482
void setBlockStructure(int block, BLOCK_STRUCTURE *blockstructure)
sets structure information of a specific block
Definition class_partialdecomp.cpp:5378
GCG_EXPORT bool isComplete()
Gets whether this partialdec is complete, i.e. it has no more open constraints and variables.
Definition class_partialdecomp.cpp:4796
GCG_EXPORT void setFinishedByFinisher(bool finished)
sets whether this partialdec was finished by a finishing detector
Definition class_partialdecomp.cpp:5334
GCG_EXPORT void addPctVarsFromFree(SCIP_Real pct)
adds percentage of closed variables
Definition class_partialdecomp.cpp:533
GCG_EXPORT void addPctConssToBorder(SCIP_Real pct)
adds percentage of constraints assigned to border
Definition class_partialdecomp.cpp:525
GCG_EXPORT void addPctConssToBlock(SCIP_Real pct)
adds percentage of constraints assigned to blocks
Definition class_partialdecomp.cpp:517
GCG_EXPORT SCIP_RETCODE isEqual(PARTIALDECOMP *otherpartialdec, SCIP_Bool *isequal, bool sortpartialdecs)
method to check whether this partialdec is equal to a given other partialdec (
Definition class_partialdecomp.cpp:4847
GCG_EXPORT void setStemsFromOrig(bool fromorig)
sets whether this partialdec stems from an orig problem partialdec
Definition class_partialdecomp.cpp:5403
GCG_EXPORT void setUsergiven(USERGIVEN usergiven)
sets whether this partialdec is user given
Definition class_partialdecomp.cpp:5411
GCG_EXPORT void setDetectorFinishedOrig()
sets detector that finished the partialdec in the original problem
Definition class_partialdecomp.cpp:5327
GCG_EXPORT void setDetectorchain(std::vector< GCG_DETECTOR * > &givenDetectorChain)
sets the detectorchain with the given vector of detector pointers
Definition class_partialdecomp.cpp:5300
GCG_EXPORT void addNNewBlocks(int nnewblocks)
adds how many new blocks were introduced
Definition class_partialdecomp.cpp:501
GCG_EXPORT void addPctConssFromFree(SCIP_Real pct)
adds percentage of closed constraints
Definition class_partialdecomp.cpp:509
GCG_EXPORT void setFinishedByFinisherOrig(bool finished)
sets whether this partialdec was finished by a finishing detector in the original problem
Definition class_partialdecomp.cpp:5342
GCG_EXPORT int getID()
returns the unique id of the partialdec
Definition class_partialdecomp.cpp:4255
GCG_EXPORT void addClockTime(SCIP_Real clocktime)
adds detection time of one detector
Definition class_partialdecomp.cpp:453
GCG_EXPORT void copyPartitionStatistics(const PARTIALDECOMP *otherpartialdec)
copies the given partialdec's partition statistics
Definition class_partialdecomp.cpp:3009
GCG_EXPORT std::vector< int >::const_iterator fixConsToMaster(std::vector< int >::const_iterator itr)
fixes a constraint to the master constraints
Definition class_partialdecomp.cpp:5264
GCG_EXPORT std::vector< int > & getVarsForBlock(int block)
Gets array containing vars of a block.
Definition class_partialdecomp.cpp:4771
GCG_EXPORT void addPctVarsToBlock(SCIP_Real pct)
adds percentage of variables assigned to blocks
Definition class_partialdecomp.cpp:541
Definition class_varpartition.h:61
void GCGconshdlrDecompDeregisterPartialdecs(GCG *gcg, SCIP_Bool original)
deregisters partialdecs in the conshdlr
Definition cons_decomp.cpp:3755
int GCGconshdlrDecompGetNBlockNumberCandidates(GCG *gcg)
returns the number of block candidates given by the user
Definition cons_decomp.cpp:4018
GCG_SCORE * GCGgetCurrentScore(GCG *gcg)
Gets the currently enabled score.
Definition cons_decomp.cpp:2796
DETPROBDATA * GCGconshdlrDecompGetDetprobdataOrig(GCG *gcg)
help method to access detprobdata for unpresolved problem
Definition cons_decomp.cpp:3962
int GCGconshdlrDecompGetBlockNumberCandidate(GCG *gcg, int index)
returns block number user candidate with given index
Definition cons_decomp.cpp:3843
constraint handler for structure detection
C++ interface of cons_decomp.
private methods for working with decomp structures
#define SCIP_MAXSTRLEN
#define SCIP_Bool
#define MAX(x, y)
#define SCIP_CALL_ABORT(x)
#define FALSE
GCG interface methods.
enum SCIP_SetppcType SCIP_SETPPCTYPE
SCIP_SETPPCTYPE SCIPgetTypeSetppc(SCIP *scip, SCIP_CONS *cons)
SCIP_SETPPCTYPE_PARTITIONING
SCIP_SETPPCTYPE_COVERING
SCIP_SETPPCTYPE_PACKING
int SCIPgetNOrigConss(SCIP *scip)
SCIP_VAR ** SCIPgetOrigVars(SCIP *scip)
SCIP_CONS ** SCIPgetConss(SCIP *scip)
int SCIPgetNVars(SCIP *scip)
SCIP_CONS * SCIPfindOrigCons(SCIP *scip, const char *name)
int SCIPgetNConss(SCIP *scip)
SCIP_VAR ** SCIPgetVars(SCIP *scip)
int SCIPgetNOrigVars(SCIP *scip)
SCIP_CONS ** SCIPgetOrigConss(SCIP *scip)
SCIP_VAR * SCIPfindVar(SCIP *scip, const char *name)
SCIP_CONS * SCIPfindCons(SCIP *scip, const char *name)
SCIP_Bool GCGgetConsIsCardinalityCons(SCIP *scip, SCIP_CONS *cons)
Definition scip_misc.c:846
SCIP_Bool GCGgetConsIsSetppc(SCIP *scip, SCIP_CONS *cons, SCIP_SETPPCTYPE *setppctype)
Definition scip_misc.c:760
SCIP_RETCODE GCGconsGetVars(SCIP *scip, SCIP_CONS *cons, SCIP_VAR **vars, int nvars)
Definition scip_misc.c:487
SCIP_RETCODE GCGconsGetVals(SCIP *scip, SCIP_CONS *cons, SCIP_Real *vals, int nvals)
Definition scip_misc.c:618
void SCIPverbMessage(SCIP *scip, SCIP_VERBLEVEL msgverblevel, FILE *file, const char *formatstr,...)
SCIP_MESSAGEHDLR * SCIPgetMessagehdlr(SCIP *scip)
SCIP_RETCODE SCIPgetBoolParam(SCIP *scip, const char *name, SCIP_Bool *value)
const char * SCIPconshdlrGetName(SCIP_CONSHDLR *conshdlr)
SCIP_CONSHDLR * SCIPconsGetHdlr(SCIP_CONS *cons)
SCIP_Bool SCIPconsIsDeleted(SCIP_CONS *cons)
SCIP_Bool SCIPconsIsTransformed(SCIP_CONS *cons)
const char * SCIPconsGetName(SCIP_CONS *cons)
SCIP_RETCODE SCIPgetTransformedCons(SCIP *scip, SCIP_CONS *cons, SCIP_CONS **transcons)
SCIP_Bool SCIPconsIsObsolete(SCIP_CONS *cons)
SCIP_RETCODE SCIPreleaseCons(SCIP *scip, SCIP_CONS **cons)
SCIP_RETCODE SCIPcaptureCons(SCIP *scip, SCIP_CONS *cons)
#define SCIPallocBufferArray(scip, ptr, num)
#define SCIPfreeBufferArrayNull(scip, ptr)
SCIP_Bool SCIPisIntegral(SCIP *scip, SCIP_Real val)
SCIP_Bool SCIPisInfinity(SCIP *scip, SCIP_Real val)
SCIP_Bool SCIPisNegative(SCIP *scip, SCIP_Real val)
SCIP_Bool SCIPisEQ(SCIP *scip, SCIP_Real val1, SCIP_Real val2)
SCIP_VAR * SCIPvarGetNegatedVar(SCIP_VAR *var)
SCIP_VAR * SCIPvarGetProbvar(SCIP_VAR *var)
SCIP_Real SCIPvarGetUbGlobal(SCIP_VAR *var)
SCIP_Bool SCIPvarIsNegated(SCIP_VAR *var)
SCIP_Real SCIPvarGetLbGlobal(SCIP_VAR *var)
SCIP_RETCODE SCIPgetTransformedVar(SCIP *scip, SCIP_VAR *var, SCIP_VAR **transvar)
static assert(heur !=NULL)
SCIPdebugMessage("feasibility pump finished [%d iterations done].\n", nloops)
#define NULL
void SCIPmessageFPrintInfo(SCIP_MESSAGEHDLR *messagehdlr, FILE *file, const char *formatstr,...)
miscellaneous methods for visualizations
Definition class_conspartition.cpp:44
SCIP_Bool varIsFixedToZero(SCIP *scip, SCIP_VAR *var)
Definition class_detprobdata.cpp:119
public methods for working with decomposition structures
GP file reader writing decompositions to gnuplot files.
various SCIP helper methods
structure information for decomposition information in GCG projects
data structures for detectors
combine two hash function of objects of a pair to get a vaulue for the pair
Definition class_detprobdata.h:92
Definition class_detprobdata.cpp:106
bool operator()(const std::pair< int, int > &left, const std::pair< int, int > &right)
Definition class_detprobdata.cpp:107
struct SCIP_Cons SCIP_CONS
SCIP_VERBLEVEL_HIGH
SCIP_VERBLEVEL_FULL
struct Scip SCIP
struct SCIP_Var SCIP_VAR