Scippy

SCIP

Solving Constraint Integer Programs

Detailed Description

hash map to store key-value pairs (called origin and image)

Functions

SCIP_RETCODE SCIPhashmapCreate (SCIP_HASHMAP **hashmap, BMS_BLKMEM *blkmem, int mapsize)
 
void SCIPhashmapFree (SCIP_HASHMAP **hashmap)
 
SCIP_RETCODE SCIPhashmapInsert (SCIP_HASHMAP *hashmap, void *origin, void *image)
 
SCIP_RETCODE SCIPhashmapInsertReal (SCIP_HASHMAP *hashmap, void *origin, SCIP_Real image)
 
void * SCIPhashmapGetImage (SCIP_HASHMAP *hashmap, void *origin)
 
SCIP_Real SCIPhashmapGetImageReal (SCIP_HASHMAP *hashmap, void *origin)
 
SCIP_RETCODE SCIPhashmapSetImage (SCIP_HASHMAP *hashmap, void *origin, void *image)
 
SCIP_RETCODE SCIPhashmapSetImageReal (SCIP_HASHMAP *hashmap, void *origin, SCIP_Real image)
 
SCIP_Bool SCIPhashmapExists (SCIP_HASHMAP *hashmap, void *origin)
 
SCIP_RETCODE SCIPhashmapRemove (SCIP_HASHMAP *hashmap, void *origin)
 
void SCIPhashmapPrintStatistics (SCIP_HASHMAP *hashmap, SCIP_MESSAGEHDLR *messagehdlr)
 
SCIP_Bool SCIPhashmapIsEmpty (SCIP_HASHMAP *hashmap)
 
int SCIPhashmapGetNElements (SCIP_HASHMAP *hashmap)
 
int SCIPhashmapGetNEntries (SCIP_HASHMAP *hashmap)
 
SCIP_HASHMAPENTRYSCIPhashmapGetEntry (SCIP_HASHMAP *hashmap, int entryidx)
 
void * SCIPhashmapEntryGetOrigin (SCIP_HASHMAPENTRY *entry)
 
void * SCIPhashmapEntryGetImage (SCIP_HASHMAPENTRY *entry)
 
SCIP_Real SCIPhashmapEntryGetImageReal (SCIP_HASHMAPENTRY *entry)
 
void SCIPhashmapEntrySetImage (SCIP_HASHMAPENTRY *entry, void *image)
 
void SCIPhashmapEntrySetImageReal (SCIP_HASHMAPENTRY *entry, SCIP_Real image)
 
SCIP_RETCODE SCIPhashmapRemoveAll (SCIP_HASHMAP *hashmap)
 

Function Documentation

◆ SCIPhashmapCreate()

SCIP_RETCODE SCIPhashmapCreate ( SCIP_HASHMAP **  hashmap,
BMS_BLKMEM blkmem,
int  mapsize 
)

creates a hash map mapping pointers to pointers

Parameters
hashmappointer to store the created hash map
blkmemblock memory used to store hash map entries
mapsizesize of the hash map

Definition at line 2793 of file misc.c.

References BMSallocBlockMemory, BMSallocBlockMemoryArray, BMSallocClearBlockMemoryArray, log(), MAX, SCIP_ALLOC, and SCIP_OKAY.

