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 *buffer) |
| 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(), lpExactStoreSolVals(), lpStoreSolVals(), pushPstack(), SCIP_DECL_CONCSOLVERCREATEINST(), SCIPactivityCreate(), SCIPbendersActivate(), SCIPbranchcandCreate(), SCIPcertificateCreate(), SCIPcliquetableCreate(), SCIPclockCreate(), SCIPconcsolverCreateInstance(), SCIPconflictCreate(), SCIPconflictstoreCreate(), SCIPcreateMessagehdlrPbSolver(), SCIPcutpoolCreate(), SCIPdialogCreate(), SCIPdialoghdlrAddInputLine(), SCIPdialoghdlrCreate(), SCIPeventqueueCreate(), SCIPinterruptCreate(), SCIPlpCreate(), SCIPlpExactCreate(), SCIPlpiCreate(), SCIPlpiExactCreate(), SCIPmemCreate(), SCIPmessagehdlrCreate(), SCIPnlpCreate(), SCIPnodepqCreate(), SCIPparamsetCreate(), SCIPpqueueCreate(), SCIPpricestoreCreate(), SCIPprimalCreate(), SCIPprobCreate(), SCIPqueueCreate(), SCIPrationalCreate(), SCIPregForestFromFile(), SCIPregressionCreate(), SCIPrelaxationCreate(), SCIPreoptCreate(), SCIPsepastoreCreate(), SCIPsepastoreExactCreate(), SCIPsparseSolCreate(), SCIPstatCreate(), SCIPsyncstoreCreate(), SCIPtpiCreateJob(), SCIPtpiInitCondition(), SCIPtpiInitLock(), SCIPtreeCreate(), SCIPvisualCreate(), SCIPxmlNewAttr(), SCIPxmlNewNode(), and tcliqueCreate().
| #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(), and SCIPlpiExactCreate().
| #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(), lpiStrongbranch(), lpiStrongbranches(), lpiStrongbranches(), main(), procPcdata(), SCIPbendersActivate(), SCIPcertificateInit(), SCIPcertificatePrintProblemRational(), SCIPcertificatePrintProofRational(), SCIPdialoghdlrCreate(), SCIPdigraphComputeDirectedComponents(), SCIPdigraphComputeUndirectedComponents(), SCIPdigraphGetArticulationPoints(), SCIPdigraphTopoSortComponents(), SCIPlpiAddCols(), SCIPlpiAddRows(), SCIPlpiClearState(), SCIPlpiCreate(), SCIPlpiDelCols(), SCIPlpiDelColset(), SCIPlpiDelRows(), SCIPlpiDelRowset(), SCIPlpiGetBasisInd(), SCIPlpiGetBInvACol(), SCIPlpiGetBInvARow(), SCIPlpiGetBInvCol(), SCIPlpiGetBInvRow(), SCIPlpiGetColNames(), SCIPlpiGetRowNames(), SCIPlpiGetSol(), SCIPlpiLoadColLP(), SCIPlpiReadLP(), SCIPlpiScaleCol(), SCIPlpiScaleRow(), SCIPlpiSetBase(), SCIPlpiSolvePrimal(), SCIPlpiWriteLP(), SCIPmessagehdlrCreate(), SCIPrationalCreateArray(), SCIPregForestFromFile(), SCIPreoptCreate(), SCIPsolveLinearEquationsIpopt(), SCIPsparseSolCreate(), SCIPtreeStoreRelaxSol(), SCIPxmlProcess(), tcliqueAddEdge(), tcliqueColoring(), tcliqueLoadFile(), and tcliqueMaxClique().
| #define BMSallocMemoryArrayCPP | ( | num, | |
| size ) |
| #define BMSallocClearMemoryArray | ( | ptr, | |
| num ) |
Definition at line 125 of file memory.h.
Referenced by reoptSaveNewObj(), SCIPbendersActivate(), SCIPbendersInitpre(), 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(), conflictClearResolution(), conflictEnsureConflictRowsMem(), conflictEnsureConflictsetsMem(), conflictEnsureProofsetsMem(), conflictEnsureTmpbdchginfosMem(), conshdlrEnsureCheckconssMem(), conshdlrEnsureConssMem(), conshdlrEnsureEnfoconssMem(), conshdlrEnsureInitconssMem(), conshdlrEnsurePropconssMem(), conshdlrEnsureSepaconssMem(), conshdlrEnsureUpdateconssMem(), cutpoolEnsureCutsMem(), doCdata(), ensureAptreMem(), ensureBkcMem(), ensureBkxMem(), ensureBoundchgMem(), ensureBoundchgMem(), ensureChgcolsSize(), ensureChgcolsSize(), ensureChgrowsSize(), ensureChgrowsSizeExact(), ensureCliquehashSize(), ensureColexsSize(), ensureColMem(), ensureColsSize(), ensureCstatMem(), ensureCstatMem(), ensureCstatMem(), ensureCstatMem(), ensureCstatMem(), ensureCstatMem(), ensureCstatMem(), ensureExistingsolsSize(), ensureExterncandsSize(), ensureLazycolsSize(), ensureLpcandsSize(), ensureLpicolsSize(), ensureLpiExactcolsSize(), ensureLpirowexactsSize(), ensureLpirowsSize(), ensurePartialsolsSize(), ensureProfileSize(), ensurePropagationStorage(), ensurePseudocandsSize(), ensureRngrowmapMem(), ensureRngrowsMem(), ensureRowexsSize(), 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(), SCIPrationalReallocArray(), SCIPtreeStoreRelaxSol(), sepastoreEnsureCutsMem(), sepastoreExactEnsureCutsMem(), storeSubproblemMasterVar(), 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(), SCIPincludeBenderscutInt(), SCIPincludeBendersDefault(), SCIPincludeConshdlrBenderslp(), SCIPincludeConshdlrRpa(), SCIPincludeCutselDynamic(), SCIPincludeCutselEnsemble(), SCIPincludeCutselHybrid(), SCIPincludeEventHdlrEstim(), SCIPincludeHeurAlns(), SCIPincludeHeurDualval(), SCIPincludeHeurMpec(), SCIPincludeHeurMultistart(), SCIPincludeHeurScheduler(), SCIPincludeHeurSubNlp(), SCIPincludeIISfinderGreedy(), SCIPincludeNlhdlrBilinear(), SCIPincludeNlhdlrPerspective(), SCIPincludeNlhdlrQuadratic(), SCIPincludeNlhdlrSignomial(), SCIPincludePricerRpa(), SCIPincludePropNlobbt(), SCIPincludePropObbt(), SCIPincludeSepaConvexproj(), SCIPincludeSepaGauge(), SCIPincludeSepaInterminor(), SCIPincludeSepaMinor(), SCIPincludeSepaZerohalf(), SCIPnlpiOracleCreate(), SCIPregForestFromFile(), SCIPxmlNewAttr(), SCIPxmlNewNode(), sepadataCreate(), and sepadataCreate().
| #define BMSclearMemoryArray | ( | ptr, | |
| num ) |
Definition at line 130 of file memory.h.
Referenced by addCliques(), addNegatedCliques(), addRelaxation(), alnsFixMoreVariables(), alnsUnfixVariables(), applyOptcumulative(), applyOptcumulativeFixings(), branch(), branch(), branchruledataEnsureNlcount(), calcCliquePartitionGreedy(), checkForOverlapping(), checkSolution(), checkSystemGF2(), checkViolations(), cleanupNetwork(), cliquePresolve(), computeCut(), computeGradient(), computeMinDistance(), computeRestrictionToLine(), computeRestrictionToRay(), computeRowJacobianSparsity(), conflictAnalyzeLP(), conflictsetCalcInsertDepth(), consCatchAllEvents(), consCatchAllEvents(), countNonlinearities(), createCGMIPprimalsols(), createCipFormulation(), createCoveringProblem(), createIntervalRelaxation(), createMipCpFormulation(), createSubSCIP(), createTcliqueGraph(), dataReset(), detectImpliedBounds(), detectParallelCols(), ensureClearBoolArraySize(), 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(), LNSFixMoreVariables(), LNSUnfixVariables(), lpbdchgsCreate(), lpbdchgsReset(), lpCleanupCols(), lpCleanupRows(), lpRemoveObsoleteCols(), lpRemoveObsoleteRows(), matrixSetColumnMajor(), mcfnetworkExtract(), mcfnetworkFill(), neighborhoodStatsReset(), nlpSolve(), nodepartitionCreate(), preprocessCliques(), presolveConsEffectiveHorizon(), presolveCumulativeCondition(), presolvePropagateCons(), probdataCreate(), processNlRow(), propagateCons(), propagateCons(), readFile(), readFile(), ReadMatrix(), 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(), SCIPlpExactGetSol(), SCIPlpGetDualfarkas(), SCIPlpGetSol(), SCIPlpiGetBInvACol(), SCIPlpiGetBInvARow(), SCIPlpiGetBInvCol(), SCIPlpiGetBInvRow(), SCIPlpiGetRows(), SCIPlpiGetSides(), SCIPlpRemoveRedundantRows(), SCIPmatrixCreate(), SCIPmatrixGetParallelCols(), SCIPmatrixGetParallelRows(), SCIPnlpGetVarsNonlinearity(), SCIPnlpiInit(), SCIPnlpiOracleAddVars(), SCIPnlpiOracleDelConsSet(), SCIPnlpiOracleEvalHessianLag(), SCIPnlpiOracleEvalJacobian(), SCIPnlpiOracleGetHessianLagSparsity(), SCIPpackCirclesGreedy(), SCIPprimalTransformSol(), SCIPprintSolutionStatistics(), SCIPprobdataEnumeratePatterns(), SCIPptrarrayClear(), SCIPrealarrayClear(), SCIPreoptAddCons(), SCIPrunBoundHeuristic(), SCIPseparateRelaxedKnapsack(), SCIPshrinkDisjunctiveVarSet(), SCIPsnprintfProbingStats(), SCIPwritePbm(), scoreContainterResetBestSortedCands(), searchEcAggrWithCliques(), separateCuts(), separateGLS(), separateHeur(), sequentialUpAndDownLifting(), sequentialUpAndDownLiftingGUB(), setColumnMajorFormat(), setupAggregationData(), shortenConss(), singletonColumnStuffing(), Solution(), 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 addSymmetryInformation(), calcMIRSafely(), computeConsAndDataChanges(), computeRowJacobianSparsity(), conflictRowCopy(), conflictRowReplace(), conflictsetCopy(), createSolTuple(), cutsRoundMIRSafely(), DECL_VARFIXINGS(), DECL_VARFIXINGS(), determineVariableFixings(), evaluateWorhpRun(), extendCliqueZeroWeight(), F77_FUNC(), F77_FUNC(), filterPatterns(), heurExec(), initWorhp(), mod2rowAddRow(), newSolution(), AMPLProblemHandler::OnHeader(), ReadMatrix(), 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_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_NLPISETINITIALGUESS(), SCIP_DECL_NLPISOLVE(), SCIP_DECL_NLPISOLVE(), SCIP_DECL_PROPEXITPRE(), SCIPaddRowprepTerms(), SCIPboolarrayExtend(), SCIPcalcKnapsackCover(), SCIPcalcMIR(), SCIPcalcStrongCG(), SCIPcertificateInit(), SCIPconshdlrsStorePropagationStatus(), SCIPcreateConsPseudobooleanWithConss(), SCIPcutGenerationHeuristicCMIR(), SCIPdigraphComputeUndirectedComponents(), SCIPgetBinvarRepresentatives(), SCIPheurPassIndicator(), SCIPintarrayExtend(), SCIPintervalPropagateWeightedSum(), SCIPlapackSolveLinearEquations(), SCIPlpiAddCols(), SCIPlpiAddRows(), SCIPlpiGetBInvARow(), SCIPlpiGetBounds(), SCIPlpiGetCols(), SCIPlpiGetObj(), SCIPlpiGetPrimalRay(), SCIPlpiGetRows(), SCIPlpiGetSides(), SCIPlpiGetSol(), SCIPlpiLoadColLP(), SCIPnlpiOracleAddVars(), SCIPnlpiOracleEvalJacobian(), SCIPnlpSetInitialGuess(), SCIPptrarrayExtend(), SCIPrandomGetSubset(), SCIPrealarrayExtend(), SCIPsolveLinearEquationsIpopt(), SCIPvarsGetActiveVars(), SCIPxmlProcess(), selectVarRecursive(), Solution(), solveLinearProb3(), tabooListFind(), tcliqueColoring(), and tryToInsert().
| #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(), SCIPrationalCopyArray(), SCIPsolveLinearEquationsIpopt(), SCIPsparseSolCreate(), SCIPxmlNewAttr(), SCIPxmlNewNode(), timeSeriesCreate(), and writeProblem().
| #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(), SCIP_DECL_MESSAGEHDLRFREE(), SCIPactivityFree(), SCIPbanditvtableFree(), SCIPbenderscutFree(), SCIPbendersDeactivate(), SCIPbendersFree(), SCIPbranchcandFree(), SCIPbranchruleFree(), SCIPcertificateFree(), SCIPcliquetableFree(), SCIPclockFree(), SCIPcomprFree(), SCIPconcsolverDestroyInstance(), SCIPconcsolverTypeFree(), SCIPconflictFree(), SCIPconflicthdlrFree(), SCIPconshdlrFree(), SCIPcutpoolFree(), SCIPcutselFree(), SCIPdialogCreate(), SCIPdialoghdlrAddInputLine(), SCIPdialoghdlrFree(), SCIPdispFree(), SCIPeventhdlrFree(), SCIPeventqueueFree(), SCIPfree(), SCIPheurFree(), SCIPinterruptFree(), SCIPlpExactFree(), SCIPlpFree(), SCIPlpiExactFree(), SCIPlpiFree(), SCIPmemFree(), SCIPmessageVFPrintDialog(), SCIPmessageVFPrintInfo(), SCIPmessageVFPrintVerbInfo(), SCIPmessageVFPrintWarning(), SCIPmessageVPrintError(), SCIPnlpFree(), SCIPnlpiCreate(), SCIPnlpiFree(), SCIPnlpiOracleFree(), SCIPnodepqDestroy(), SCIPnodeselFree(), SCIPparamsetFree(), SCIPpqueueFree(), SCIPpresolFree(), SCIPpricerFree(), SCIPpricestoreFree(), SCIPprimalFree(), SCIPprobFree(), SCIPprofileFree(), SCIPpropFree(), SCIPqueueFree(), SCIPrationalFree(), SCIPreaderFree(), SCIPregForestFree(), SCIPregressionFree(), SCIPrelaxationFree(), SCIPrelaxFree(), SCIPreoptFree(), SCIPsepaFree(), SCIPsepastoreExactFree(), SCIPsepastoreFree(), SCIPsparseSolFree(), SCIPstatFree(), SCIPsyncstoreRelease(), SCIPtableFree(), SCIPtpiCollectJobs(), SCIPtpiDestroyCondition(), SCIPtpiDestroyLock(), SCIPtpiInitLock(), SCIPtreeFree(), SCIPvisualFree(), SCIPxmlFreeNode(), tcliqueFree(), and xmlFreeAttr().
| #define BMSfreeMemoryNull | ( | ptr | ) |
Definition at line 146 of file memory.h.
Referenced by SCIPconflictstoreFree(), SCIPlpExactFree(), 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(), lpiStrongbranch(), lpiStrongbranches(), lpiStrongbranches(), paramFree(), probingnodeFree(), procInTag(), procPcdata(), schedulerFreeNeighborhood(), SCIPbenderscutFree(), SCIPbendersDeactivate(), SCIPbendersFree(), SCIPcertificateExit(), SCIPcertificatePrintProblemRational(), SCIPcertificatePrintProofRational(), SCIPconcsolverDestroyInstance(), SCIPdialoghdlrFree(), SCIPdispAutoActivate(), SCIPexprhdlrFree(), SCIPincludeDialogDefaultFix(), SCIPincludeDialogDefaultSet(), SCIPlpiAddCols(), SCIPlpiAddRows(), SCIPlpiClearState(), SCIPlpiDelCols(), SCIPlpiDelColset(), SCIPlpiDelRows(), SCIPlpiDelRowset(), SCIPlpiFree(), SCIPlpiGetBasisInd(), SCIPlpiGetBInvACol(), SCIPlpiGetBInvARow(), SCIPlpiGetBInvCol(), SCIPlpiGetBInvRow(), SCIPlpiGetSol(), SCIPlpiLoadColLP(), SCIPlpiScaleCol(), SCIPlpiScaleRow(), SCIPlpiSetBase(), SCIPlpiSolvePrimal(), SCIPnlpiCreate(), SCIPnlpiFree(), SCIPparamSetDefaultString(), SCIPpqueueFree(), SCIPprobDelCons(), SCIPprobFree(), SCIPprobSetName(), SCIPqueueFree(), SCIPreoptFree(), SCIPsolveLinearEquationsIpopt(), SCIPsparseSolFree(), SCIPxmlFreeNode(), SCIPxmlProcess(), tcliqueColoring(), tcliqueFlush(), tcliqueFree(), tcliqueMaxClique(), timeSeriesFree(), writeProblem(), and xmlFreeAttr().
| #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(), SCIPbendersDeactivate(), SCIPbendersExit(), SCIPbendersFree(), SCIPbranchcandFree(), SCIPbranchruleFree(), SCIPcliquetableFree(), SCIPcomprFree(), SCIPconcsolverTypeFree(), SCIPconflictFree(), SCIPconflicthdlrFree(), SCIPconshdlrFree(), SCIPconshdlrInitLP(), SCIPcutpoolFree(), SCIPcutselFree(), SCIPdialogCreate(), SCIPdigraphComputeDirectedComponents(), SCIPdigraphComputeUndirectedComponents(), SCIPdigraphGetArticulationPoints(), SCIPdigraphTopoSortComponents(), SCIPdispFree(), SCIPeventhdlrFree(), SCIPeventqueueFree(), SCIPexprhdlrFree(), SCIPheurFree(), SCIPlpExactFree(), SCIPlpFree(), SCIPlpiExactFree(), SCIPlpiFree(), SCIPlpiGetBInvARow(), SCIPlpiReadLP(), SCIPlpiWriteLP(), SCIPnodepqDestroy(), SCIPnodeselFree(), SCIPparamsetFree(), SCIPparamSetString(), SCIPpresolFree(), SCIPpricerFree(), SCIPpricestoreFree(), SCIPprimalFree(), SCIPprobFree(), SCIPprofileFree(), SCIPpropFree(), SCIPrationalFreeArray(), SCIPreaderFree(), SCIPregForestFree(), SCIPrelaxFree(), SCIPsepaFree(), SCIPsepastoreClearCuts(), SCIPsepastoreExactClearCuts(), SCIPsepastoreExactFree(), 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(), 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(), colExactStoreSolVals(), collectDualInformation(), colStoreSolVals(), conflictRowCopy(), conflictRowCreate(), conflictsetCopy(), conssetchgCreate(), createReoptnode(), createSolTree(), cutCreate(), forkCreate(), holelistCreate(), implicsCreate(), lpistateCreate(), lpistateCreate(), lpistateCreate(), lpistateCreate(), lpistateCreate(), lpistateCreate(), lpistateCreate(), lpistateCreate(), lpistateCreate(), mod2MatrixAddOrigRow(), multihashlistAppend(), netcoladdCreate(), netMatDecDataCreate(), netrowaddCreate(), nodeCreate(), paramCreate(), probingnodeCreate(), proofsetCreate(), pseudoforkCreate(), rowExactStoreSolVals(), rowStoreSolVals(), saveLocalConssData(), SCIPbanditCreate(), SCIPbanditCreateEpsgreedy(), SCIPbanditCreateExp3(), SCIPbanditCreateExp3IX(), SCIPbanditCreateUcb(), SCIPbdchginfoCreate(), SCIPboolarrayCreate(), SCIPbtCreate(), SCIPcertificateNewNodeData(), SCIPcertificateSetAndPrintObjective(), SCIPcolCreate(), SCIPcolExactCreate(), SCIPconflictsetCreate(), SCIPconsCreate(), SCIPdatatreeCreate(), SCIPdecompCreate(), SCIPdecompstoreCreate(), SCIPdigraphCopy(), SCIPdigraphCreate(), SCIPdisjointsetCreate(), SCIPdivesetCreate(), SCIPeventCreateGholeAdded(), SCIPeventCreateGholeRemoved(), SCIPeventCreateGlbChanged(), SCIPeventCreateGubChanged(), SCIPeventCreateImplAdded(), SCIPeventCreateImplTypeChanged(), SCIPeventCreateLbChanged(), SCIPeventCreateLholeAdded(), SCIPeventCreateLholeRemoved(), SCIPeventCreateObjChanged(), SCIPeventCreateRowAddedLP(), SCIPeventCreateRowAddedSepa(), SCIPeventCreateRowCoefChanged(), SCIPeventCreateRowConstChanged(), SCIPeventCreateRowDeletedLP(), SCIPeventCreateRowDeletedSepa(), SCIPeventCreateRowSideChanged(), SCIPeventCreateSync(), SCIPeventCreateTypeChanged(), SCIPeventCreateUbChanged(), SCIPeventCreateVarAdded(), SCIPeventCreateVarDeleted(), SCIPeventCreateVarFixed(), SCIPeventCreateVarUnlocked(), SCIPeventfilterCreate(), SCIPexprPrintDotInit(), SCIPhashmapCreate(), SCIPhashsetCreate(), SCIPhashtableCreate(), SCIPhistoryCreate(), SCIPhypergraphCreate(), SCIPiisCreate(), SCIPintarrayCreate(), SCIPlpiGetNorms(), SCIPlpiGetState(), SCIPlpPsdataCreate(), SCIPmultihashCreate(), SCIPnetmatdecCreate(), SCIPnlrowCreate(), SCIPptrarrayCreate(), SCIPrandomCreate(), SCIPrationalarrayCreate(), SCIPrationalCreateBlock(), SCIPrealarrayCreate(), SCIPreoptnodeAddCons(), SCIPreoptSplitRoot(), SCIProwCreate(), SCIProwExactCreate(), SCIPsolCopy(), SCIPsolCreate(), SCIPsolCreateExact(), SCIPsolCreateOriginal(), SCIPsolCreateOriginalExact(), SCIPsolCreatePartial(), SCIPsolCreateUnknown(), SCIPsolMakeExact(), SCIPvalsExactCopy(), SCIPvaluehistoryCreate(), SCIPvarAddExactData(), SCIPvarCopyExactData(), solnodeAddChild(), varCreate(), and vboundsCreate().
| #define BMSallocClearBlockMemory | ( | mem, | |
| ptr ) |
Definition at line 452 of file memory.h.
Referenced by doIISfinderCreate(), 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(), conflictRowAddSemiSparseData(), conflictRowClear(), conflictRowCopy(), conflictsetCopy(), conflictstoreAddOrigConflict(), conflictstoreEnsureMem(), createReopttree(), createSolTree(), decompositionGetFundamentalCycleRows(), ensureNumEdges(), ensureNumOverlaps(), ensureSuccessorsSize(), hashmapCheckLoad(), hashtableCheckLoad(), lpistateCreate(), lpistateCreate(), lpistateCreate(), lpistateCreate(), lpistateCreate(), lpistateCreate(), lpistateCreate(), lpistateCreate(), lpistateCreate(), netMatDecDataCreate(), netMatDecDataCreateDiGraph(), nlpCalcFracVars(), quadDetectGetQuadexprterm(), reoptnodeCheckMemory(), saveAfterDualBranchings(), saveConsLinear(), SCIPbanditCreateEpsgreedy(), SCIPbanditCreateExp3(), SCIPbanditCreateExp3IX(), SCIPbanditCreateUcb(), SCIPbendersInit(), SCIPboolarrayExtend(), SCIPcolCreate(), SCIPcolExactCreate(), SCIPconflictstoreAddDualraycons(), SCIPconflictstoreAddDualsolcons(), SCIPdatatreeCreate(), SCIPdatatreeInsertStringArray(), SCIPdecompCreate(), SCIPdecompstoreCreate(), SCIPdigraphComputeUndirectedComponents(), SCIPdigraphGetArticulationPoints(), SCIPdigraphSetSizes(), SCIPdisjointsetCreate(), SCIPexprCheckQuadratic(), SCIPexprComputeQuadraticCurvature(), SCIPhashmapCreate(), SCIPhashtableCreate(), SCIPhypergraphComputeOverlaps(), SCIPhypergraphComputeOverlapsEdges(), SCIPhypergraphComputeVerticesEdges(), SCIPhypergraphComputeVerticesOverlaps(), SCIPhypergraphIntersectEdges(), SCIPhypergraphIsValid(), SCIPhypergraphIterInit(), SCIPintarrayExtend(), SCIPlpiGetNorms(), SCIPnlpSetInitialGuess(), SCIPptrarrayExtend(), SCIPrationalCreateBlockArray(), SCIPrealarrayExtend(), SCIPreoptAddRun(), SCIPreoptCreate(), SCIPreoptUpdateVarHistory(), SCIProwCreate(), SCIProwExactCreate(), SCIPtreeCreate(), SCIPvaluehistoryCreate(), SCIPvarMultiaggregateExact(), and transformDualredsToLinear().
| #define BMSallocClearBlockMemoryArray | ( | mem, | |
| ptr, | |||
| num ) |
Definition at line 455 of file memory.h.
Referenced by hashmapCheckLoad(), hashsetCheckLoad(), hashtableCheckLoad(), multihashResize(), netMatDecDataCreateDiGraph(), 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(), allocateRigidSearchMemory(), allocateTreeSearchMemory(), checkMemDualCons(), checkMemGlbCons(), cliqueEnsureSize(), cliquelistEnsureSize(), colEnsureSize(), colExactEnsureSize(), computeLeafMembers(), conflictRowAddSemiSparseData(), conflictRowReplace(), conflictsetEnsureBdchginfosMem(), conflictstoreAddOrigConflict(), conflictstoreEnsureMem(), conssetchgEnsureAddedconssSize(), conssetchgEnsureDisabledconssSize(), constructReducedDecomposition(), constructRowReducedDecomposition(), createArc(), createMember(), createNode(), createPathArcs(), createReducedDecompositionCutArcs(), datatreeExpand(), determineLeafReducedMembers(), domchgEnsureBoundchgsSize(), domchgEnsureHolechgsSize(), ensureActiveconssSize(), ensureElemSize(), ensureNumEdges(), ensureNumEdgesVertices(), ensureNumOverlaps(), ensureNumOverlapsVertices(), ensureNumVertices(), ensureRunSize(), ensureSolsSize(), ensureStackSize(), ensureSuccessorsSize(), eventfilterEnsureMem(), implicsEnsureSize(), newColUpdateColInformation(), newRowUpdateRowInformation(), nlpCalcFracVars(), nlpEnsureNlRowsSolverSize(), nlpEnsureVarsSolverSize(), proofsetAddSparseData(), reoptnodeCheckMemory(), reopttreeCheckMemory(), rescaleAndResolve(), saveAfterDualBranchings(), SCIP_DECL_NLPISOLVE(), SCIPbendersStoreCut(), SCIPdigraphComputeUndirectedComponents(), SCIPdigraphResize(), SCIPdomchgMakeStatic(), SCIPexprAppendChild(), SCIPhypergraphComputeOverlaps(), SCIPhypergraphComputeOverlapsEdges(), SCIPhypergraphComputeVerticesEdges(), SCIPhypergraphComputeVerticesOverlaps(), SCIPhypergraphIterNext(), SCIPnlpEnsureNlRowsSize(), SCIPnlpEnsureVarsSize(), SCIPnlrowEnsureLinearSize(), SCIPrationalReallocBlockArray(), SCIPreoptAddCons(), SCIProwEnsureSize(), SCIProwExactEnsureSize(), SCIPtreeAddDiveBoundChange(), SCIPvaluehistoryFind(), SCIPvarFlattenAggregationGraph(), SCIPvarMultiaggregate(), SCIPvarMultiaggregateExact(), 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(), doIISfinderCreate(), forkCreate(), proofsetAddSparseData(), pseudoforkCreate(), saveConsBounddisjuction(), SCIPboolarrayCopy(), SCIPcliquelistDel(), SCIPcolCreate(), SCIPcolExactCreate(), SCIPconsChgName(), SCIPconsCreate(), SCIPdatatreeInsertBool(), SCIPdatatreeInsertBoolArray(), SCIPdatatreeInsertLong(), SCIPdatatreeInsertLongArray(), SCIPdatatreeInsertReal(), SCIPdatatreeInsertRealArray(), SCIPdatatreeInsertString(), SCIPdatatreeInsertStringArray(), SCIPdatatreeInsertTree(), SCIPdigraphCopy(), SCIPexprCreate(), SCIPintarrayCopy(), SCIPnlpCreate(), SCIPnlrowCreate(), SCIPptrarrayCopy(), SCIPrationalCopyBlockArray(), SCIPrealarrayCopy(), SCIPreoptnodeAddCons(), SCIProwCreate(), SCIProwExactCreate(), SCIPvarMultiaggregate(), SCIPvarMultiaggregateExact(), transformDualredsToBounddisjunction(), transformDualredsToLinear(), and varSetName().
| #define BMSfreeBlockMemory | ( | mem, | |
| ptr ) |
Definition at line 465 of file memory.h.
Referenced by btnodeFreeLeaf(), certificateFreeNodeData(), cliqueFree(), cutFree(), divesetFree(), forkFree(), freeExpr(), holelistFree(), lpistateFree(), lpistateFree(), lpistateFree(), lpistateFree(), lpistateFree(), lpistateFree(), lpistateFree(), lpistateFree(), lpistateFree(), multihashlistFree(), multihashlistRemove(), netcoladdFree(), netMatDecDataFree(), netrowaddFree(), nodeReleaseParent(), paramFree(), probingnodeFree(), pseudoforkFree(), reoptnodeDelete(), reoptnodeReset(), reoptnodeResetDualConss(), reoptnodeUpdateDualConss(), SCIP_DECL_BANDITFREE(), SCIP_DECL_BANDITFREE(), SCIP_DECL_BANDITFREE(), SCIP_DECL_BANDITFREE(), SCIPbanditFree(), SCIPbdchginfoFree(), SCIPboolarrayFree(), SCIPbtFree(), SCIPcertificateClearMirinfo(), SCIPcertificateExit(), SCIPcertificateFreeAggrInfo(), SCIPcertificateFreeMirInfo(), SCIPcliquelistFree(), SCIPcolExactFree(), SCIPcolFree(), SCIPconflictRowFree(), SCIPconflictsetFree(), SCIPconsFree(), SCIPconssetchgFree(), SCIPdatatreeFree(), SCIPdecompFree(), SCIPdecompstoreFree(), SCIPdigraphFree(), SCIPdisjointsetFree(), SCIPeventfilterFree(), SCIPeventFree(), SCIPexprFreeQuadratic(), SCIPexprhdlrFree(), SCIPexpriterFree(), SCIPexprPrintDotFinal(), SCIPhashmapFree(), SCIPhashsetFree(), SCIPhashtableFree(), SCIPhistoryFree(), SCIPhypergraphFree(), SCIPiisfinderFree(), SCIPiisFree(), SCIPimplicsFree(), SCIPintarrayFree(), SCIPlpiFreeNorms(), SCIPlpiGetNorms(), SCIPmultihashFree(), SCIPnetmatdecFree(), SCIPnlrowRelease(), SCIPproofsetFree(), SCIPptrarrayFree(), SCIPrandomFree(), SCIPrationalarrayFree(), SCIPrationalFreeBlock(), SCIPrealarrayFree(), SCIPreoptApplyCuts(), SCIPreoptFree(), SCIProwExactFree(), SCIProwFree(), SCIPsolFree(), SCIPsolMakeReal(), SCIPvaluehistoryFree(), SCIPvboundsFree(), subrootFree(), treeCreateProbingNode(), valsExactFree(), varFree(), and varFreeExactData().
| #define BMSfreeBlockMemoryNull | ( | mem, | |
| ptr ) |
Definition at line 466 of file memory.h.
Referenced by colExactRestoreSolVals(), colRestoreSolVals(), freeSolTree(), rowExactRestoreSolVals(), rowRestoreSolVals(), SCIPcolExactFree(), SCIPcolFree(), SCIPlpExactProjectShiftFree(), SCIProwExactFree(), SCIProwFree(), and soltreefreeNode().
| #define BMSfreeBlockMemoryArray | ( | mem, | |
| ptr, | |||
| num ) |
Definition at line 467 of file memory.h.
Referenced by changeAncestorBranchings(), decompositionGetFundamentalCycleRows(), deinit(), freeReoptTree(), freeSolTree(), hashmapCheckLoad(), hashsetCheckLoad(), hashtableCheckLoad(), lpistateFree(), lpistateFree(), lpistateFree(), lpistateFree(), lpistateFree(), lpistateFree(), lpistateFree(), lpistateFree(), multihashResize(), netcoladdFree(), netMatDecDataCreateDiGraph(), netMatDecDataFree(), netrowaddFree(), reoptnodeDelete(), reoptnodeReset(), reoptnodeResetDualConss(), reoptnodeUpdateDualConss(), SCIP_DECL_BANDITFREE(), SCIP_DECL_BANDITFREE(), SCIP_DECL_BANDITFREE(), SCIP_DECL_BANDITFREE(), SCIPbendersExit(), SCIPcertificateClearAggrinfo(), SCIPcertificateClearMirinfo(), SCIPcertificateFreeAggrInfo(), SCIPcertificateFreeMirInfo(), SCIPcliquelistDel(), SCIPcolExactFree(), SCIPconsChgName(), SCIPconsFree(), SCIPdatatreeFree(), SCIPdecompFree(), SCIPdecompstoreFree(), SCIPdigraphFree(), SCIPdigraphFreeComponents(), SCIPdigraphGetArticulationPoints(), SCIPdisjointsetFree(), SCIPexprFreeQuadratic(), SCIPhashmapFree(), SCIPhashsetFree(), SCIPhashtableFree(), SCIPhypergraphComputeOverlaps(), SCIPhypergraphFree(), SCIPhypergraphIntersectEdges(), SCIPhypergraphIsValid(), SCIPhypergraphIterClear(), SCIPlpiFreeNorms(), SCIPlpiGetNorms(), SCIPmultihashFree(), SCIPnlpFree(), SCIPnlrowRelease(), SCIPreoptApplyCuts(), SCIPreoptFree(), SCIPreoptReleaseData(), SCIProwFree(), SCIPtreeFree(), SCIPvaluehistoryFree(), SCIPvarChgName(), SCIPvarMultiaggregate(), SCIPvarMultiaggregateExact(), and varFree().
| #define BMSfreeBlockMemoryArrayNull | ( | mem, | |
| ptr, | |||
| num ) |
Definition at line 468 of file memory.h.
Referenced by cliqueFree(), conflictRowClear(), forkFree(), freeExpr(), lpistateFree(), pseudoforkFree(), reoptnodeDelete(), SCIPboolarrayExtend(), SCIPboolarrayFree(), SCIPcliquelistFree(), SCIPcolFree(), SCIPconflictRowFree(), SCIPconflictsetFree(), SCIPconflictstoreFree(), SCIPconssetchgFree(), SCIPdigraphFree(), SCIPdomchgFree(), SCIPdomchgMakeStatic(), SCIPeventfilterFree(), SCIPexprFreeQuadratic(), SCIPiisfinderFree(), SCIPimplicsFree(), SCIPintarrayExtend(), SCIPintarrayFree(), SCIPlpExactProjectShiftFree(), SCIPnlpFree(), SCIPnlpReset(), SCIPnlrowRelease(), SCIPproofsetFree(), SCIPptrarrayExtend(), SCIPptrarrayFree(), SCIPrationalFreeBlockArray(), SCIPrealarrayExtend(), SCIPrealarrayFree(), SCIPreoptApplyCuts(), SCIPreoptFree(), SCIProwExactFree(), 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 SCIPcollectMemoryGarbage().
| #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 ) |
Definition at line 727 of file memory.h.
Referenced by SCIPrationalCreateBuffer().
| #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(), netMatDecDataVerifyCycle(), SCIPexprComputeQuadraticCurvature(), SCIPexprhdlrBwDiffExpr(), SCIPexprhdlrEvalExpr(), SCIPexprhdlrEvalFwDiffExpr(), SCIPlapackSolveLinearEquations(), and SCIPrationalCreateBufferArray().
| #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(), and SCIPrationalReallocBufferArray().
| #define BMSduplicateBufferMemory | ( | mem, | |
| ptr, | |||
| source, | |||
| size ) |
| #define BMSduplicateBufferMemoryArray | ( | mem, | |
| ptr, | |||
| source, | |||
| num ) |
Definition at line 737 of file memory.h.
Referenced by dataReset(), SCIPlapackSolveLinearEquations(), and SCIPrationalCopyBufferArray().
| #define BMSfreeBufferMemory | ( | mem, | |
| ptr ) |
Definition at line 740 of file memory.h.
Referenced by SCIPrationalFreeBuffer().
| #define BMSfreeBufferMemoryNull | ( | mem, | |
| ptr ) |
| #define BMSfreeBufferMemoryArray | ( | mem, | |
| ptr ) |
Definition at line 742 of file memory.h.
Referenced by dataReset(), hashExpr(), netMatDecDataVerifyCycle(), SCIPexprComputeQuadraticCurvature(), SCIPexprhdlrBwDiffExpr(), SCIPexprhdlrEvalExpr(), SCIPexprhdlrEvalFwDiffExpr(), and SCIPlapackSolveLinearEquations().
| #define BMSfreeBufferMemoryArrayNull | ( | mem, | |
| ptr ) |
Definition at line 743 of file memory.h.
Referenced by SCIPrationalFreeBufferArray().
| #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 1497 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 1521 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 1540 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 1561 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 1588 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 1610 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 1639 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 1663 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 1770 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 1804 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 1838 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 1937 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 1957 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 1974 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 1995 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 2013 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 2053 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 2092 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 2112 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 2183 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 2205 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 2226 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 2320 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 2340 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 2464 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 2559 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 2595 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 2628 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 2640 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 2825 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 2845 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 2866 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 2957 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 2978 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 3000 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 3023 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 3113 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 3136 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 3156 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 3166 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 3184 of file memory.c.
References assert(), BMS_BufMem::data, i, BMS_BufMem::ndata, NULL, BMS_BufMem::size, and BMS_BufMem::used.
Referenced by SCIPprintMemoryDiagnostic().