memory allocation routines
Definition in file memory.h.
#include <limits.h>
#include <stdlib.h>
#include <stddef.h>
#include "scip/config.h"
#include "scip/scip_export.h"
Go to the source code of this file.
Functions | |
void * | BMSallocClearMemory_call (size_t num, size_t typesize, const char *filename, int line) |
void * | BMSallocMemory_call (size_t size, const char *filename, int line) |
void * | BMSallocMemoryArray_call (size_t num, size_t typesize, const char *filename, int line) |
void * | BMSreallocMemory_call (void *ptr, size_t size, const char *filename, int line) |
void * | BMSreallocMemoryArray_call (void *ptr, size_t num, size_t typesize, const char *filename, int line) |
void | BMSclearMemory_call (void *ptr, size_t size) |
void | BMScopyMemory_call (void *ptr, const void *source, size_t size) |
void | BMSmoveMemory_call (void *ptr, const void *source, size_t size) |
void * | BMSduplicateMemory_call (const void *source, size_t size, const char *filename, int line) |
void * | BMSduplicateMemoryArray_call (const void *source, size_t num, size_t typesize, const char *filename, int line) |
void | BMSfreeMemory_call (void **ptr, const char *filename, int line) |
void | BMSfreeMemoryNull_call (void **ptr, const char *filename, int line) |
size_t | BMSgetPointerSize_call (const void *ptr) |
void | BMSdisplayMemory_call (void) |
void | BMScheckEmptyMemory_call (void) |
long long | BMSgetMemoryUsed_call (void) |
void | BMSalignMemsize (size_t *size) |
int | BMSisAligned (size_t size) |
BMS_CHKMEM * | BMScreateChunkMemory_call (size_t size, int initchunksize, int garbagefactor, const char *filename, int line) |
void | BMSclearChunkMemory_call (BMS_CHKMEM *chkmem, const char *filename, int line) |
void | BMSdestroyChunkMemory_call (BMS_CHKMEM **chkmem, const char *filename, int line) |
void * | BMSallocChunkMemory_call (BMS_CHKMEM *chkmem, size_t size, const char *filename, int line) |
void * | BMSduplicateChunkMemory_call (BMS_CHKMEM *chkmem, const void *source, size_t size, const char *filename, int line) |
void | BMSfreeChunkMemory_call (BMS_CHKMEM *chkmem, void **ptr, size_t size, const char *filename, int line) |
void | BMSfreeChunkMemoryNull_call (BMS_CHKMEM *chkmem, void **ptr, size_t size, const char *filename, int line) |
void | BMSgarbagecollectChunkMemory_call (BMS_CHKMEM *chkmem) |
long long | BMSgetChunkMemoryUsed_call (const BMS_CHKMEM *chkmem) |
BMS_BLKMEM * | BMScreateBlockMemory_call (int initchunksize, int garbagefactor, const char *filename, int line) |
void | BMSclearBlockMemory_call (BMS_BLKMEM *blkmem, const char *filename, int line) |
void | BMSdestroyBlockMemory_call (BMS_BLKMEM **blkmem, const char *filename, int line) |
void * | BMSallocBlockMemory_call (BMS_BLKMEM *blkmem, size_t size, const char *filename, int line) |
void * | BMSallocClearBlockMemory_call (BMS_BLKMEM *blkmem, size_t size, const char *filename, int line) |
void * | BMSallocBlockMemoryArray_call (BMS_BLKMEM *blkmem, size_t num, size_t typesize, const char *filename, int line) |
void * | BMSallocClearBlockMemoryArray_call (BMS_BLKMEM *blkmem, size_t num, size_t typesize, const char *filename, int line) |
void * | BMSreallocBlockMemory_call (BMS_BLKMEM *blkmem, void *ptr, size_t oldsize, size_t newsize, const char *filename, int line) |
void * | BMSreallocBlockMemoryArray_call (BMS_BLKMEM *blkmem, void *ptr, size_t oldnum, size_t newnum, size_t typesize, const char *filename, int line) |
void * | BMSduplicateBlockMemory_call (BMS_BLKMEM *blkmem, const void *source, size_t size, const char *filename, int line) |
void * | BMSduplicateBlockMemoryArray_call (BMS_BLKMEM *blkmem, const void *source, size_t num, size_t typesize, const char *filename, int line) |
void | BMSfreeBlockMemory_call (BMS_BLKMEM *blkmem, void **ptr, size_t size, const char *filename, int line) |
void | BMSfreeBlockMemoryNull_call (BMS_BLKMEM *blkmem, void **ptr, size_t size, const char *filename, int line) |
void | BMSgarbagecollectBlockMemory_call (BMS_BLKMEM *blkmem) |
long long | BMSgetBlockMemoryAllocated_call (const BMS_BLKMEM *blkmem) |
long long | BMSgetBlockMemoryUsed_call (const BMS_BLKMEM *blkmem) |
long long | BMSgetBlockMemoryUnused_call (const BMS_BLKMEM *blkmem) |
long long | BMSgetBlockMemoryUsedMax_call (const BMS_BLKMEM *blkmem) |
long long | BMSgetBlockMemoryUnusedMax_call (const BMS_BLKMEM *blkmem) |
long long | BMSgetBlockMemoryAllocatedMax_call (const BMS_BLKMEM *blkmem) |
size_t | BMSgetBlockPointerSize_call (const BMS_BLKMEM *blkmem, const void *ptr) |
void | BMSdisplayBlockMemory_call (const BMS_BLKMEM *blkmem) |
long long | BMScheckEmptyBlockMemory_call (const BMS_BLKMEM *blkmem) |
BMS_BUFMEM * | BMScreateBufferMemory_call (double arraygrowfac, int arraygrowinit, unsigned int clean, const char *filename, int line) |
void | BMSdestroyBufferMemory_call (BMS_BUFMEM **buffer, const char *filename, int line) |
void | BMSsetBufferMemoryArraygrowfac (BMS_BUFMEM *buffer, double arraygrowfac) |
void | BMSsetBufferMemoryArraygrowinit (BMS_BUFMEM *buffer, int arraygrowinit) |
void * | BMSallocBufferMemory_call (BMS_BUFMEM *buffer, size_t size, const char *filename, int line) |
void * | BMSallocBufferMemoryArray_call (BMS_BUFMEM *buffer, size_t num, size_t typesize, const char *filename, int line) |
void * | BMSallocClearBufferMemoryArray_call (BMS_BUFMEM *buffer, size_t num, size_t typesize, const char *filename, int line) |
void * | BMSreallocBufferMemory_call (BMS_BUFMEM *buffer, void *ptr, size_t size, const char *filename, int line) |
void * | BMSreallocBufferMemoryArray_call (BMS_BUFMEM *buffer, void *ptr, size_t num, size_t typesize, const char *filename, int line) |
void * | BMSduplicateBufferMemory_call (BMS_BUFMEM *buffer, const void *source, size_t size, const char *filename, int line) |
void * | BMSduplicateBufferMemoryArray_call (BMS_BUFMEM *buffer, const void *source, size_t num, size_t typesize, const char *filename, int line) |
void | BMSfreeBufferMemory_call (BMS_BUFMEM *buffer, void **ptr, const char *filename, int line) |
void | BMSfreeBufferMemoryNull_call (BMS_BUFMEM *buffer, void **ptr, const char *filename, int line) |
size_t | BMSgetNUsedBufferMemory (BMS_BUFMEM *buffer) |
long long | BMSgetBufferMemoryUsed (const BMS_BUFMEM *bufmem) |
void | BMSprintBufferMemory (BMS_BUFMEM *buffer) |
#define ASSIGN | ( | pointerstarstar, | |
voidstarfunction ) |
#define ASSIGNCHECK | ( | pointerstarstar, | |
voidstarfunction, | |||
origpointer ) |
#define BMSallocMemory | ( | ptr | ) |
Definition at line 118 of file memory.h.
Referenced by BMScreateBlockMemory_call(), BMScreateBufferMemory_call(), create_graph(), createChkmem(), createClique(), createCliquehash(), createJobQueue(), createThreadPool(), doBanditvtableCreate(), doBendersCreate(), doBenderscutCreate(), doBranchruleCreate(), doComprCreate(), doConcsolverTypeCreate(), doConflicthdlrCreate(), doConshdlrCreate(), doCutselCreate(), doDispCreate(), doEventhdlrCreate(), doHeurCreate(), doNodeselCreate(), doPresolCreate(), doPricerCreate(), doProfileCreate(), doPropCreate(), doReaderCreate(), doRelaxCreate(), doScipCreate(), doSepaCreate(), doTableCreate(), lpStoreSolVals(), pushPstack(), SCIP_DECL_CONCSOLVERCREATEINST(), SCIPactivityCreate(), SCIPbendersActivate(), SCIPbranchcandCreate(), SCIPcliquetableCreate(), SCIPclockCreate(), SCIPconcsolverCreateInstance(), SCIPconflictCreate(), SCIPconflictstoreCreate(), SCIPcutpoolCreate(), SCIPdialogCreate(), SCIPdialoghdlrAddInputLine(), SCIPdialoghdlrCreate(), SCIPeventqueueCreate(), SCIPinterruptCreate(), SCIPlpCreate(), SCIPlpiCreate(), SCIPmemCreate(), SCIPmessagehdlrCreate(), SCIPnlpCreate(), SCIPnodepqCreate(), SCIPparamsetCreate(), SCIPpqueueCreate(), SCIPpricestoreCreate(), SCIPprimalCreate(), SCIPprobCreate(), SCIPqueueCreate(), SCIPregForestFromFile(), SCIPregressionCreate(), SCIPrelaxationCreate(), SCIPreoptCreate(), SCIPsepastoreCreate(), SCIPsparseSolCreate(), SCIPstatCreate(), SCIPsyncstoreCreate(), SCIPtpiCreateJob(), SCIPtpiInitCondition(), SCIPtpiInitLock(), SCIPtreeCreate(), SCIPvisualCreate(), tcliqueCreate(), xmlNewAttr(), and xmlNewNode().
#define BMSallocClearMemory | ( | ptr | ) |
Definition at line 119 of file memory.h.
Referenced by SCIPnlpiCreate().
#define BMSallocMemorySize | ( | ptr, | |
size ) |
Definition at line 120 of file memory.h.
Referenced by BMSallocBufferMemory_work(), createChunk(), SCIPmessageVFPrintDialog(), SCIPmessageVFPrintInfo(), SCIPmessageVFPrintVerbInfo(), SCIPmessageVFPrintWarning(), and SCIPmessageVPrintError().
#define BMSallocMemoryCPP | ( | size | ) |
Definition at line 121 of file memory.h.
Referenced by SCIPlpiCreate().
#define BMSallocClearMemorySize | ( | ptr, | |
size ) |
Definition at line 122 of file memory.h.
Referenced by BMSallocBufferMemory_work().
#define BMSallocMemoryArray | ( | ptr, | |
num ) |
Definition at line 123 of file memory.h.
Referenced by allocDiveChgSideArrays(), branch(), create_graph(), createClique(), createCliquehash(), createJobQueue(), createThreadPool(), delRangeVars(), doCdata(), doProfileCreate(), ensureSoldirectionSize(), F77_FUNC(), getAttrval(), getIndicesFromDense(), getIndicesRange(), getName(), heurAddDiveset(), lpiGetBInvVec(), lpiStrongbranch(), lpiStrongbranches(), lpiStrongbranches(), main(), procPcdata(), SCIPbendersActivate(), SCIPdialoghdlrCreate(), SCIPdigraphComputeDirectedComponents(), SCIPdigraphComputeUndirectedComponents(), SCIPdigraphGetArticulationPoints(), SCIPdigraphTopoSortComponents(), SCIPlpiAddCols(), SCIPlpiAddRows(), SCIPlpiClearState(), SCIPlpiCreate(), SCIPlpiDelCols(), SCIPlpiDelColset(), SCIPlpiDelRows(), SCIPlpiDelRowset(), SCIPlpiGetBasisInd(), SCIPlpiGetBInvACol(), SCIPlpiGetBInvARow(), SCIPlpiGetBInvARow(), SCIPlpiGetBInvCol(), SCIPlpiGetBInvRow(), SCIPlpiGetColNames(), SCIPlpiGetRowNames(), SCIPlpiGetSol(), SCIPlpiLoadColLP(), SCIPlpiReadLP(), SCIPlpiScaleCol(), SCIPlpiScaleRow(), SCIPlpiSetBase(), SCIPlpiSolvePrimal(), SCIPlpiWriteLP(), SCIPmessagehdlrCreate(), SCIPregForestFromFile(), SCIPreoptCreate(), SCIPsolveLinearEquationsIpopt(), SCIPsparseSolCreate(), SCIPtreeStoreRelaxSol(), tcliqueAddEdge(), tcliqueColoring(), tcliqueLoadFile(), tcliqueMaxClique(), and xmlProcess().
#define BMSallocMemoryArrayCPP | ( | num, | |
size ) |
#define BMSallocClearMemoryArray | ( | ptr, | |
num ) |
Definition at line 125 of file memory.h.
Referenced by reoptSaveNewObj(), SCIPdigraphComputeUndirectedComponents(), SCIPdigraphTopoSortComponents(), SCIPlpiSolvePrimal(), and SCIPsparseSolCreate().
#define BMSreallocMemorySize | ( | ptr, | |
size ) |
Definition at line 126 of file memory.h.
Referenced by BMSallocBufferMemory_work(), and BMSreallocBufferMemory_work().
#define BMSreallocMemoryArray | ( | ptr, | |
num ) |
Definition at line 127 of file memory.h.
Referenced by BMSallocBufferMemory_work(), cliquetableEnsureSize(), conflictEnsureConflictsetsMem(), conflictEnsureProofsetsMem(), conflictEnsureTmpbdchginfosMem(), conshdlrEnsureCheckconssMem(), conshdlrEnsureConssMem(), conshdlrEnsureEnfoconssMem(), conshdlrEnsureInitconssMem(), conshdlrEnsurePropconssMem(), conshdlrEnsureSepaconssMem(), conshdlrEnsureUpdateconssMem(), cutpoolEnsureCutsMem(), doCdata(), ensureAptreMem(), ensureBkcMem(), ensureBkxMem(), ensureBoundchgMem(), ensureBoundchgMem(), ensureChgcolsSize(), ensureChgrowsSize(), ensureCliquehashSize(), ensureColMem(), ensureColsSize(), ensureCstatMem(), ensureCstatMem(), ensureCstatMem(), ensureCstatMem(), ensureCstatMem(), ensureCstatMem(), ensureCstatMem(), ensureExistingsolsSize(), ensureExterncandsSize(), ensureLazycolsSize(), ensureLpcandsSize(), ensureLpicolsSize(), ensureLpirowsSize(), ensurePartialsolsSize(), ensureProfileSize(), ensurePropagationStorage(), ensurePseudocandsSize(), ensureRngrowmapMem(), ensureRngrowsMem(), ensureRowMem(), ensureRowsSize(), ensureRstatMem(), ensureRstatMem(), ensureRstatMem(), ensureRstatMem(), ensureRstatMem(), ensureRstatMem(), ensureRstatMem(), ensureRunSize(), ensureSidechgMem(), ensureSidechgMem(), ensureSidechgMem(), ensureSolsSize(), ensureStateMem(), ensureSubdialogMem(), ensureTabMem(), ensureValMem(), ensureValMem(), ensureValMem(), eventqueueEnsureEventsMem(), getAttrval(), getName(), heurAddDiveset(), main(), nodepqResize(), paramsetAdd(), pqueueResize(), pricestoreEnsureBdviolvarsMem(), pricestoreEnsureVarsMem(), probEnsureConssMem(), probEnsureDeletedvarsMem(), probEnsureFixedvarsMem(), probEnsureVarsMem(), procPcdata(), queueResize(), reallocDiveChgSideArrays(), reoptSaveNewObj(), SCIPbendersIncludeBenderscut(), SCIPtreeStoreRelaxSol(), sepastoreEnsureCutsMem(), tcliqueEnsureSizeCachedEdges(), tcliqueEnsureSizeEdges(), tcliqueEnsureSizeNodes(), treeEnsureChildrenMem(), treeEnsurePathMem(), and treeEnsurePendingbdchgsMem().
#define BMSclearMemory | ( | ptr | ) |
Definition at line 129 of file memory.h.
Referenced by createBoundRays(), createPattern(), createRays(), doBanditvtableCreate(), doBendersCreate(), doBranchruleCreate(), doComprCreate(), doConcsolverTypeCreate(), doConflicthdlrCreate(), doConshdlrCreate(), doCutselCreate(), doDispCreate(), doEventhdlrCreate(), doHeurCreate(), doNodeselCreate(), doPresolCreate(), doPricerCreate(), doProfileCreate(), doPropCreate(), doReaderCreate(), doRelaxCreate(), doScipCreate(), doSepaCreate(), doTableCreate(), initBounds(), probdataCreate(), resetTreeProfileStats(), SCIPcreateRowprep(), SCIPincludeBenderscutFeasalt(), SCIPincludeBendersDefault(), SCIPincludeConshdlrBenderslp(), SCIPincludeConshdlrRpa(), SCIPincludeCutselDynamic(), SCIPincludeCutselEnsemble(), SCIPincludeCutselHybrid(), SCIPincludeEventHdlrEstim(), SCIPincludeHeurAlns(), SCIPincludeHeurDualval(), SCIPincludeHeurMpec(), SCIPincludeHeurMultistart(), SCIPincludeHeurScheduler(), SCIPincludeHeurSubNlp(), SCIPincludeNlhdlrBilinear(), SCIPincludeNlhdlrPerspective(), SCIPincludeNlhdlrQuadratic(), SCIPincludeNlhdlrSignomial(), SCIPincludePricerRpa(), SCIPincludePropNlobbt(), SCIPincludePropObbt(), SCIPincludeSepaConvexproj(), SCIPincludeSepaGauge(), SCIPincludeSepaInterminor(), SCIPincludeSepaMinor(), SCIPincludeSepaZerohalf(), SCIPnlpiOracleCreate(), SCIPregForestFromFile(), sepadataCreate(), sepadataCreate(), xmlNewAttr(), and xmlNewNode().
#define BMSclearMemoryArray | ( | ptr, | |
num ) |
Definition at line 130 of file memory.h.
Referenced by addCliques(), addNegatedCliques(), addRelaxation(), alnsFixMoreVariables(), alnsUnfixVariables(), applyOptcumulative(), applyOptcumulativeFixings(), branch(), branch(), branchruledataEnsureNlcount(), checkForOverlapping(), checkSolution(), checkSystemGF2(), checkViolations(), cleanupNetwork(), cliquePresolve(), computeCut(), computeGradient(), computeMinDistance(), computeRestrictionToLine(), computeRestrictionToRay(), conflictAnalyzeLP(), conflictsetCalcInsertDepth(), consCatchAllEvents(), countNonlinearities(), createCGMIPprimalsols(), createCipFormulation(), createCoveringProblem(), createIntervalRelaxation(), createMipCpFormulation(), createSubSCIP(), createTcliqueGraph(), dataReset(), detectImpliedBounds(), detectParallelCols(), ensureMemorySize(), evalFunctionGradient(), extendMemoryTreeProfile(), extractCapacityRows(), extractCliques(), extractFlow(), extractNodes(), fillDigraph(), filterPatterns(), findAggregation(), fullDualPresolve(), generateAverageRay(), generateClusterCuts(), getFlowCover(), getGMIFromRow(), getGMIFromRow(), getInputString(), getLiftingSequenceGUB(), getMaxactImplicObjchg(), getNextLine(), getNextLine(), getNextLine(), getNextLine(), getNextLine(), getNLPVarsNonConvexity(), getNodeIdx(), getNVarsIndicators(), heurStatsReset(), identifySourcesTargets(), improvePoint(), initBounds(), initData(), initPropdata(), insertSortedRootNeighbors(), intercutsComputeCommonQuantities(), isPatternDominating(), labelSortStable(), LNSFixMoreVariables(), LNSUnfixVariables(), lpbdchgsCreate(), lpbdchgsReset(), lpCleanupCols(), lpCleanupRows(), lpRemoveObsoleteCols(), lpRemoveObsoleteRows(), mcfnetworkExtract(), mcfnetworkFill(), neighborhoodStatsReset(), nlpSolve(), nodepartitionCreate(), preprocessCliques(), presolveConsEffectiveHorizon(), presolveCumulativeCondition(), presolvePropagateCons(), probdataCreate(), processNlRow(), propagateCons(), propagateCons(), readFile(), readFile(), removeDoubleAndSingletonsAndPerformDualpresolve(), removeRedundantConssAndNonzeros(), resolvePropagationCoretimes(), SCIP_DECL_BANDITRESET(), SCIP_DECL_BRANCHEXECLP(), SCIP_DECL_BRANCHEXECLP(), SCIP_DECL_BRANCHEXECLP(), SCIP_DECL_BRANCHEXECLP(), SCIP_DECL_BRANCHINIT(), SCIP_DECL_CONSCOPY(), SCIP_DECL_CONSINITSOL(), SCIP_DECL_CONSLOCK(), SCIP_DECL_CONSRESPROP(), SCIP_DECL_EXPRESTIMATE(), SCIP_DECL_HEUREXEC(), SCIP_DECL_HEUREXEC(), SCIP_DECL_HEUREXEC(), SCIP_DECL_HEUREXEC(), SCIP_DECL_HEUREXEC(), SCIP_DECL_NLHDLRINITSEPA(), SCIP_DECL_NLPISOLVE(), SCIP_DECL_PRESOLEXEC(), SCIP_DECL_PRESOLEXEC(), SCIP_DECL_PRESOLEXEC(), SCIP_DECL_PRESOLEXEC(), SCIP_DECL_PRESOLEXEC(), SCIP_DECL_PRESOLEXEC(), SCIP_DECL_PRICERFARKAS(), SCIP_DECL_PROPEXEC(), SCIP_DECL_PROPPRESOL(), SCIP_DECL_PROPPRESOL(), SCIPaggrRowCreate(), SCIPbendersRemoveSubproblems(), SCIPboolarrayClear(), SCIPboundstoreClear(), SCIPcomputeFacetVertexPolyhedralNonlinear(), SCIPcreateNlpiProblemFromNlRows(), SCIPdigraphComputeUndirectedComponents(), SCIPgetBinvarRepresentatives(), SCIPgetFarkasProof(), SCIPhashmapRemoveAll(), SCIPhashsetRemoveAll(), SCIPhashtableRemoveAll(), SCIPintarrayClear(), SCIPlinConsStatsReset(), SCIPlpComputeRelIntPoint(), SCIPlpGetDualfarkas(), SCIPlpGetSol(), SCIPlpiGetBInvACol(), SCIPlpiGetBInvARow(), SCIPlpiGetBInvCol(), SCIPlpiGetBInvRow(), SCIPlpiGetBInvRow(), SCIPlpiGetRows(), SCIPlpiGetSides(), SCIPlpRemoveRedundantRows(), SCIPmatrixCreate(), SCIPmatrixGetParallelCols(), SCIPmatrixGetParallelRows(), SCIPnlpGetVarsNonlinearity(), SCIPnlpiInit(), SCIPnlpiOracleAddVars(), SCIPnlpiOracleDelConsSet(), SCIPnlpiOracleEvalHessianLag(), SCIPnlpiOracleEvalJacobian(), SCIPnlpiOracleGetHessianLagSparsity(), SCIPnlpiOracleGetJacobianSparsity(), SCIPpackCirclesGreedy(), SCIPprimalTransformSol(), SCIPprintSolutionStatistics(), SCIPprobdataEnumeratePatterns(), SCIPptrarrayClear(), SCIPrealarrayClear(), SCIPreoptAddCons(), SCIPrunBoundHeuristic(), SCIPseparateRelaxedKnapsack(), SCIPshrinkDisjunctiveVarSet(), SCIPsnprintfProbingStats(), SCIPwritePbm(), scoreContainterResetBestSortedCands(), searchEcAggrWithCliques(), separateCuts(), separateGLS(), separateHeur(), sequentialUpAndDownLifting(), sequentialUpAndDownLiftingGUB(), setColumnMajorFormat(), setupAggregationData(), shortenConss(), singletonColumnStuffing(), stableSort(), superadditiveUpLifting(), tcliqueAddEdge(), tcliqueColoring(), tcliquegraphConstructCliqueTable(), tightenWeightsLift(), tryUpgradingXor(), updatePartition(), and updatePrimalRay().
#define BMSclearMemorySize | ( | ptr, | |
size ) |
Definition at line 131 of file memory.h.
Referenced by BMSallocBufferMemory_work(), BMSallocClearBlockMemory_call(), BMSallocClearBlockMemoryArray_call(), and BMSallocClearBufferMemoryArray_call().
#define BMScopyMemory | ( | ptr, | |
source ) |
#define BMScopyMemoryArray | ( | ptr, | |
source, | |||
num ) |
Definition at line 134 of file memory.h.
Referenced by computeConsAndDataChanges(), conflictsetCopy(), createSolTuple(), cutsRoundMIR(), cutsRoundStrongCG(), DECL_VARFIXINGS(), DECL_VARFIXINGS(), determineVariableFixings(), evaluateWorhpRun(), extendCliqueZeroWeight(), F77_FUNC(), F77_FUNC(), filterPatterns(), heurExec(), initWorhp(), mod2rowAddRow(), newSolution(), AMPLProblemHandler::OnHeader(), removeConstraintsDueToNegCliques(), rollingHorizonStoreDistances(), SCIP_DECL_BRANCHEXECLP(), SCIP_DECL_CONSGETVARS(), SCIP_DECL_CONSGETVARS(), SCIP_DECL_CONSGETVARS(), SCIP_DECL_CONSGETVARS(), SCIP_DECL_CONSGETVARS(), SCIP_DECL_CONSGETVARS(), SCIP_DECL_CONSGETVARS(), SCIP_DECL_CONSGETVARS(), SCIP_DECL_CONSGETVARS(), SCIP_DECL_CONSGETVARS(), SCIP_DECL_CONSGETVARS(), SCIP_DECL_CONSGETVARS(), SCIP_DECL_CONSGETVARS(), SCIP_DECL_CONSGETVARS(), SCIP_DECL_EXPRESTIMATE(), SCIP_DECL_EXPRINITESTIMATES(), SCIP_DECL_EXPRREVERSEPROP(), SCIP_DECL_HEUREXEC(), SCIP_DECL_HEUREXEC(), SCIP_DECL_HEUREXEC(), SCIP_DECL_NLPIDELCONSSET(), SCIP_DECL_NLPIDELVARSET(), SCIP_DECL_NLPISETINITIALGUESS(), SCIP_DECL_NLPISETINITIALGUESS(), SCIP_DECL_NLPISETINITIALGUESS(), SCIP_DECL_NLPISOLVE(), SCIP_DECL_NLPISOLVE(), SCIP_DECL_PROPEXITPRE(), SCIPaddRowprepTerms(), SCIPboolarrayExtend(), SCIPcalcKnapsackCover(), SCIPcalcMIR(), SCIPcalcStrongCG(), SCIPconshdlrsStorePropagationStatus(), SCIPcreateConsPseudobooleanWithConss(), SCIPcutGenerationHeuristicCMIR(), SCIPdigraphComputeUndirectedComponents(), SCIPgetBinvarRepresentatives(), SCIPgetRandomSubset(), SCIPheurPassIndicator(), SCIPintarrayExtend(), SCIPintervalPropagateWeightedSum(), SCIPlapackSolveLinearEquations(), SCIPlpiAddCols(), SCIPlpiAddRows(), SCIPlpiGetBInvARow(), SCIPlpiGetBounds(), SCIPlpiGetCols(), SCIPlpiGetObj(), SCIPlpiGetPrimalRay(), SCIPlpiGetRows(), SCIPlpiGetSides(), SCIPlpiGetSol(), SCIPlpiLoadColLP(), SCIPnlpiOracleAddVars(), SCIPnlpiOracleEvalJacobian(), SCIPnlpiOracleGetJacobianSparsity(), SCIPnlpSetInitialGuess(), SCIPptrarrayExtend(), SCIPrandomGetSubset(), SCIPrealarrayExtend(), SCIPsolveLinearEquationsIpopt(), SCIPvarsGetActiveVars(), selectVarRecursive(), solveLinearProb3(), tabooListFind(), tcliqueColoring(), tryToInsert(), and xmlProcess().
#define BMScopyMemorySize | ( | ptr, | |
source, | |||
size ) |
Definition at line 135 of file memory.h.
Referenced by BMSduplicateBlockMemory_call(), BMSduplicateBlockMemoryArray_call(), BMSduplicateBufferMemory_call(), BMSduplicateBufferMemoryArray_call(), BMSduplicateChunkMemory_call(), BMSreallocBlockMemory_call(), and BMSreallocBlockMemoryArray_call().
#define BMSmoveMemory | ( | ptr, | |
source ) |
#define BMSmoveMemoryArray | ( | ptr, | |
source, | |||
num ) |
Definition at line 138 of file memory.h.
Referenced by cutsTransformKnapsackCover(), mod2rowUnlinkCol(), queueCheckSize(), SCIPboolarrayExtend(), SCIPcliqueAddVar(), SCIPcliquelistAdd(), SCIPcliquelistDel(), SCIPimplicsAdd(), and SCIPimplicsDel().
#define BMSmoveMemorySize | ( | ptr, | |
source, | |||
size ) |
#define BMSduplicateMemory | ( | ptr, | |
source ) |
#define BMSduplicateMemorySize | ( | ptr, | |
source, | |||
size ) |
#define BMSduplicateMemoryArray | ( | ptr, | |
source, | |||
num ) |
Definition at line 143 of file memory.h.
Referenced by alnsIncludeNeighborhood(), BMSallocBlockMemory_work(), doBanditvtableCreate(), doBendersCreate(), doBenderscutCreate(), doBranchruleCreate(), doComprCreate(), doConcsolverTypeCreate(), doConflicthdlrCreate(), doConshdlrCreate(), doCutselCreate(), doDispCreate(), doEventhdlrCreate(), doHeurCreate(), doNodeselCreate(), doPresolCreate(), doPricerCreate(), doPropCreate(), doReaderCreate(), doRelaxCreate(), doSepaCreate(), doTableCreate(), handleDecl(), paramCreate(), paramCreateChar(), paramCreateString(), procPcdata(), schedulerIncludeNeighborhood(), SCIPconcsolverCreateInstance(), SCIPdialogCreate(), SCIPdialoghdlrAddInputLine(), SCIPdispAutoActivate(), SCIPdivesetCreate(), SCIPexprhdlrCreate(), SCIPincludeDialogDefaultFix(), SCIPincludeDialogDefaultSet(), SCIPlpiReadLP(), SCIPlpiWriteLP(), SCIPnlpiCreate(), SCIPparamSetDefaultString(), SCIPparamSetString(), SCIPprobCreate(), SCIPprobSetName(), SCIPprobSortConssCheck(), SCIPsolveLinearEquationsIpopt(), SCIPsparseSolCreate(), timeSeriesCreate(), writeProblem(), xmlNewAttr(), and xmlNewNode().
#define BMSfreeMemory | ( | ptr | ) |
Definition at line 145 of file memory.h.
Referenced by BMSdestroyBlockMemory_call(), BMSdestroyBufferMemory_call(), BMSfreeBufferMemory_call(), BMSfreeBufferMemoryNull_call(), create_graph(), destroyChkmem(), destroyChunk(), dialogFree(), free_graph(), freeClique(), freeCliquehash(), freeJobQueue(), freeJobQueue(), freeReoptTree(), freeSolTree(), freeThreadPool(), linelistFree(), messagehdlrFree(), popPstack(), SCIP_DECL_CONCSOLVERDESTROYINST(), SCIP_DECL_CONCSOLVERTYPEFREEDATA(), SCIPactivityFree(), SCIPbanditvtableFree(), SCIPbenderscutFree(), SCIPbendersDeactivate(), SCIPbendersFree(), SCIPbranchcandFree(), SCIPbranchruleFree(), SCIPcliquetableFree(), SCIPclockFree(), SCIPcomprFree(), SCIPconcsolverDestroyInstance(), SCIPconcsolverTypeFree(), SCIPconflictFree(), SCIPconflicthdlrFree(), SCIPconshdlrFree(), SCIPcutpoolFree(), SCIPcutselFree(), SCIPdialogCreate(), SCIPdialoghdlrAddInputLine(), SCIPdialoghdlrFree(), SCIPdispFree(), SCIPeventhdlrFree(), SCIPeventqueueFree(), SCIPfree(), SCIPheurFree(), SCIPinterruptFree(), SCIPlpFree(), SCIPlpiFree(), SCIPmemFree(), SCIPmessageVFPrintDialog(), SCIPmessageVFPrintInfo(), SCIPmessageVFPrintVerbInfo(), SCIPmessageVFPrintWarning(), SCIPmessageVPrintError(), SCIPnlpFree(), SCIPnlpiCreate(), SCIPnlpiFree(), SCIPnlpiOracleFree(), SCIPnodepqDestroy(), SCIPnodeselFree(), SCIPparamsetFree(), SCIPpqueueFree(), SCIPpresolFree(), SCIPpricerFree(), SCIPpricestoreFree(), SCIPprimalFree(), SCIPprobFree(), SCIPprofileFree(), SCIPpropFree(), SCIPqueueFree(), SCIPreaderFree(), SCIPregForestFree(), SCIPregressionFree(), SCIPrelaxationFree(), SCIPrelaxFree(), SCIPreoptFree(), SCIPsepaFree(), SCIPsepastoreFree(), SCIPsparseSolFree(), SCIPstatFree(), SCIPsyncstoreRelease(), SCIPtableFree(), SCIPtpiCollectJobs(), SCIPtpiDestroyCondition(), SCIPtpiDestroyLock(), SCIPtpiInitLock(), SCIPtreeFree(), SCIPvisualFree(), tcliqueFree(), xmlFreeAttr(), and xmlFreeNode().
#define BMSfreeMemoryNull | ( | ptr | ) |
Definition at line 146 of file memory.h.
Referenced by SCIPconflictstoreFree(), and SCIPlpFree().
#define BMSfreeMemoryArray | ( | ptr | ) |
Definition at line 147 of file memory.h.
Referenced by alnsFreeNeighborhood(), branch(), create_graph(), delRangeVars(), divesetFree(), doCdata(), F77_FUNC(), freeClique(), freeCliquehash(), freeJobQueue(), freeThreadPool(), getAttrval(), getName(), handleDecl(), handleEndtag(), handleStarttag(), linelistFree(), lpiGetBInvVec(), lpiStrongbranch(), lpiStrongbranches(), lpiStrongbranches(), paramFree(), probingnodeFree(), procInTag(), procPcdata(), schedulerFreeNeighborhood(), SCIPbenderscutFree(), SCIPbendersDeactivate(), SCIPbendersFree(), SCIPconcsolverDestroyInstance(), SCIPdialoghdlrFree(), SCIPdispAutoActivate(), SCIPexprhdlrFree(), SCIPincludeDialogDefaultFix(), SCIPincludeDialogDefaultSet(), SCIPlpiAddCols(), SCIPlpiAddRows(), SCIPlpiClearState(), SCIPlpiDelCols(), SCIPlpiDelColset(), SCIPlpiDelRows(), SCIPlpiDelRowset(), SCIPlpiFree(), SCIPlpiGetBasisInd(), SCIPlpiGetBInvACol(), SCIPlpiGetBInvARow(), SCIPlpiGetBInvARow(), SCIPlpiGetBInvCol(), SCIPlpiGetBInvRow(), SCIPlpiGetSol(), SCIPlpiLoadColLP(), SCIPlpiScaleCol(), SCIPlpiScaleRow(), SCIPlpiSetBase(), SCIPlpiSolvePrimal(), SCIPnlpiCreate(), SCIPnlpiFree(), SCIPparamSetDefaultString(), SCIPpqueueFree(), SCIPprobDelCons(), SCIPprobFree(), SCIPprobSetName(), SCIPqueueFree(), SCIPreoptFree(), SCIPsolveLinearEquationsIpopt(), SCIPsparseSolFree(), tcliqueColoring(), tcliqueFlush(), tcliqueFree(), tcliqueMaxClique(), timeSeriesFree(), writeProblem(), xmlFreeAttr(), xmlFreeNode(), and xmlProcess().
#define BMSfreeMemoryArrayNull | ( | ptr | ) |
Definition at line 148 of file memory.h.
Referenced by BMSallocBlockMemory_work(), BMSdestroyBufferMemory_call(), clearRangeInfo(), destroyChkmem(), dialogFree(), ensureSoldirectionSize(), freeDiveChgSideArrays(), messagehdlrFree(), paramFree(), SCIPbanditvtableFree(), SCIPbendersFree(), SCIPbranchcandFree(), SCIPbranchruleFree(), SCIPcliquetableFree(), SCIPcomprFree(), SCIPconcsolverTypeFree(), SCIPconflictFree(), SCIPconflicthdlrFree(), SCIPconshdlrFree(), SCIPconshdlrInitLP(), SCIPcutpoolFree(), SCIPcutselFree(), SCIPdialogCreate(), SCIPdigraphComputeDirectedComponents(), SCIPdigraphComputeUndirectedComponents(), SCIPdigraphGetArticulationPoints(), SCIPdigraphTopoSortComponents(), SCIPdispFree(), SCIPeventhdlrFree(), SCIPeventqueueFree(), SCIPexprhdlrFree(), SCIPheurFree(), SCIPlpFree(), SCIPlpiFree(), SCIPlpiGetBInvARow(), SCIPlpiReadLP(), SCIPlpiWriteLP(), SCIPnodepqDestroy(), SCIPnodeselFree(), SCIPparamsetFree(), SCIPparamSetString(), SCIPpresolFree(), SCIPpricerFree(), SCIPpricestoreFree(), SCIPprimalFree(), SCIPprobFree(), SCIPprofileFree(), SCIPpropFree(), SCIPreaderFree(), SCIPregForestFree(), SCIPrelaxFree(), SCIPsepaFree(), SCIPsepastoreClearCuts(), SCIPsepastoreFree(), SCIPtableFree(), SCIPtreeFree(), and tcliqueFree().
#define BMSfreeMemorySize | ( | ptr | ) |
#define BMSfreeMemorySizeNull | ( | ptr | ) |
#define BMSgetPointerSize | ( | ptr | ) |
#define BMSdisplayMemory | ( | ) |
#define BMScheckEmptyMemory | ( | ) |
Definition at line 155 of file memory.h.
Referenced by execmain(), main(), runSCIP(), runSCIP(), runShell(), runShell(), SCIPrunColoringShell(), SCIPrunCyc(), and SCIPrunShell().
#define BMSgetMemoryUsed | ( | ) |
#define BMScreateChunkMemory | ( | sz, | |
isz, | |||
gbf ) |
Definition at line 307 of file memory.h.
Referenced by tcliqueMaxClique().
#define BMSclearChunkMemory | ( | mem | ) |
Definition at line 308 of file memory.h.
Referenced by tcliqueColoring().
#define BMSdestroyChunkMemory | ( | mem | ) |
Definition at line 309 of file memory.h.
Referenced by tcliqueMaxClique().
#define BMSallocChunkMemory | ( | mem, | |
ptr ) |
Definition at line 311 of file memory.h.
Referenced by tcliqueColoring(), and updateNeighbor().
#define BMSduplicateChunkMemory | ( | mem, | |
ptr, | |||
source ) |
#define BMSfreeChunkMemory | ( | mem, | |
ptr ) |
Definition at line 314 of file memory.h.
Referenced by tcliqueColoring(), and updateNeighbor().
#define BMSfreeChunkMemoryNull | ( | mem, | |
ptr ) |
#define BMSgarbagecollectChunkMemory | ( | mem | ) |
#define BMSgetChunkMemoryUsed | ( | mem | ) |
Definition at line 317 of file memory.h.
Referenced by branch().
#define BMScreateBlockMemory | ( | csz, | |
gbf ) |
Definition at line 447 of file memory.h.
Referenced by SCIPmemCreate().
#define BMSclearBlockMemory | ( | mem | ) |
#define BMSdestroyBlockMemory | ( | mem | ) |
Definition at line 449 of file memory.h.
Referenced by SCIPmemFree().
#define BMSallocBlockMemory | ( | mem, | |
ptr ) |
Definition at line 451 of file memory.h.
Referenced by addGlobalCut(), btnodeCreateEmpty(), checkMemDualCons(), cliqueCreateWithData(), cliquelistCreate(), collectDualInformation(), colStoreSolVals(), conflictsetCopy(), conssetchgCreate(), createReoptnode(), createSolTree(), cutCreate(), forkCreate(), holelistCreate(), implicsCreate(), lpistateCreate(), lpistateCreate(), lpistateCreate(), lpistateCreate(), lpistateCreate(), lpistateCreate(), lpistateCreate(), lpistateCreate(), lpistateCreate(), mod2MatrixAddOrigRow(), multihashlistAppend(), nodeCreate(), paramCreate(), probingnodeCreate(), proofsetCreate(), pseudoforkCreate(), rowStoreSolVals(), saveLocalConssData(), SCIPbanditCreate(), SCIPbanditCreateEpsgreedy(), SCIPbanditCreateExp3(), SCIPbanditCreateExp3IX(), SCIPbanditCreateUcb(), SCIPbdchginfoCreate(), SCIPboolarrayCreate(), SCIPbtCreate(), SCIPcolCreate(), SCIPconflictsetCreate(), SCIPconsCreate(), SCIPdecompCreate(), SCIPdecompstoreCreate(), SCIPdigraphCopy(), SCIPdigraphCreate(), SCIPdisjointsetCreate(), SCIPdivesetCreate(), SCIPeventCreateGholeAdded(), SCIPeventCreateGholeRemoved(), SCIPeventCreateGlbChanged(), SCIPeventCreateGubChanged(), SCIPeventCreateImplAdded(), SCIPeventCreateLbChanged(), SCIPeventCreateLholeAdded(), SCIPeventCreateLholeRemoved(), SCIPeventCreateObjChanged(), SCIPeventCreateRowAddedLP(), SCIPeventCreateRowAddedSepa(), SCIPeventCreateRowCoefChanged(), SCIPeventCreateRowConstChanged(), SCIPeventCreateRowDeletedLP(), SCIPeventCreateRowDeletedSepa(), SCIPeventCreateRowSideChanged(), SCIPeventCreateSync(), SCIPeventCreateTypeChanged(), SCIPeventCreateUbChanged(), SCIPeventCreateVarAdded(), SCIPeventCreateVarDeleted(), SCIPeventCreateVarFixed(), SCIPeventCreateVarUnlocked(), SCIPeventfilterCreate(), SCIPexprPrintDotInit(), SCIPhashmapCreate(), SCIPhashsetCreate(), SCIPhashtableCreate(), SCIPhistoryCreate(), SCIPintarrayCreate(), SCIPlpiGetNorms(), SCIPlpiGetState(), SCIPmultihashCreate(), SCIPnlrowCreate(), SCIPptrarrayCreate(), SCIPrandomCreate(), SCIPrealarrayCreate(), SCIPreoptnodeAddCons(), SCIPreoptSplitRoot(), SCIProwCreate(), SCIPsolCopy(), SCIPsolCreate(), SCIPsolCreateOriginal(), SCIPsolCreatePartial(), SCIPsolCreateUnknown(), SCIPvaluehistoryCreate(), solnodeAddChild(), varCreate(), and vboundsCreate().
#define BMSallocClearBlockMemory | ( | mem, | |
ptr ) |
Definition at line 452 of file memory.h.
Referenced by SCIPexprCheckQuadratic(), SCIPexprCreate(), SCIPexprhdlrCreate(), and SCIPexpriterCreate().
#define BMSallocBlockMemorySize | ( | mem, | |
ptr, | |||
size ) |
#define BMSallocBlockMemoryArray | ( | mem, | |
ptr, | |||
num ) |
Definition at line 454 of file memory.h.
Referenced by addGlobalCut(), checkMemDualCons(), checkMemGlbCons(), conflictsetCopy(), conflictstoreAddOrigConflict(), conflictstoreEnsureMem(), createReopttree(), createSolTree(), ensureSuccessorsSize(), hashmapCheckLoad(), hashtableCheckLoad(), lpistateCreate(), lpistateCreate(), lpistateCreate(), lpistateCreate(), lpistateCreate(), lpistateCreate(), lpistateCreate(), lpistateCreate(), lpistateCreate(), nlpCalcFracVars(), quadDetectGetQuadexprterm(), reoptnodeCheckMemory(), saveAfterDualBranchings(), saveConsLinear(), SCIPbanditCreateEpsgreedy(), SCIPbanditCreateExp3(), SCIPbanditCreateExp3IX(), SCIPbanditCreateUcb(), SCIPbendersInit(), SCIPboolarrayExtend(), SCIPcolCreate(), SCIPconflictstoreAddDualraycons(), SCIPconflictstoreAddDualsolcons(), SCIPdecompCreate(), SCIPdecompstoreCreate(), SCIPdigraphComputeUndirectedComponents(), SCIPdigraphGetArticulationPoints(), SCIPdigraphSetSizes(), SCIPdisjointsetCreate(), SCIPexprCheckQuadratic(), SCIPexprComputeQuadraticCurvature(), SCIPhashmapCreate(), SCIPhashtableCreate(), SCIPintarrayExtend(), SCIPlpiGetNorms(), SCIPnlpSetInitialGuess(), SCIPptrarrayExtend(), SCIPrealarrayExtend(), SCIPreoptAddRun(), SCIPreoptCreate(), SCIPreoptUpdateVarHistory(), SCIProwCreate(), SCIPtreeCreate(), SCIPvaluehistoryCreate(), and transformDualredsToLinear().
#define BMSallocClearBlockMemoryArray | ( | mem, | |
ptr, | |||
num ) |
Definition at line 455 of file memory.h.
Referenced by hashmapCheckLoad(), hashsetCheckLoad(), hashtableCheckLoad(), multihashResize(), SCIPdigraphCopy(), SCIPdigraphCreate(), SCIPexprCheckQuadratic(), SCIPexprComputeQuadraticCurvature(), SCIPhashmapCreate(), SCIPhashsetCreate(), SCIPhashtableCreate(), SCIPmultihashCreate(), and SCIPreoptAddCons().
#define BMSreallocBlockMemorySize | ( | mem, | |
ptr, | |||
oldsize, | |||
newsize ) |
Definition at line 456 of file memory.h.
Referenced by domchgMakeDynamic(), SCIPdomchgMakeStatic(), and SCIPensureBlockMemoryArray_call().
#define BMSreallocBlockMemoryArray | ( | mem, | |
ptr, | |||
oldnum, | |||
newnum ) |
Definition at line 458 of file memory.h.
Referenced by addGlobalCut(), checkMemDualCons(), checkMemGlbCons(), cliqueEnsureSize(), cliquelistEnsureSize(), colEnsureSize(), conflictsetEnsureBdchginfosMem(), conflictstoreAddOrigConflict(), conflictstoreEnsureMem(), conssetchgEnsureAddedconssSize(), conssetchgEnsureDisabledconssSize(), domchgEnsureBoundchgsSize(), domchgEnsureHolechgsSize(), ensureActiveconssSize(), ensureElemSize(), ensureRunSize(), ensureSolsSize(), ensureStackSize(), ensureSuccessorsSize(), eventfilterEnsureMem(), implicsEnsureSize(), nlpCalcFracVars(), nlpEnsureNlRowsSolverSize(), nlpEnsureVarsSolverSize(), proofsetAddSparseData(), reoptnodeCheckMemory(), reopttreeCheckMemory(), saveAfterDualBranchings(), SCIP_DECL_NLPISOLVE(), SCIPbendersStoreCut(), SCIPdigraphComputeUndirectedComponents(), SCIPdigraphResize(), SCIPdomchgMakeStatic(), SCIPexprAppendChild(), SCIPnlpEnsureNlRowsSize(), SCIPnlpEnsureVarsSize(), SCIPnlrowEnsureLinearSize(), SCIPreoptAddCons(), SCIProwEnsureSize(), SCIPtreeAddDiveBoundChange(), SCIPvaluehistoryFind(), SCIPvarFlattenAggregationGraph(), SCIPvarMultiaggregate(), varEnsureLbchginfosSize(), varEnsureParentvarsSize(), varEnsureUbchginfosSize(), and vboundsEnsureSize().
#define BMSduplicateBlockMemory | ( | mem, | |
ptr, | |||
source ) |
#define BMSduplicateBlockMemoryArray | ( | mem, | |
ptr, | |||
source, | |||
num ) |
Definition at line 462 of file memory.h.
Referenced by cliqueCreateWithData(), collectDualInformation(), forkCreate(), proofsetAddSparseData(), pseudoforkCreate(), saveConsBounddisjuction(), SCIPboolarrayCopy(), SCIPcliquelistDel(), SCIPcolCreate(), SCIPconsChgName(), SCIPconsCreate(), SCIPdigraphCopy(), SCIPexprCreate(), SCIPintarrayCopy(), SCIPnlpCreate(), SCIPnlrowCreate(), SCIPptrarrayCopy(), SCIPrealarrayCopy(), SCIPreoptnodeAddCons(), SCIProwCreate(), SCIPvarMultiaggregate(), transformDualredsToBounddisjunction(), transformDualredsToLinear(), and varSetName().
#define BMSfreeBlockMemory | ( | mem, | |
ptr ) |
Definition at line 465 of file memory.h.
Referenced by btnodeFreeLeaf(), cliqueFree(), cutFree(), divesetFree(), forkFree(), freeExpr(), holelistFree(), lpistateFree(), lpistateFree(), lpistateFree(), lpistateFree(), lpistateFree(), lpistateFree(), lpistateFree(), lpistateFree(), lpistateFree(), multihashlistFree(), multihashlistRemove(), paramFree(), probingnodeFree(), pseudoforkFree(), reoptnodeDelete(), reoptnodeReset(), reoptnodeResetDualConss(), reoptnodeUpdateDualConss(), SCIP_DECL_BANDITFREE(), SCIP_DECL_BANDITFREE(), SCIP_DECL_BANDITFREE(), SCIP_DECL_BANDITFREE(), SCIPbanditFree(), SCIPbdchginfoFree(), SCIPboolarrayFree(), SCIPbtFree(), SCIPcliquelistFree(), SCIPcolFree(), SCIPconflictsetFree(), SCIPconsFree(), SCIPconssetchgFree(), SCIPdecompFree(), SCIPdecompstoreFree(), SCIPdigraphFree(), SCIPdisjointsetFree(), SCIPeventfilterFree(), SCIPeventFree(), SCIPexprFreeQuadratic(), SCIPexprhdlrFree(), SCIPexpriterFree(), SCIPexprPrintDotFinal(), SCIPhashmapFree(), SCIPhashsetFree(), SCIPhashtableFree(), SCIPhistoryFree(), SCIPimplicsFree(), SCIPintarrayFree(), SCIPlpiFreeNorms(), SCIPlpiGetNorms(), SCIPmultihashFree(), SCIPnlrowRelease(), SCIPnodeFree(), SCIPproofsetFree(), SCIPptrarrayFree(), SCIPrandomFree(), SCIPrealarrayFree(), SCIPreoptApplyCuts(), SCIPreoptFree(), SCIProwFree(), SCIPsolFree(), SCIPvaluehistoryFree(), SCIPvboundsFree(), subrootFree(), treeCreateProbingNode(), and varFree().
#define BMSfreeBlockMemoryNull | ( | mem, | |
ptr ) |
Definition at line 466 of file memory.h.
Referenced by colRestoreSolVals(), freeSolTree(), rowRestoreSolVals(), SCIPcolFree(), SCIProwFree(), and soltreefreeNode().
#define BMSfreeBlockMemoryArray | ( | mem, | |
ptr, | |||
num ) |
Definition at line 467 of file memory.h.
Referenced by changeAncestorBranchings(), deinit(), freeReoptTree(), freeSolTree(), hashmapCheckLoad(), hashsetCheckLoad(), hashtableCheckLoad(), lpistateFree(), lpistateFree(), lpistateFree(), lpistateFree(), lpistateFree(), lpistateFree(), lpistateFree(), lpistateFree(), multihashResize(), reoptnodeDelete(), reoptnodeReset(), reoptnodeResetDualConss(), reoptnodeUpdateDualConss(), SCIP_DECL_BANDITFREE(), SCIP_DECL_BANDITFREE(), SCIP_DECL_BANDITFREE(), SCIP_DECL_BANDITFREE(), SCIPbendersExit(), SCIPcliquelistDel(), SCIPconsChgName(), SCIPconsFree(), SCIPdecompFree(), SCIPdecompstoreFree(), SCIPdigraphFree(), SCIPdigraphFreeComponents(), SCIPdigraphGetArticulationPoints(), SCIPdisjointsetFree(), SCIPexprFreeQuadratic(), SCIPhashmapFree(), SCIPhashsetFree(), SCIPhashtableFree(), SCIPlpiFreeNorms(), SCIPlpiGetNorms(), SCIPmultihashFree(), SCIPnlpFree(), SCIPnlrowRelease(), SCIPreoptApplyCuts(), SCIPreoptFree(), SCIPreoptReleaseData(), SCIProwFree(), SCIPtreeFree(), SCIPvaluehistoryFree(), SCIPvarChgName(), SCIPvarMultiaggregate(), and varFree().
#define BMSfreeBlockMemoryArrayNull | ( | mem, | |
ptr, | |||
num ) |
Definition at line 468 of file memory.h.
Referenced by cliqueFree(), forkFree(), freeExpr(), lpistateFree(), pseudoforkFree(), reoptnodeDelete(), SCIPboolarrayExtend(), SCIPboolarrayFree(), SCIPcliquelistFree(), SCIPcolFree(), SCIPconflictsetFree(), SCIPconflictstoreFree(), SCIPconssetchgFree(), SCIPdigraphFree(), SCIPdomchgFree(), SCIPdomchgMakeStatic(), SCIPeventfilterFree(), SCIPexprFreeQuadratic(), SCIPimplicsFree(), SCIPintarrayExtend(), SCIPintarrayFree(), SCIPnlpFree(), SCIPnlpReset(), SCIPnlrowRelease(), SCIPproofsetFree(), SCIPptrarrayExtend(), SCIPptrarrayFree(), SCIPrealarrayExtend(), SCIPrealarrayFree(), SCIPreoptApplyCuts(), SCIPreoptFree(), SCIProwFree(), SCIPvboundsFree(), subrootFree(), varFree(), and varFreeParents().
#define BMSfreeBlockMemorySize | ( | mem, | |
ptr, | |||
size ) |
#define BMSfreeBlockMemorySizeNull | ( | mem, | |
ptr, | |||
size ) |
#define BMSgarbagecollectBlockMemory | ( | mem | ) |
Definition at line 472 of file memory.h.
Referenced by SCIPtransformProb().
#define BMSgetBlockMemoryAllocated | ( | mem | ) |
Definition at line 473 of file memory.h.
Referenced by SCIPmemGetTotal().
#define BMSgetBlockMemoryUsed | ( | mem | ) |
Definition at line 474 of file memory.h.
Referenced by SCIPmemGetUsed().
#define BMSgetBlockMemoryUnused | ( | mem | ) |
#define BMSgetBlockMemoryUsedMax | ( | mem | ) |
Definition at line 476 of file memory.h.
Referenced by SCIPmemGetUsedBlockmemoryMax().
#define BMSgetBlockMemoryUnusedMax | ( | mem | ) |
Definition at line 477 of file memory.h.
Referenced by SCIPmemGetUnusedBlockmemoryMax().
#define BMSgetBlockMemoryAllocatedMax | ( | mem | ) |
Definition at line 478 of file memory.h.
Referenced by SCIPmemGetAllocatedBlockmemoryMax().
#define BMSgetBlockPointerSize | ( | mem, | |
ptr ) |
#define BMSdisplayBlockMemory | ( | mem | ) |
Definition at line 480 of file memory.h.
Referenced by SCIPprintMemoryDiagnostic().
#define BMSblockMemoryCheckEmpty | ( | mem | ) |
Definition at line 481 of file memory.h.
Referenced by SCIPmemFree().
#define BMSallocBufferMemory | ( | mem, | |
ptr ) |
#define BMSallocBufferMemorySize | ( | mem, | |
ptr, | |||
size ) |
#define BMSreallocBufferMemorySize | ( | mem, | |
ptr, | |||
size ) |
#define BMSallocBufferMemoryArray | ( | mem, | |
ptr, | |||
num ) |
Definition at line 731 of file memory.h.
Referenced by hashExpr(), SCIPexprComputeQuadraticCurvature(), SCIPexprhdlrBwDiffExpr(), SCIPexprhdlrEvalExpr(), SCIPexprhdlrEvalFwDiffExpr(), and SCIPlapackSolveLinearEquations().
#define BMSallocClearBufferMemoryArray | ( | mem, | |
ptr, | |||
num ) |
Definition at line 732 of file memory.h.
Referenced by SCIPexprComputeQuadraticCurvature().
#define BMSreallocBufferMemoryArray | ( | mem, | |
ptr, | |||
num ) |
Definition at line 733 of file memory.h.
Referenced by hashExpr().
#define BMSduplicateBufferMemory | ( | mem, | |
ptr, | |||
source, | |||
size ) |
#define BMSduplicateBufferMemoryArray | ( | mem, | |
ptr, | |||
source, | |||
num ) |
Definition at line 737 of file memory.h.
Referenced by dataReset(), and SCIPlapackSolveLinearEquations().
#define BMSfreeBufferMemory | ( | mem, | |
ptr ) |
#define BMSfreeBufferMemoryNull | ( | mem, | |
ptr ) |
#define BMSfreeBufferMemoryArray | ( | mem, | |
ptr ) |
Definition at line 742 of file memory.h.
Referenced by dataReset(), hashExpr(), SCIPexprComputeQuadraticCurvature(), SCIPexprhdlrBwDiffExpr(), SCIPexprhdlrEvalExpr(), SCIPexprhdlrEvalFwDiffExpr(), and SCIPlapackSolveLinearEquations().
#define BMSfreeBufferMemoryArrayNull | ( | mem, | |
ptr ) |
#define BMSfreeBufferMemorySize | ( | mem, | |
ptr ) |
#define BMSfreeBufferMemorySizeNull | ( | mem, | |
ptr ) |
#define BMScreateBufferMemory | ( | fac, | |
init, | |||
clean ) |
Definition at line 747 of file memory.h.
Referenced by SCIPmemCreate().
#define BMSdestroyBufferMemory | ( | mem | ) |
Definition at line 748 of file memory.h.
Referenced by SCIPmemFree().
typedef struct BMS_ChkMem BMS_CHKMEM |
typedef struct BMS_BlkMem BMS_BLKMEM |
typedef struct BMS_BufMem BMS_BUFMEM |
void * BMSallocClearMemory_call | ( | size_t | num, |
size_t | typesize, | ||
const char * | filename, | ||
int | line ) |
allocates array and initializes it with 0; returns NULL if memory allocation failed
num | number of memory element to allocate |
typesize | size of one memory element to allocate |
filename | source file where the allocation is performed |
line | line number in source file where the allocation is performed |
Definition at line 350 of file memory.c.
References addMemlistEntry, assert(), debugMessage, MAX, MAXMEMSIZE, NULL, printError, and printErrorHeader.
void * BMSallocMemory_call | ( | size_t | size, |
const char * | filename, | ||
int | line ) |
allocates memory; returns NULL if memory allocation failed
size | size of memory element to allocate |
filename | source file where the allocation is performed |
line | line number in source file where the allocation is performed |
Definition at line 389 of file memory.c.
References addMemlistEntry, debugMessage, MAX, MAXMEMSIZE, NULL, printError, and printErrorHeader.
Referenced by BMSduplicateMemory_call().
void * BMSallocMemoryArray_call | ( | size_t | num, |
size_t | typesize, | ||
const char * | filename, | ||
int | line ) |
allocates array; returns NULL if memory allocation failed
num | number of components of array to allocate |
typesize | size of each component |
filename | source file where the allocation is performed |
line | line number in source file where the allocation is performed |
Definition at line 423 of file memory.c.
References addMemlistEntry, debugMessage, MAX, MAXMEMSIZE, NULL, printError, and printErrorHeader.
Referenced by BMSduplicateMemoryArray_call().
void * BMSreallocMemory_call | ( | void * | ptr, |
size_t | size, | ||
const char * | filename, | ||
int | line ) |
allocates memory; returns NULL if memory allocation failed
ptr | pointer to memory to reallocate |
size | new size of memory element |
filename | source file where the reallocation is performed |
line | line number in source file where the reallocation is performed |
Definition at line 461 of file memory.c.
References addMemlistEntry, MAX, MAXMEMSIZE, NULL, printError, printErrorHeader, and removeMemlistEntry.
void * BMSreallocMemoryArray_call | ( | void * | ptr, |
size_t | num, | ||
size_t | typesize, | ||
const char * | filename, | ||
int | line ) |
reallocates array; returns NULL if memory allocation failed
ptr | pointer to memory to reallocate |
num | number of components of array to allocate |
typesize | size of each component |
filename | source file where the reallocation is performed |
line | line number in source file where the reallocation is performed |
Definition at line 497 of file memory.c.
References addMemlistEntry, MAX, MAXMEMSIZE, NULL, printError, printErrorHeader, and removeMemlistEntry.
void BMSclearMemory_call | ( | void * | ptr, |
size_t | size ) |
void BMScopyMemory_call | ( | void * | ptr, |
const void * | source, | ||
size_t | size ) |
copies the contents of one memory element into another memory element
ptr | pointer to target memory element |
source | pointer to source memory element |
size | size of memory element to copy |
Definition at line 549 of file memory.c.
References assert(), and NULL.
Referenced by BMSduplicateMemory_call(), and BMSduplicateMemoryArray_call().
void BMSmoveMemory_call | ( | void * | ptr, |
const void * | source, | ||
size_t | size ) |
moves the contents of one memory element into another memory element, should be used if both elements overlap, otherwise BMScopyMemory is faster
ptr | pointer to target memory element |
source | pointer to source memory element |
size | size of memory element to copy |
void * BMSduplicateMemory_call | ( | const void * | source, |
size_t | size, | ||
const char * | filename, | ||
int | line ) |
allocates memory and copies the contents of the given memory element into the new memory element
source | pointer to source memory element |
size | size of memory element to copy |
filename | source file where the duplication is performed |
line | line number in source file where the duplication is performed |
Definition at line 581 of file memory.c.
References assert(), BMSallocMemory_call(), BMScopyMemory_call(), and NULL.
void * BMSduplicateMemoryArray_call | ( | const void * | source, |
size_t | num, | ||
size_t | typesize, | ||
const char * | filename, | ||
int | line ) |
allocates array and copies the contents of the given source array into the new array
source | pointer to source memory element |
num | number of components of array to allocate |
typesize | size of each component |
filename | source file where the duplication is performed |
line | line number in source file where the duplication is performed |
Definition at line 600 of file memory.c.
References assert(), BMSallocMemoryArray_call(), BMScopyMemory_call(), and NULL.
void BMSfreeMemory_call | ( | void ** | ptr, |
const char * | filename, | ||
int | line ) |
frees an allocated memory element and sets pointer to NULL
ptr | pointer to pointer to memory element |
filename | source file where the deallocation is performed |
line | line number in source file where the deallocation is performed |
Definition at line 620 of file memory.c.
References assert(), NULL, printError, printErrorHeader, and removeMemlistEntry.
void BMSfreeMemoryNull_call | ( | void ** | ptr, |
const char * | filename, | ||
int | line ) |
frees an allocated memory element if pointer is not NULL and sets pointer to NULL
ptr | pointer to pointer to memory element |
filename | source file where the deallocation is performed |
line | line number in source file where the deallocation is performed |
Definition at line 642 of file memory.c.
References assert(), NULL, and removeMemlistEntry.
size_t BMSgetPointerSize_call | ( | const void * | ptr | ) |
void BMSdisplayMemory_call | ( | void | ) |
void BMScheckEmptyMemory_call | ( | void | ) |
long long BMSgetMemoryUsed_call | ( | void | ) |
void BMSalignMemsize | ( | size_t * | size | ) |
aligns the given byte size corresponding to the minimal alignment for chunk and block memory
size | pointer to the size to align |
Definition at line 768 of file memory.c.
References ALIGNMENT, alignSize(), and assert().
int BMSisAligned | ( | size_t | size | ) |
checks whether the given size meets the alignment conditions for chunk and block memory
size | size to check for alignment |
Definition at line 777 of file memory.c.
References ALIGNMENT, and assert().
Referenced by createChkmem(), createChunk(), and getHashNumber().
BMS_CHKMEM * BMScreateChunkMemory_call | ( | size_t | size, |
int | initchunksize, | ||
int | garbagefactor, | ||
const char * | filename, | ||
int | line ) |
creates a new chunk block data structure
size | element size of the chunk block |
initchunksize | number of elements in the first chunk of the chunk block |
garbagefactor | garbage collector is called, if at least garbagefactor * avg. chunksize elements are free (-1: disable garbage collection) |
filename | source file of the function call |
line | line number in source file of the function call |
Definition at line 1463 of file memory.c.
References alignSize(), createChkmem(), debugMessage, NULL, printError, and printErrorHeader.
void BMSclearChunkMemory_call | ( | BMS_CHKMEM * | chkmem, |
const char * | filename, | ||
int | line ) |
clears a chunk block data structure
chkmem | chunk block |
filename | source file of the function call |
line | line number in source file of the function call |
Definition at line 1487 of file memory.c.
References clearChkmem(), debugMessage, NULL, printError, and printErrorHeader.
void BMSdestroyChunkMemory_call | ( | BMS_CHKMEM ** | chkmem, |
const char * | filename, | ||
int | line ) |
destroys and frees a chunk block data structure
chkmem | pointer to chunk block |
filename | source file of the function call |
line | line number in source file of the function call |
Definition at line 1505 of file memory.c.
References assert(), debugMessage, destroyChkmem(), NULL, printError, and printErrorHeader.
void * BMSallocChunkMemory_call | ( | BMS_CHKMEM * | chkmem, |
size_t | size, | ||
const char * | filename, | ||
int | line ) |
allocates a memory element of the given chunk block
chkmem | chunk block |
size | size of memory element to allocate (only needed for sanity check) |
filename | source file of the function call |
line | line number in source file of the function call |
Definition at line 1525 of file memory.c.
References allocChkmemElement(), assert(), checkChkmem, debugMessage, NULL, printError, and printErrorHeader.
Referenced by BMSduplicateChunkMemory_call().
void * BMSduplicateChunkMemory_call | ( | BMS_CHKMEM * | chkmem, |
const void * | source, | ||
size_t | size, | ||
const char * | filename, | ||
int | line ) |
duplicates a given memory element by allocating a new element of the same chunk block and copying the data
chkmem | chunk block |
source | source memory element |
size | size of memory element to allocate (only needed for sanity check) |
filename | source file of the function call |
line | line number in source file of the function call |
Definition at line 1552 of file memory.c.
References assert(), BMSallocChunkMemory_call(), BMScopyMemorySize, and NULL.
void BMSfreeChunkMemory_call | ( | BMS_CHKMEM * | chkmem, |
void ** | ptr, | ||
size_t | size, | ||
const char * | filename, | ||
int | line ) |
frees a memory element of the given chunk block and sets pointer to NULL
chkmem | chunk block |
ptr | pointer to pointer to memory element to free |
size | size of memory element to allocate (only needed for sanity check) |
filename | source file of the function call |
line | line number in source file of the function call |
Definition at line 1574 of file memory.c.
References assert(), checkChkmem, debugMessage, freeChkmemElement(), NULL, printError, and printErrorHeader.
void BMSfreeChunkMemoryNull_call | ( | BMS_CHKMEM * | chkmem, |
void ** | ptr, | ||
size_t | size, | ||
const char * | filename, | ||
int | line ) |
frees a memory element of the given chunk block if pointer is not NULL and sets pointer to NULL
chkmem | chunk block |
ptr | pointer to pointer to memory element to free |
size | size of memory element to allocate (only needed for sanity check) |
filename | source file of the function call |
line | line number in source file of the function call |
Definition at line 1603 of file memory.c.
References assert(), checkChkmem, debugMessage, freeChkmemElement(), and NULL.
void BMSgarbagecollectChunkMemory_call | ( | BMS_CHKMEM * | chkmem | ) |
calls garbage collection of chunk block and frees chunks without allocated memory elements
chkmem | chunk block |
Definition at line 1627 of file memory.c.
References debugMessage, garbagecollectChkmem(), and NULL.
long long BMSgetChunkMemoryUsed_call | ( | const BMS_CHKMEM * | chkmem | ) |
BMS_BLKMEM * BMScreateBlockMemory_call | ( | int | initchunksize, |
int | garbagefactor, | ||
const char * | filename, | ||
int | line ) |
creates a block memory allocation data structure
initchunksize | number of elements in the first chunk of each chunk block |
garbagefactor | garbage collector is called, if at least garbagefactor * avg. chunksize elements are free (-1: disable garbage collection) |
filename | source file of the function call |
line | line number in source file of the function call |
Definition at line 1735 of file memory.c.
References BMSallocMemory, CHKHASH_SIZE, i, NULL, printError, and printErrorHeader.
void BMSclearBlockMemory_call | ( | BMS_BLKMEM * | blkmem, |
const char * | filename, | ||
int | line ) |
frees all chunk blocks in the block memory
blkmem | block memory |
filename | source file of the function call |
line | line number in source file of the function call |
Definition at line 1769 of file memory.c.
References assert(), CHKHASH_SIZE, destroyChkmem(), i, NULL, printError, and printErrorHeader.
Referenced by BMSdestroyBlockMemory_call().
void BMSdestroyBlockMemory_call | ( | BMS_BLKMEM ** | blkmem, |
const char * | filename, | ||
int | line ) |
clears and deletes block memory
blkmem | pointer to block memory |
filename | source file of the function call |
line | line number in source file of the function call |
Definition at line 1803 of file memory.c.
References assert(), BMSclearBlockMemory_call(), BMSfreeMemory, NULL, printError, and printErrorHeader.
void * BMSallocBlockMemory_call | ( | BMS_BLKMEM * | blkmem, |
size_t | size, | ||
const char * | filename, | ||
int | line ) |
allocates memory in the block memory pool
blkmem | block memory |
size | size of memory element to allocate |
filename | source file of the function call |
line | line number in source file of the function call |
Definition at line 1897 of file memory.c.
References BMSallocBlockMemory_work(), MAXMEMSIZE, NULL, printError, and printErrorHeader.
Referenced by BMSallocClearBlockMemory_call(), BMSduplicateBlockMemory_call(), and BMSreallocBlockMemory_call().
void * BMSallocClearBlockMemory_call | ( | BMS_BLKMEM * | blkmem, |
size_t | size, | ||
const char * | filename, | ||
int | line ) |
allocates memory in the block memory pool and clears it
blkmem | block memory |
size | size of memory element to allocate |
filename | source file of the function call |
line | line number in source file of the function call |
Definition at line 1917 of file memory.c.
References BMSallocBlockMemory_call(), BMSclearMemorySize, and NULL.
void * BMSallocBlockMemoryArray_call | ( | BMS_BLKMEM * | blkmem, |
size_t | num, | ||
size_t | typesize, | ||
const char * | filename, | ||
int | line ) |
allocates array in the block memory pool
blkmem | block memory |
num | size of array to be allocated |
typesize | size of each component |
filename | source file of the function call |
line | line number in source file of the function call |
Definition at line 1934 of file memory.c.
References BMSallocBlockMemory_work(), MAXMEMSIZE, NULL, printError, and printErrorHeader.
Referenced by BMSallocClearBlockMemoryArray_call(), BMSduplicateBlockMemoryArray_call(), and BMSreallocBlockMemoryArray_call().
void * BMSallocClearBlockMemoryArray_call | ( | BMS_BLKMEM * | blkmem, |
size_t | num, | ||
size_t | typesize, | ||
const char * | filename, | ||
int | line ) |
allocates array in the block memory pool and clears it
blkmem | block memory |
num | size of array to be allocated |
typesize | size of each component |
filename | source file of the function call |
line | line number in source file of the function call |
Definition at line 1955 of file memory.c.
References BMSallocBlockMemoryArray_call(), BMSclearMemorySize, and NULL.
void * BMSreallocBlockMemory_call | ( | BMS_BLKMEM * | blkmem, |
void * | ptr, | ||
size_t | oldsize, | ||
size_t | newsize, | ||
const char * | filename, | ||
int | line ) |
resizes memory element in the block memory pool and copies the data
blkmem | block memory |
ptr | memory element to reallocated |
oldsize | old size of memory element |
newsize | new size of memory element |
filename | source file of the function call |
line | line number in source file of the function call |
Definition at line 1973 of file memory.c.
References alignSize(), assert(), BMSallocBlockMemory_call(), BMScopyMemorySize, BMSfreeBlockMemory_call(), MAXMEMSIZE, MIN, NULL, printError, and printErrorHeader.
void * BMSreallocBlockMemoryArray_call | ( | BMS_BLKMEM * | blkmem, |
void * | ptr, | ||
size_t | oldnum, | ||
size_t | newnum, | ||
size_t | typesize, | ||
const char * | filename, | ||
int | line ) |
resizes array in the block memory pool and copies the data
blkmem | block memory |
ptr | memory element to reallocated |
oldnum | old size of array |
newnum | new size of array |
typesize | size of each component |
filename | source file of the function call |
line | line number in source file of the function call |
Definition at line 2013 of file memory.c.
References assert(), BMSallocBlockMemoryArray_call(), BMScopyMemorySize, BMSfreeBlockMemory_call(), MAXMEMSIZE, MIN, NULL, printError, and printErrorHeader.
void * BMSduplicateBlockMemory_call | ( | BMS_BLKMEM * | blkmem, |
const void * | source, | ||
size_t | size, | ||
const char * | filename, | ||
int | line ) |
duplicates memory element in the block memory pool and copies the data
blkmem | block memory |
source | memory element to duplicate |
size | size of memory elements |
filename | source file of the function call |
line | line number in source file of the function call |
Definition at line 2052 of file memory.c.
References assert(), BMSallocBlockMemory_call(), BMScopyMemorySize, and NULL.
void * BMSduplicateBlockMemoryArray_call | ( | BMS_BLKMEM * | blkmem, |
const void * | source, | ||
size_t | num, | ||
size_t | typesize, | ||
const char * | filename, | ||
int | line ) |
duplicates array in the block memory pool and copies the data
blkmem | block memory |
source | memory element to duplicate |
num | size of array to be duplicated |
typesize | size of each component |
filename | source file of the function call |
line | line number in source file of the function call |
Definition at line 2072 of file memory.c.
References assert(), BMSallocBlockMemoryArray_call(), BMScopyMemorySize, and NULL.
void BMSfreeBlockMemory_call | ( | BMS_BLKMEM * | blkmem, |
void ** | ptr, | ||
size_t | size, | ||
const char * | filename, | ||
int | line ) |
frees memory element in the block memory pool and sets pointer to NULL
blkmem | block memory |
ptr | pointer to pointer to memory element to free |
size | size of memory element |
filename | source file of the function call |
line | line number in source file of the function call |
Definition at line 2142 of file memory.c.
References assert(), BMSfreeBlockMemory_work(), checkBlkmem, NULL, printError, and printErrorHeader.
Referenced by BMSreallocBlockMemory_call(), and BMSreallocBlockMemoryArray_call().
void BMSfreeBlockMemoryNull_call | ( | BMS_BLKMEM * | blkmem, |
void ** | ptr, | ||
size_t | size, | ||
const char * | filename, | ||
int | line ) |
frees memory element in the block memory pool if pointer is not NULL and sets pointer to NULL
blkmem | block memory |
ptr | pointer to pointer to memory element to free |
size | size of memory element |
filename | source file of the function call |
line | line number in source file of the function call |
Definition at line 2164 of file memory.c.
References assert(), BMSfreeBlockMemory_work(), checkBlkmem, and NULL.
void BMSgarbagecollectBlockMemory_call | ( | BMS_BLKMEM * | blkmem | ) |
calls garbage collection of block memory, frees chunks without allocated memory elements, and frees chunk blocks without any chunks
blkmem | block memory |
Definition at line 2185 of file memory.c.
References assert(), checkBlkmem, CHKHASH_SIZE, destroyChkmem(), garbagecollectChkmem(), i, and NULL.
long long BMSgetBlockMemoryAllocated_call | ( | const BMS_BLKMEM * | blkmem | ) |
long long BMSgetBlockMemoryUsed_call | ( | const BMS_BLKMEM * | blkmem | ) |
long long BMSgetBlockMemoryUnused_call | ( | const BMS_BLKMEM * | blkmem | ) |
long long BMSgetBlockMemoryUsedMax_call | ( | const BMS_BLKMEM * | blkmem | ) |
long long BMSgetBlockMemoryUnusedMax_call | ( | const BMS_BLKMEM * | blkmem | ) |
long long BMSgetBlockMemoryAllocatedMax_call | ( | const BMS_BLKMEM * | blkmem | ) |
size_t BMSgetBlockPointerSize_call | ( | const BMS_BLKMEM * | blkmem, |
const void * | ptr ) |
returns the size of the given memory element; returns 0, if the element is not member of the block memory
blkmem | block memory |
ptr | memory element |
Definition at line 2279 of file memory.c.
References assert(), findChkmem(), and NULL.
void BMSdisplayBlockMemory_call | ( | const BMS_BLKMEM * | blkmem | ) |
outputs allocation diagnostics of block memory
blkmem | block memory |
Definition at line 2299 of file memory.c.
References assert(), CHKHASH_SIZE, FOR_EACH_NODE, i, NULL, and printInfo.
long long BMScheckEmptyBlockMemory_call | ( | const BMS_BLKMEM * | blkmem | ) |
outputs error messages, if there are allocated elements in the block memory and returns number of unfreed bytes
blkmem | block memory |
Definition at line 2423 of file memory.c.
References assert(), CHKHASH_SIZE, errorMessage, FOR_EACH_NODE, i, LONGINT_FORMAT, NULL, and SCIP_UNUSED.
BMS_BUFMEM * BMScreateBufferMemory_call | ( | double | arraygrowfac, |
int | arraygrowinit, | ||
unsigned int | clean, | ||
const char * | filename, | ||
int | line ) |
creates memory buffer storage
arraygrowfac | memory growing factor for dynamically allocated arrays |
arraygrowinit | initial size of dynamically allocated arrays |
clean | should the memory blocks in the buffer be initialized to zero? |
filename | source file of the function call |
line | line number in source file of the function call |
Definition at line 2518 of file memory.c.
References BMS_BufMem::arraygrowfac, BMS_BufMem::arraygrowinit, assert(), BMSallocMemory, BMS_BufMem::clean, BMS_BufMem::data, BMS_BufMem::firstfree, BMS_BufMem::ndata, NULL, printError, printErrorHeader, BMS_BufMem::size, BMS_BufMem::totalmem, and BMS_BufMem::used.
void BMSdestroyBufferMemory_call | ( | BMS_BUFMEM ** | buffer, |
const char * | filename, | ||
int | line ) |
destroys buffer memory
buffer | pointer to memory buffer storage |
filename | source file of the function call |
line | line number in source file of the function call |
Definition at line 2554 of file memory.c.
References assert(), BMSfreeMemory, BMSfreeMemoryArrayNull, i, NULL, printError, and printErrorHeader.
void BMSsetBufferMemoryArraygrowfac | ( | BMS_BUFMEM * | buffer, |
double | arraygrowfac ) |
set arraygrowfac
buffer | pointer to memory buffer storage |
arraygrowfac | memory growing factor for dynamically allocated arrays |
Definition at line 2587 of file memory.c.
References BMS_BufMem::arraygrowfac, assert(), and NULL.
Referenced by SCIP_DECL_PARAMCHGD().
void BMSsetBufferMemoryArraygrowinit | ( | BMS_BUFMEM * | buffer, |
int | arraygrowinit ) |
set arraygrowinit
buffer | pointer to memory buffer storage |
arraygrowinit | initial size of dynamically allocated arrays |
Definition at line 2599 of file memory.c.
References BMS_BufMem::arraygrowinit, assert(), and NULL.
Referenced by SCIP_DECL_PARAMCHGD().
void * BMSallocBufferMemory_call | ( | BMS_BUFMEM * | buffer, |
size_t | size, | ||
const char * | filename, | ||
int | line ) |
allocates the next unused buffer
buffer | memory buffer storage |
size | minimal required size of the buffer |
filename | source file of the function call |
line | line number in source file of the function call |
Definition at line 2792 of file memory.c.
References BMSallocBufferMemory_work(), MAXMEMSIZE, NULL, printError, and printErrorHeader.
Referenced by BMSduplicateBufferMemory_call(), and BMSreallocBufferMemory_work().
void * BMSallocBufferMemoryArray_call | ( | BMS_BUFMEM * | buffer, |
size_t | num, | ||
size_t | typesize, | ||
const char * | filename, | ||
int | line ) |
allocates the next unused buffer array
buffer | memory buffer storage |
num | size of array to be allocated |
typesize | size of components |
filename | source file of the function call |
line | line number in source file of the function call |
Definition at line 2812 of file memory.c.
References BMSallocBufferMemory_work(), MAXMEMSIZE, NULL, printError, and printErrorHeader.
Referenced by BMSallocClearBufferMemoryArray_call(), and BMSduplicateBufferMemoryArray_call().
void * BMSallocClearBufferMemoryArray_call | ( | BMS_BUFMEM * | buffer, |
size_t | num, | ||
size_t | typesize, | ||
const char * | filename, | ||
int | line ) |
allocates the next unused buffer and clears it
buffer | memory buffer storage |
num | size of array to be allocated |
typesize | size of components |
filename | source file of the function call |
line | line number in source file of the function call |
Definition at line 2833 of file memory.c.
References BMSallocBufferMemoryArray_call(), BMSclearMemorySize, and NULL.
void * BMSreallocBufferMemory_call | ( | BMS_BUFMEM * | buffer, |
void * | ptr, | ||
size_t | size, | ||
const char * | filename, | ||
int | line ) |
reallocates the buffer to at least the given size
buffer | memory buffer storage |
ptr | pointer to the allocated memory buffer |
size | minimal required size of the buffer |
filename | source file of the function call |
line | line number in source file of the function call |
Definition at line 2924 of file memory.c.
References BMSreallocBufferMemory_work(), MAXMEMSIZE, NULL, printError, and printErrorHeader.
void * BMSreallocBufferMemoryArray_call | ( | BMS_BUFMEM * | buffer, |
void * | ptr, | ||
size_t | num, | ||
size_t | typesize, | ||
const char * | filename, | ||
int | line ) |
reallocates an array in the buffer to at least the given size
buffer | memory buffer storage |
ptr | pointer to the allocated memory buffer |
num | size of array to be allocated |
typesize | size of components |
filename | source file of the function call |
line | line number in source file of the function call |
Definition at line 2945 of file memory.c.
References BMSreallocBufferMemory_work(), MAXMEMSIZE, NULL, printError, and printErrorHeader.
void * BMSduplicateBufferMemory_call | ( | BMS_BUFMEM * | buffer, |
const void * | source, | ||
size_t | size, | ||
const char * | filename, | ||
int | line ) |
allocates the next unused buffer and copies the given memory into the buffer
buffer | memory buffer storage |
source | memory block to copy into the buffer |
size | minimal required size of the buffer |
filename | source file of the function call |
line | line number in source file of the function call |
Definition at line 2967 of file memory.c.
References assert(), BMSallocBufferMemory_call(), BMScopyMemorySize, and NULL.
void * BMSduplicateBufferMemoryArray_call | ( | BMS_BUFMEM * | buffer, |
const void * | source, | ||
size_t | num, | ||
size_t | typesize, | ||
const char * | filename, | ||
int | line ) |
allocates an array in the next unused buffer and copies the given memory into the buffer
buffer | memory buffer storage |
source | memory block to copy into the buffer |
num | size of array to be allocated |
typesize | size of components |
filename | source file of the function call |
line | line number in source file of the function call |
Definition at line 2990 of file memory.c.
References assert(), BMSallocBufferMemoryArray_call(), BMScopyMemorySize, and NULL.
void BMSfreeBufferMemory_call | ( | BMS_BUFMEM * | buffer, |
void ** | ptr, | ||
const char * | filename, | ||
int | line ) |
frees a buffer and sets pointer to NULL
buffer | memory buffer storage |
ptr | pointer to pointer to the allocated memory buffer |
filename | source file of the function call |
line | line number in source file of the function call |
Definition at line 3086 of file memory.c.
References assert(), BMSfreeBufferMemory_work(), BMSfreeMemory, NULL, printError, and printErrorHeader.
void BMSfreeBufferMemoryNull_call | ( | BMS_BUFMEM * | buffer, |
void ** | ptr, | ||
const char * | filename, | ||
int | line ) |
frees a buffer if pointer is not NULL and sets pointer to NULL
buffer | memory buffer storage |
ptr | pointer to pointer to the allocated memory buffer |
filename | source file of the function call |
line | line number in source file of the function call |
Definition at line 3109 of file memory.c.
References assert(), BMSfreeBufferMemory_work(), BMSfreeMemory, and NULL.
size_t BMSgetNUsedBufferMemory | ( | BMS_BUFMEM * | buffer | ) |
gets number of used buffers
buffer | memory buffer storage |
Definition at line 3129 of file memory.c.
References assert(), BMS_BufMem::firstfree, and NULL.
Referenced by exitPresolve(), initPresolve(), presolve(), presolveRound(), priceAndCutLoop(), propagationRound(), propAndSolve(), SCIPprimalHeuristics(), SCIPsolveCIP(), separationRoundLP(), and solveNode().
long long BMSgetBufferMemoryUsed | ( | const BMS_BUFMEM * | buffer | ) |
returns the number of allocated bytes in the buffer memory
buffer | buffer memory |
Definition at line 3139 of file memory.c.
References assert(), i, BMS_BufMem::ndata, NULL, BMS_BufMem::size, and BMS_BufMem::totalmem.
Referenced by SCIPmemGetTotal(), and SCIPmemGetUsed().
void BMSprintBufferMemory | ( | BMS_BUFMEM * | buffer | ) |
outputs statistics about currently allocated buffers to the screen
buffer | memory buffer storage |
Definition at line 3157 of file memory.c.
References assert(), BMS_BufMem::data, i, BMS_BufMem::ndata, NULL, BMS_BufMem::size, and BMS_BufMem::used.
Referenced by SCIPprintMemoryDiagnostic().