Referenced by addVarCardinality(), appendVarCardinality(), applyHeur(), applyNlobbt(), buildMod2Matrix(), checkCurvature(), checkSystemGF2(), checkVarnames(), computeED(), computeInteriorPoint(), copyProb(), copyVars(), createAndSplitProblem(), createCoveringProblem(), createNLP(), createStartingData(), createSubSCIP(), createTcliqueGraph(), doCopy(), doSolveSubMIP(), initAlternativeLP(), initConcsolver(), initConflictgraph(), initData(), inithashmapandtable(), initImplGraphSOS1(), initPropdata(), nlrowSetupQuadVarsHash(), preprocessCliques(), presolRoundVarsSOS1(), presolveDisaggregate(), readPolynomial(), relabelOrderConsistent(), removeDoubleAndSingletonsAndPerformDualpresolve(), removeRedundantConssAndNonzeros(), SCIP_DECL_CONSINITPRE(), SCIP_DECL_CONSINITSOL(), SCIP_DECL_CONSPRESOL(), SCIP_DECL_CONSTRANS(), SCIP_DECL_HEUREXEC(), SCIP_DECL_HEURINIT(), SCIP_DECL_PARAMCHGD(), SCIP_DECL_PROPINITSOL(), SCIP_DECL_RELAXEXEC(), SCIP_DECL_SEPAEXECLP(), SCIPapplyProximity(), SCIPcliquetableComputeCliqueComponents(), SCIPcopyConflicts(), SCIPcopyConss(), SCIPcopyOrigConss(), SCIPcreateConsCardinality(), SCIPcreateConsIndicator(), SCIPcreateConsLinking(), SCIPcreateConsQuadratic(), SCIPcreateWorstCaseProfile(), SCIPexprgraphCreate(), SCIPexprgraphSimplify(), SCIPexprtreeRemoveFixedVars(), SCIPgetConsCopy(), SCIPgetVarCopy(), SCIPnlpCreate(), SCIPrealHashCode(), SCIPreoptSaveActiveConss(), SCIPreoptSaveGlobalBounds(), SCIPvisualInit(), SCIPwriteCliqueGraph(), SCIPwriteLp(), searchEcAggrWithCliques(), setupAndSolve(), setupAndSolveFiniteSolSubscip(), setupAndSolveSubscip(), setupAndSolveSubscipCrossover(), setupAndSolveSubscipLocalbranching(), setupAndSolveSubscipMutation(), setupAndSolveSubscipOneopt(), setupAndSolveSubscipRapidlearning(), setUpEvents(), setupProbingSCIP(), setupSubscipLpface(), solveSubproblem(), wrapperDins(), wrapperRins(), writeBounds(), and writeOpbConstraints().

◆ SCIPhashmapFree()

void SCIPhashmapFree ( SCIP_HASHMAP **  hashmap)

frees the hash map

Parameters
hashmappointer to the hash map

Definition at line 2826 of file misc.c.

References BMSfreeBlockMemory, BMSfreeBlockMemoryArray, MAX, SCIP_Real, and SCIPdebugMessage.

Referenced by applyHeur(), buildMod2Matrix(), checkCurvature(), checkSystemGF2(), computeED(), computeInteriorPoint(), conshdlrdataFree(), copyProb(), copyVars(), createAndSplitProblem(), createConstraints(), createCoveringProblem(), createSubSCIP(), deleteSubproblem(), doCopy(), doSolveSubMIP(), freeAllEventData(), freeConflictgraph(), freeGenVBounds(), freeNLP(), freeStartingData(), freeTcliqueGraph(), initConcsolver(), initImplGraphSOS1(), nlrowRemoveFixedQuadVars(), preprocessCliques(), presolRoundVarsSOS1(), presolveDisaggregate(), propdataClear(), readPolynomial(), relabelOrderConsistent(), removeDoubleAndSingletonsAndPerformDualpresolve(), removeRedundantConssAndNonzeros(), SCIP_DECL_CONSEXIT(), SCIP_DECL_CONSEXITSOL(), SCIP_DECL_CONSINITPRE(), SCIP_DECL_CONSPRESOL(), SCIP_DECL_HEUREXEC(), SCIP_DECL_HEUREXIT(), SCIP_DECL_PARAMCHGD(), SCIP_DECL_PROPEXIT(), SCIP_DECL_READERWRITE(), SCIP_DECL_RELAXEXEC(), SCIPcliquetableFree(), SCIPcopyConflicts(), SCIPcopyConss(), SCIPcopyOrigConss(), SCIPcreateConsQuadratic(), SCIPcreateWorstCaseProfile(), SCIPexprgraphFree(), SCIPexprgraphSimplify(), SCIPexprtreeRemoveFixedVars(), SCIPgetConsCopy(), SCIPgetVarCopy(), SCIPnlpFree(), SCIPnlrowFree(), SCIPrealHashCode(), SCIPreoptFree(), SCIPvisualExit(), SCIPwriteCliqueGraph(), SCIPwriteLp(), searchEcAggrWithCliques(), sepadataClear(), setupAndSolve(), setupAndSolveFiniteSolSubscip(), setupAndSolveSubscip(), setupAndSolveSubscipCrossover(), setupAndSolveSubscipLocalbranching(), setupAndSolveSubscipMutation(), setupAndSolveSubscipOneopt(), setupAndSolveSubscipRapidlearning(), setupSubscipLpface(), solveSubproblem(), wrapperDins(), wrapperRins(), writeBounds(), and writeOpbConstraints().

◆ SCIPhashmapInsert()

SCIP_RETCODE SCIPhashmapInsert ( SCIP_HASHMAP hashmap,
void *  origin,
void *  image 
)

inserts new origin->image pair in hash map (must not be called for already existing origins!)

inserts new origin->image pair in hash map

Note
multiple insertion of same element is checked and results in an error
Parameters
hashmaphash map
originorigin to set image for
imagenew image for origin

Definition at line 2874 of file misc.c.

References FALSE, SCIP_HashMap::hashes, hashmapCheckLoad(), hashmapInsert(), hashvalue(), SCIP_HashMap::mask, SCIP_HASHMAPIMAGE::ptr, SCIP_CALL, SCIP_OKAY, and SCIP_HashMap::slots.

Referenced by addAltLPColumn(), addCliqueDataEntry(), addConsToOccurList(), addKnapsackConstraints(), addLinearConstraints(), addLogicOrConstraints(), addNewGenVBound(), addSetppcConstraints(), addVarboundConstraints(), addVarCardinality(), appendVarCardinality(), applyHeur(), buildMod2Matrix(), checkCurvature(), checkSystemGF2(), checkVarnames(), collectCliqueData(), computeED(), createAndAddAndCons(), createCoveringProblem(), createKKTDualCons(), createSubSCIP(), createTcliqueGraph(), extractGates(), getEventData(), getNodeIdx(), getVariableIndex(), initConflictgraph(), initData(), initImplGraphSOS1(), mod2MatrixAddCol(), nlpAddVars(), nlrowSetupQuadVarsHash(), presolRoundVarsSOS1(), presolveDisaggregateMarkComponent(), relabelOrderConsistent(), removeDoubleAndSingletonsAndPerformDualpresolve(), SCIP_DECL_CONSINIT(), SCIP_DECL_CONSINITPRE(), SCIP_DECL_CONSINITSOL(), SCIP_DECL_CONSTRANS(), SCIP_DECL_EVENTEXEC(), SCIP_DECL_PARAMCHGD(), SCIP_DECL_PROPINITSOL(), SCIP_DECL_READERWRITE(), SCIPapplyHeurDualval(), SCIPcliquetableComputeCliqueComponents(), SCIPcreateConsCardinality(), SCIPcreateConsIndicator(), SCIPcreateConsLinking(), SCIPcreateConsPseudobooleanWithConss(), SCIPcreateConsQuadratic(), SCIPcreateNlpiProb(), SCIPcreateWorstCaseProfile(), SCIPexprgraphAddVars(), SCIPexprgraphReplaceVarByLinearSum(), SCIPexprgraphSimplify(), SCIPexprtreeRemoveFixedVars(), SCIPgetConsCopy(), SCIPnlrowAddQuadVar(), SCIPrealHashCode(), SCIPreoptApplyGlbConss(), SCIPreoptSaveActiveConss(), SCIPvarCopy(), SCIPwriteCliqueGraph(), searchEcAggrWithCliques(), setupAndSolveSubscipRapidlearning(), and writeOpbConstraints().

◆ SCIPhashmapInsertReal()

SCIP_RETCODE SCIPhashmapInsertReal ( SCIP_HASHMAP hashmap,
void *  origin,
SCIP_Real  image 
)

inserts new origin->image pair in hash map (must not be called for already existing origins!)

inserts new origin->image pair in hash map

Note
multiple insertion of same element is checked and results in an error
Parameters
hashmaphash map
originorigin to set image for
imagenew image for origin

Definition at line 2904 of file misc.c.

References FALSE, SCIP_HashMap::hashes, hashmapCheckLoad(), hashmapInsert(), hashvalue(), SCIP_HashMap::mask, SCIP_HASHMAPIMAGE::real, SCIP_CALL, SCIP_OKAY, and SCIP_HashMap::slots.

Referenced by SCIPrealHashCode(), and SCIPreoptSaveGlobalBounds().

◆ SCIPhashmapGetImage()

void* SCIPhashmapGetImage ( SCIP_HASHMAP hashmap,
void *  origin 
)

retrieves image of given origin from the hash map, or NULL if no image exists

Parameters
hashmaphash map
originorigin to retrieve image for

Definition at line 2931 of file misc.c.

References SCIP_HashMap::hashes, hashmapLookup(), SCIP_HashMapEntry::image, SCIP_HashMap::mask, SCIP_HASHMAPIMAGE::ptr, and SCIP_HashMap::slots.

Referenced by addAltLPColumn(), addCliqueDataEntry(), addCoefTerm(), addConsToOccurList(), addLocalBranchingConstraint(), addRegularScholtes(), addVarCardinality(), appendVarCardinality(), applyDomainChanges(), applyNlobbt(), checkCons(), checkCurvature(), checkIISlocal(), checkSystemGF2(), cliquetableGetNodeIndexBinvar(), collectCliqueData(), collectMinactImplicVar(), componentSetupWorkingSol(), computeBranchingVariables(), computeED(), computeImpliedEst(), computeInteriorPoint(), computeRanks(), consdataCreate(), consdataFree(), consdataPrint(), copyConsPseudoboolean(), copyVars(), correctLocksAndCaptures(), createKKTDualCons(), createNewSol(), createNewSols(), createRows(), createSolFromSubScipSol(), createSubSCIP(), doSolveSubMIP(), extractGates(), filterCands(), findShortestOccurlist(), fixDiscreteVars(), freeMemory(), getEventData(), getGenVBound(), getLinVarsAndAndRess(), getNodeIdx(), getSOS1Implications(), getVariableIndex(), getVarIndex(), heurExec(), initConcsolver(), initConflictgraph(), initImplGraphSOS1(), maximalslack(), mod2MatrixAddOrigRow(), mod2MatrixAddTransRow(), nlpSetupNlpiIndices(), nlpUpdateObjCoef(), nlpUpdateVarBounds(), nlrowExprtreeChanged(), nlrowLinearCoefChanged(), nlrowQuadElemChanged(), objimplicsCreate(), performImplicationGraphAnalysis(), preprocessCliques(), presolRoundVarsSOS1(), presolveAddKKTQuadLinearTerms(), presolveDisaggregate(), presolveDisaggregateMarkComponent(), printColumnSection(), relabelOrderConsistent(), removeConsFromOccurList(), removeDoubleAndSingletonsAndPerformDualpresolve(), removeRedundantNonZeros(), resetContributors(), SCIP_DECL_CONSGETNVARS(), SCIP_DECL_CONSGETVARS(), SCIP_DECL_CONSINITPRE(), SCIP_DECL_EVENTEXEC(), SCIP_DECL_HEUREXEC(), SCIP_DECL_HEUREXIT(), SCIP_DECL_PARAMCHGD(), SCIP_DECL_READERWRITE(), SCIP_DECL_RELAXEXEC(), SCIPaddNlpiProbRows(), SCIPaddToNlpiProblemQuadratic(), SCIPaddToNlpiProblemSOC(), SCIPapplyHeurDualval(), SCIPapplyProximity(), SCIPcreateConsCardinality(), SCIPcreateConsQuadratic(), SCIPcreateNlpiProb(), SCIPexprgraphFindVarNode(), SCIPexprgraphReplaceVarByLinearSum(), SCIPexprgraphSetVarBounds(), SCIPexprgraphSimplify(), SCIPexprtreeRemoveFixedVars(), SCIPgetConsCopy(), SCIPgetConsLinking(), SCIPgetVarCopy(), SCIPnlpChgVarBoundsDive(), SCIPnlpChgVarObjDive(), SCIPnlpChgVarsBoundsDive(), SCIPnlpDelVar(), SCIPnlpGetVarsNonlinearity(), SCIPnlrowSearchQuadVar(), SCIPrealHashCode(), SCIPupdateNlpiProb(), SCIPvisualCutoffNode(), SCIPvisualFoundSolution(), SCIPvisualNewChild(), SCIPvisualSolvedNode(), SCIPvisualUpdateChild(), separateCuts(), setQuadraticObj(), setupAndSolve(), setupAndSolveFiniteSolSubscip(), setupAndSolveSubscip(), setupAndSolveSubscipCrossover(), setupAndSolveSubscipLocalbranching(), setupAndSolveSubscipMutation(), setupAndSolveSubscipOneopt(), setupAndSolveSubscipRapidlearning(), setupSubscipLpface(), solveSubproblem(), sortGenVBounds(), tightenVarsBoundsSOS1(), transformToOrig(), updateArcData(), updateFirstRow(), updateFirstRowGlobal(), varGetLbIndex(), varGetUbIndex(), vbcSetColor(), wrapperDins(), wrapperRins(), writeExpandedSolutions(), and writeOpbConstraints().

◆ SCIPhashmapGetImageReal()

SCIP_Real SCIPhashmapGetImageReal ( SCIP_HASHMAP hashmap,
void *  origin 
)

retrieves image of given origin from the hash map, or NULL if no image exists

Parameters
hashmaphash map
originorigin to retrieve image for

Definition at line 2950 of file misc.c.

References SCIP_HashMap::hashes, hashmapLookup(), SCIP_HashMapEntry::image, SCIP_HashMap::mask, SCIP_HASHMAPIMAGE::real, SCIP_INVALID, and SCIP_HashMap::slots.

Referenced by SCIPrealHashCode(), and SCIPreoptInstallBounds().

◆ SCIPhashmapSetImage()

SCIP_RETCODE SCIPhashmapSetImage ( SCIP_HASHMAP hashmap,
void *  origin,
void *  image 
)

sets image for given origin in the hash map, either by modifying existing origin->image pair or by appending a new origin->image pair

Parameters
hashmaphash map
originorigin to set image for
imagenew image for origin

Definition at line 2971 of file misc.c.

References hashmapCheckLoad(), hashmapInsert(), hashvalue(), SCIP_HashMap::mask, SCIP_HASHMAPIMAGE::ptr, SCIP_CALL, SCIP_OKAY, SCIP_HashMap::slots, and TRUE.

Referenced by addAltLPColumn(), exprgraphRemoveVar(), nlpMoveVar(), nlrowRemoveFixedQuadVars(), SCIPrealHashCode(), SCIPvisualNewChild(), and SCIPwriteLp().

◆ SCIPhashmapSetImageReal()

SCIP_RETCODE SCIPhashmapSetImageReal ( SCIP_HASHMAP hashmap,
void *  origin,
SCIP_Real  image 
)

sets image for given origin in the hash map, either by modifying existing origin->image pair or by appending a new origin->image pair

Parameters
hashmaphash map
originorigin to set image for
imagenew image for origin

Definition at line 2999 of file misc.c.

References hashmapCheckLoad(), hashmapInsert(), hashvalue(), SCIP_HashMap::mask, SCIP_HASHMAPIMAGE::real, SCIP_CALL, SCIP_OKAY, SCIP_HashMap::slots, and TRUE.

Referenced by SCIPrealHashCode().

◆ SCIPhashmapExists()

SCIP_Bool SCIPhashmapExists ( SCIP_HASHMAP hashmap,
void *  origin 
)

checks whether an image to the given origin exists in the hash map

Parameters
hashmaphash map
originorigin to search for

Definition at line 3025 of file misc.c.

References SCIP_HashMap::hashes, hashmapLookup(), SCIP_HashMap::mask, and SCIP_HashMap::slots.

Referenced by addAltLPColumn(), addCliqueDataEntry(), addConsToOccurList(), addRegularScholtes(), addVarCardinality(), appendVarCardinality(), applyNlobbt(), checkCurvature(), checkIISlocal(), checkOrigPbCons(), checkSystemGF2(), checkVarnames(), chooseCoefVar(), chooseDoubleVar(), chooseFracVar(), chooseGuidedVar(), choosePscostVar(), chooseVeclenVar(), cliquetableGetNodeIndexBinvar(), collectCliqueData(), collectMinactImplicVar(), computeBranchingVariables(), computeED(), computeImpliedLct(), computeInteriorPoint(), consdataFree(), correctConshdlrdata(), correctLocksAndCaptures(), createAndAddAndCons(), createCoveringProblem(), createKKTDualCons(), filterCands(), findShortestOccurlist(), getEventData(), getLinVarsAndAndRess(), getNodeIdx(), getVariableIndex(), getVarIndex(), initConflictgraph(), initImplGraphSOS1(), liftCliqueVariables(), nlpAddNlRows(), nlpAddVars(), nlpRemoveFixedVar(), nlpSetupNlpiIndices(), nlpUpdateObjCoef(), nlpUpdateVarBounds(), nlrowExprtreeChanged(), nlrowLinearCoefChanged(), nlrowQuadElemChanged(), objimplicsCreate(), preprocessCliques(), presolRoundVarsSOS1(), presolveAddKKTQuadLinearTerms(), presolveDisaggregate(), presolveDisaggregateMarkComponent(), printColumnSection(), relabelOrderConsistent(), removeConsFromOccurList(), removeDoubleAndSingletonsAndPerformDualpresolve(), removeRedundantNonZeros(), resetContributors(), SCIP_DECL_CONSDELETE(), SCIP_DECL_CONSINIT(), SCIP_DECL_CONSINITSOL(), SCIP_DECL_CONSTRANS(), SCIP_DECL_PARAMCHGD(), SCIP_DECL_READERWRITE(), SCIPaddNlpiProbRows(), SCIPaddToNlpiProblemQuadratic(), SCIPcreateConsCardinality(), SCIPcreateConsIndicator(), SCIPcreateConsLinking(), SCIPcreateConsPseudobooleanWithConss(), SCIPcreateConsQuadratic(), SCIPcreateNlpiProb(), SCIPexistsConsLinking(), SCIPexprgraphAddVars(), SCIPexprgraphFindVarNode(), SCIPexprgraphReplaceVarByLinearSum(), SCIPexprgraphSetVarBounds(), SCIPexprgraphSimplify(), SCIPexprtreeRemoveFixedVars(), SCIPnlpAddVar(), SCIPnlpChgVarBoundsDive(), SCIPnlpChgVarObjDive(), SCIPnlpChgVarsBoundsDive(), SCIPnlpDelVar(), SCIPnlpGetVarsNonlinearity(), SCIPnlrowSearchQuadVar(), SCIPrealHashCode(), SCIPreoptApplyGlbConss(), SCIPreoptConsCanBeDeleted(), SCIPreoptInstallBounds(), SCIPreoptSaveActiveConss(), SCIPreoptSaveGlobalBounds(), SCIPupdateNlpiProb(), SCIPvarCopy(), SCIPwriteCliqueGraph(), SCIPwriteLp(), searchEcAggrWithCliques(), separateCuts(), separateIISRounding(), setQuadraticObj(), sortGenVBounds(), strengthenConss(), transformToOrig(), updateConsanddataUses(), updateFirstRow(), updateFirstRowGlobal(), varGetLbIndex(), varGetUbIndex(), and writeExpandedSolutions().

◆ SCIPhashmapRemove()

◆ SCIPhashmapPrintStatistics()

void SCIPhashmapPrintStatistics ( SCIP_HASHMAP hashmap,
SCIP_MESSAGEHDLR messagehdlr 
)

prints statistics about hash map usage

Parameters
hashmaphash map
messagehdlrmessage handler

Definition at line 3087 of file misc.c.

References ELEM_DISTANCE, SCIP_HashMap::hashes, SCIP_HashMap::mask, MAX, SCIP_HashMap::nelements, SCIP_Real, and SCIPmessagePrintInfo().

Referenced by SCIP_DECL_CONSEXITSOL(), and SCIPrealHashCode().

◆ SCIPhashmapIsEmpty()

SCIP_Bool SCIPhashmapIsEmpty ( SCIP_HASHMAP hashmap)

indicates whether a hash map has no entries

Parameters
hashmaphash map

Definition at line 3125 of file misc.c.

References SCIP_HashMap::nelements.

Referenced by SCIPrealHashCode().

◆ SCIPhashmapGetNElements()

int SCIPhashmapGetNElements ( SCIP_HASHMAP hashmap)

gives the number of elements in a hash map

Parameters
hashmaphash map

Definition at line 3135 of file misc.c.

References SCIP_HashMap::nelements.

Referenced by SCIPrealHashCode().

◆ SCIPhashmapGetNEntries()

int SCIPhashmapGetNEntries ( SCIP_HASHMAP hashmap)

gives the number of entries in the internal arrays of a hash map

Parameters
hashmaphash map

Definition at line 3143 of file misc.c.

References SCIP_HashMap::mask.

Referenced by cleanActiveConss(), createSubSCIP(), presolveDisaggregateMergeComponents(), releaseHashmapEntries(), releaseHashmapNLPRows(), SCIPrealHashCode(), and SCIPreoptResetActiveConss().

◆ SCIPhashmapGetEntry()

SCIP_HASHMAPENTRY* SCIPhashmapGetEntry ( SCIP_HASHMAP hashmap,
int  entryidx 
)

gives the hashmap entry at the given index or NULL if entry has no element

gives the hashmap entry at the given index or NULL if entry is empty

Parameters
hashmaphash map
entryidxindex of hash map entry

Definition at line 3151 of file misc.c.

References SCIP_HashMap::hashes, and SCIP_HashMap::slots.

Referenced by cleanActiveConss(), createSubSCIP(), presolveDisaggregateMergeComponents(), releaseHashmapEntries(), releaseHashmapNLPRows(), SCIPrealHashCode(), and SCIPreoptResetActiveConss().

◆ SCIPhashmapEntryGetOrigin()

void* SCIPhashmapEntryGetOrigin ( SCIP_HASHMAPENTRY entry)

gives the origin of the hashmap entry

Parameters
entryhash map entry

Definition at line 3162 of file misc.c.

References SCIP_HashMapEntry::origin.

Referenced by createSubSCIP(), and SCIPrealHashCode().

◆ SCIPhashmapEntryGetImage()

void* SCIPhashmapEntryGetImage ( SCIP_HASHMAPENTRY entry)

gives the image of the hashmap entry

Parameters
entryhash map entry

Definition at line 3172 of file misc.c.

References SCIP_HashMapEntry::image, and SCIP_HASHMAPIMAGE::ptr.

Referenced by cleanActiveConss(), createSubSCIP(), presolveDisaggregateMergeComponents(), releaseHashmapEntries(), releaseHashmapNLPRows(), SCIPrealHashCode(), and SCIPreoptResetActiveConss().

◆ SCIPhashmapEntryGetImageReal()

SCIP_Real SCIPhashmapEntryGetImageReal ( SCIP_HASHMAPENTRY entry)

gives the image of the hashmap entry

Parameters
entryhash map entry

Definition at line 3182 of file misc.c.

References SCIP_HashMapEntry::image, and SCIP_HASHMAPIMAGE::real.

Referenced by SCIPrealHashCode().

◆ SCIPhashmapEntrySetImage()

void SCIPhashmapEntrySetImage ( SCIP_HASHMAPENTRY entry,
void *  image 
)

sets pointer image of a hashmap entry

Parameters
entryhash map entry
imagenew image

Definition at line 3192 of file misc.c.

References SCIP_HashMapEntry::image, and SCIP_HASHMAPIMAGE::ptr.

Referenced by presolveDisaggregateMergeComponents(), and SCIPrealHashCode().

◆ SCIPhashmapEntrySetImageReal()

void SCIPhashmapEntrySetImageReal ( SCIP_HASHMAPENTRY entry,
SCIP_Real  image 
)

sets real image of a hashmap entry

Parameters
entryhash map entry
imagenew image

Definition at line 3203 of file misc.c.

References SCIP_HashMapEntry::image, and SCIP_HASHMAPIMAGE::real.

Referenced by SCIPrealHashCode().

◆ SCIPhashmapRemoveAll()