Scippy

SCIP

Solving Constraint Integer Programs

Detailed Description

methods and macros to use the SCIP memory management

See also
Using the memory functions of SCIP for more information

Macros

#define SCIPallocMemory(scip, ptr)
 
#define SCIPallocMemoryArray(scip, ptr, num)
 
#define SCIPallocClearMemoryArray(scip, ptr, num)
 
#define SCIPallocMemorySize(scip, ptr, size)
 
#define SCIPreallocMemoryArray(scip, ptr, newnum)
 
#define SCIPreallocMemorySize(scip, ptr, newsize)
 
#define SCIPduplicateMemory(scip, ptr, source)
 
#define SCIPduplicateMemoryArray(scip, ptr, source, num)
 
#define SCIPfreeMemory(scip, ptr)   BMSfreeMemory(ptr)
 
#define SCIPfreeMemoryNull(scip, ptr)   BMSfreeMemoryNull(ptr)
 
#define SCIPfreeMemoryArray(scip, ptr)   BMSfreeMemoryArray(ptr)
 
#define SCIPfreeMemoryArrayNull(scip, ptr)   BMSfreeMemoryArrayNull(ptr)
 
#define SCIPfreeMemorySize(scip, ptr)   BMSfreeMemorySize(ptr)
 
#define SCIPfreeMemorySizeNull(scip, ptr)   BMSfreeMemorySizeNull(ptr)
 
#define SCIPallocBlockMemory(scip, ptr)
 
#define SCIPallocBlockMemoryArray(scip, ptr, num)
 
#define SCIPallocBlockMemorySize(scip, ptr, size)
 
#define SCIPallocClearBlockMemoryArray(scip, ptr, num)
 
#define SCIPreallocBlockMemoryArray(scip, ptr, oldnum, newnum)
 
#define SCIPreallocBlockMemorySize(scip, ptr, oldsize, newsize)
 
#define SCIPduplicateBlockMemory(scip, ptr, source)
 
#define SCIPduplicateBlockMemoryArray(scip, ptr, source, num)
 
#define SCIPensureBlockMemoryArray(scip, ptr, arraysizeptr, minsize)   ( (SCIPensureBlockMemoryArray_call((scip), (void**)(ptr), sizeof(**(ptr)), (arraysizeptr), (minsize))) )
 
#define SCIPfreeBlockMemory(scip, ptr)   BMSfreeBlockMemory(SCIPblkmem(scip), (ptr))
 
#define SCIPfreeBlockMemoryNull(scip, ptr)   BMSfreeBlockMemoryNull(SCIPblkmem(scip), (ptr))
 
#define SCIPfreeBlockMemoryArray(scip, ptr, num)   BMSfreeBlockMemoryArray(SCIPblkmem(scip), (ptr), (num))
 
#define SCIPfreeBlockMemoryArrayNull(scip, ptr, num)   BMSfreeBlockMemoryArrayNull(SCIPblkmem(scip), (ptr), (num))
 
#define SCIPfreeBlockMemorySize(scip, ptr, size)   BMSfreeBlockMemorySize(SCIPblkmem(scip), (ptr), (size))
 
#define SCIPfreeBlockMemorySizeNull(scip, ptr, size)   BMSfreeBlockMemorySizeNull(SCIPblkmem(scip), (ptr), (size))
 
#define SCIPallocBuffer(scip, ptr)
 
#define SCIPallocBufferArray(scip, ptr, num)
 
#define SCIPallocClearBufferArray(scip, ptr, num)
 
#define SCIPreallocBufferArray(scip, ptr, num)
 
#define SCIPduplicateBuffer(scip, ptr, source)
 
#define SCIPduplicateBufferArray(scip, ptr, source, num)
 
#define SCIPfreeBuffer(scip, ptr)   BMSfreeBufferMemorySize(SCIPbuffer(scip), (ptr))
 
#define SCIPfreeBufferNull(scip, ptr)   BMSfreeBufferMemoryNull(SCIPbuffer(scip), (ptr))
 
#define SCIPfreeBufferArray(scip, ptr)   BMSfreeBufferMemoryArray(SCIPbuffer(scip), (ptr))
 
#define SCIPfreeBufferArrayNull(scip, ptr)   BMSfreeBufferMemoryArrayNull(SCIPbuffer(scip), (ptr))
 
#define SCIPallocCleanBuffer(scip, ptr)
 
#define SCIPallocCleanBufferArray(scip, ptr, num)
 
#define SCIPfreeCleanBuffer(scip, ptr)   BMSfreeBufferMemorySize(SCIPcleanbuffer(scip), (ptr))
 
#define SCIPfreeCleanBufferNull(scip, ptr)   BMSfreeBufferMemoryNull(SCIPcleanbuffer(scip), (ptr))
 
#define SCIPfreeCleanBufferArray(scip, ptr)   BMSfreeBufferMemoryArray(SCIPcleanbuffer(scip), (ptr))
 
#define SCIPfreeCleanBufferArrayNull(scip, ptr)   BMSfreeBufferMemoryArrayNull(SCIPcleanbuffer(scip), (ptr))
 

Functions

BMS_BLKMEMSCIPblkmem (SCIP *scip)
 
BMS_BUFMEMSCIPbuffer (SCIP *scip)
 
BMS_BUFMEMSCIPcleanbuffer (SCIP *scip)
 
SCIP_Longint SCIPgetMemUsed (SCIP *scip)
 
SCIP_Longint SCIPgetMemTotal (SCIP *scip)
 
SCIP_Longint SCIPgetMemExternEstim (SCIP *scip)
 
int SCIPcalcMemGrowSize (SCIP *scip, int num)
 
SCIP_RETCODE SCIPensureBlockMemoryArray_call (SCIP *scip, void **arrayptr, size_t elemsize, int *arraysize, int minsize)
 
void SCIPprintMemoryDiagnostic (SCIP *scip)
 

Macro Definition Documentation

◆ SCIPallocMemory

◆ SCIPallocMemoryArray

◆ SCIPallocClearMemoryArray

#define SCIPallocClearMemoryArray (   scip,
  ptr,
  num 
)
Value:
( (BMSallocClearMemoryArray((ptr), (num)) == NULL) \
#define NULL
Definition: def.h:246
#define BMSallocClearMemoryArray(ptr, num)
Definition: memory.h:114

Definition at line 74 of file scip_mem.h.

Referenced by ensureMemorySize(), SCIP_DECL_COMPREXEC(), SCIP_DECL_SEPAEXECLP(), and SCIPmatrixCreate().

◆ SCIPallocMemorySize

#define SCIPallocMemorySize (   scip,
  ptr,
  size 
)
Value:
( (BMSallocMemorySize((ptr), (size)) == NULL) \
#define NULL
Definition: def.h:246
#define BMSallocMemorySize(ptr, size)
Definition: memory.h:109

Definition at line 76 of file scip_mem.h.

◆ SCIPreallocMemoryArray

#define SCIPreallocMemoryArray (   scip,
  ptr,
  newnum 
)

◆ SCIPreallocMemorySize

#define SCIPreallocMemorySize (   scip,
  ptr,
  newsize 
)
Value:
( (BMSreallocMemorySize((ptr), (newsize)) == NULL) \
#define NULL
Definition: def.h:246
#define BMSreallocMemorySize(ptr, size)
Definition: memory.h:115

Definition at line 80 of file scip_mem.h.

◆ SCIPduplicateMemory

#define SCIPduplicateMemory (   scip,
  ptr,
  source 
)
Value:
( (BMSduplicateMemory((ptr), (source)) == NULL) \
#define NULL
Definition: def.h:246
#define BMSduplicateMemory(ptr, source)
Definition: memory.h:130

Definition at line 82 of file scip_mem.h.

◆ SCIPduplicateMemoryArray

◆ SCIPfreeMemory

◆ SCIPfreeMemoryNull

#define SCIPfreeMemoryNull (   scip,
  ptr 
)    BMSfreeMemoryNull(ptr)

Definition at line 87 of file scip_mem.h.

◆ SCIPfreeMemoryArray

◆ SCIPfreeMemoryArrayNull

◆ SCIPfreeMemorySize

#define SCIPfreeMemorySize (   scip,
  ptr 
)    BMSfreeMemorySize(ptr)

Definition at line 90 of file scip_mem.h.

◆ SCIPfreeMemorySizeNull

#define SCIPfreeMemorySizeNull (   scip,
  ptr 
)    BMSfreeMemorySizeNull(ptr)

Definition at line 91 of file scip_mem.h.

◆ SCIPallocBlockMemory

#define SCIPallocBlockMemory (   scip,
  ptr 
)
Value:
#define NULL
Definition: def.h:246
BMS_BLKMEM * SCIPblkmem(SCIP *scip)
Definition: scip_mem.c:128
#define BMSallocBlockMemory(mem, ptr)
Definition: memory.h:440

Definition at line 97 of file scip_mem.h.

Referenced by addAuxiliaryVariablesToMaster(), alnsIncludeNeighborhood(), assignAuxiliaryVariables(), catchLinearVarEvents(), catchQuadVarEvents(), catchVarEventCardinality(), COLORcreateConsStoreGraph(), COLORincludeConshdlrStoreGraph(), consdataCreate(), consdataCreateEmpty(), consdataCreateSuperindicator(), consdataEnsureVarsSize(), conshdlrdataCreate(), copyDimensions(), createAndAddAndCons(), createConsStoreGraphAtRoot(), createConstarray(), createDepthinfo(), createPattern(), createReaderdata(), createScenarioData(), createSolTuple(), createSubproblems(), createVararray(), DECL_NHINIT(), ecaggrCreateEmpty(), getEventData(), graph_init_history(), includeEventHdlrSync(), includeNeighborhoods(), initConflictgraph(), initialiseLPSubproblem(), initImplGraphSOS1(), initProblem(), initTCliquegraph(), lca(), linconsupgradeFree(), mcfnetworkCreate(), mod2MatrixAddCol(), mod2MatrixAddTransRow(), mpsinputCreate(), nlrowaggrCreate(), objimplicsCreate(), parseOutputDimensioninfo(), probdataCreate(), propdataCreate(), readerdataAddOutputvar(), readerdataCreate(), reduceMw(), reduceNw(), reducePc(), reduceSap(), reduceStp(), SCIP_DECL_CONSCOPY(), SCIP_DECL_CONSTRANS(), SCIP_DECL_DISPINITSOL(), SCIP_DECL_HEURINIT(), SCIP_DECL_PROBCOPY(), SCIP_DECL_PROBTRANS(), SCIP_DECL_SEPAEXECLP(), SCIPaggrRowCopy(), SCIPaggrRowCreate(), SCIPbenderscutStoreCut(), SCIPbendersSolveSubproblemCIP(), SCIPbendersSolveSubproblemLP(), SCIPcreateConcurrent(), SCIPcreateConsAbspower(), SCIPcreateConsBivariate(), SCIPcreateConsCardinality(), SCIPcreateConsLOP(), SCIPcreateConsPseudobooleanWithConss(), SCIPcreateConsSOC(), SCIPcreateConsSOS1(), SCIPcreateConsSOS2(), SCIPcreateConsStp(), tsp::SCIPcreateConsSubtour(), SCIPcreateProbColoring(), SCIPcreateProbCyc(), SCIPcreateRowprep(), SCIPgenVBoundAdd(), SCIPincludeBenderscutInt(), SCIPincludeBenderscutNogood(), SCIPincludeBenderscutOpt(), SCIPincludeBendersDefault(), SCIPincludeBranchruleAllfullstrong(), SCIPincludeBranchruleCloud(), SCIPincludeBranchruleDistribution(), SCIPincludeBranchruleFullstrong(), SCIPincludeBranchruleInference(), SCIPincludeBranchruleMultAggr(), SCIPincludeBranchrulePscost(), SCIPincludeBranchruleRandom(), SCIPincludeBranchruleStrongcoloring(), SCIPincludeComprLargestrepr(), SCIPincludeComprWeakcompr(), SCIPincludeConshdlrAbspower(), SCIPincludeConshdlrBivariate(), SCIPincludeConshdlrBounddisjunction(), SCIPincludeConshdlrCardinality(), SCIPincludeConshdlrComponents(), SCIPincludeConshdlrDisjunction(), SCIPincludeConshdlrIndicator(), SCIPincludeConshdlrNonlinear(), SCIPincludeConshdlrOrbisack(), SCIPincludeConshdlrOrbitope(), SCIPincludeConshdlrQuadratic(), SCIPincludeConshdlrRpa(), SCIPincludeConshdlrSOC(), SCIPincludeConshdlrSOS2(), SCIPincludeConshdlrSuperindicator(), SCIPincludeConshdlrSymresack(), SCIPincludeConshdlrViolatedCut(), SCIPincludeEventHdlrBoundwriting(), SCIPincludeEventHdlrSofttimelimit(), SCIPincludeEventHdlrSolvingphase(), SCIPincludeHeurActconsdiving(), SCIPincludeHeurAlns(), SCIPincludeHeurBound(), SCIPincludeHeurCoefdiving(), SCIPincludeHeurCompletesol(), SCIPincludeHeurConflictdiving(), SCIPincludeHeurCrossover(), SCIPincludeHeurCycKerlin(), SCIPincludeHeurDins(), SCIPincludeHeurDualval(), SCIPincludeHeurFixandinfer(), SCIPincludeHeurFracdiving(), SCIPincludeHeurGuideddiving(), SCIPincludeHeurIndicator(), SCIPincludeHeurInit(), SCIPincludeHeurIntdiving(), SCIPincludeHeurLinesearchdiving(), SCIPincludeHeurListScheduling(), SCIPincludeHeurLocalbranching(), SCIPincludeHeurLpface(), SCIPincludeHeurMpec(), SCIPincludeHeurMultistart(), SCIPincludeHeurMutation(), SCIPincludeHeurObjpscostdiving(), SCIPincludeHeurOctane(), SCIPincludeHeurOfins(), SCIPincludeHeurOneopt(), SCIPincludeHeurOptcumulative(), SCIPincludeHeurProximity(), SCIPincludeHeurPscostdiving(), SCIPincludeHeurRandrounding(), SCIPincludeHeurRedsize(), SCIPincludeHeurRens(), SCIPincludeHeurReoptsols(), SCIPincludeHeurRins(), SCIPincludeHeurRootsoldiving(), SCIPincludeHeurRounding(), SCIPincludeHeurShiftandpropagate(), SCIPincludeHeurSimplerounding(), SCIPincludeHeurSubNlp(), SCIPincludeHeurSync(), SCIPincludeHeurTrySol(), SCIPincludeHeurTwoopt(), SCIPincludeHeurUndercover(), SCIPincludeHeurVeclendiving(), SCIPincludeHeurZeroobj(), SCIPincludeHeurZirounding(), SCIPincludeNodeselBfs(), SCIPincludeNodeselEstimate(), SCIPincludeNodeselHybridestim(), SCIPincludeNodeselRestartdfs(), SCIPincludeNodeselUct(), SCIPincludeNonlinconsUpgrade(), SCIPincludePresolBoundshift(), SCIPincludePresolConvertinttobin(), SCIPincludePresolDomcol(), SCIPincludePresolDualcomp(), SCIPincludePresolQPKKTref(), SCIPincludePresolSparsify(), SCIPincludePresolSymmetry(), SCIPincludePricerBinpacking(), SCIPincludePricerColoring(), SCIPincludePricerRpa(), SCIPincludePropNlobbt(), SCIPincludePropOrbitalfixing(), SCIPincludePropRedcost(), SCIPincludePropVbounds(), SCIPincludeQuadconsUpgrade(), SCIPincludeReaderBnd(), SCIPincludeReaderCip(), SCIPincludeReaderCor(), SCIPincludeReaderLp(), SCIPincludeReaderMps(), SCIPincludeReaderPbm(), SCIPincludeReaderPpm(), SCIPincludeReaderSto(), SCIPincludeReaderTim(), SCIPincludeSepaCGMIP(), SCIPincludeSepaClique(), SCIPincludeSepaClosecuts(), SCIPincludeSepaConvexproj(), SCIPincludeSepaDisjunctive(), SCIPincludeSepaGauge(), SCIPincludeSepaGMI(), SCIPincludeSepaGomory(), SCIPincludeSepaImpliedbounds(), SCIPincludeSepaOddcycle(), SCIPincludeSepaStrongcg(), SCIPincludeSepaZerohalf(), SCIPinitHeurOptcumulative(), SCIPinitRepresentation(), SCIPintListNodeAppendCopy(), SCIPintListNodeInsert(), SCIPlinConsStatsCreate(), SCIPpairheapInsert(), SCIPStpDualAscent(), SCIPStpHeurLocalRun(), SCIPStpHeurRecAddToPool(), SCIPStpHeurRecInitPool(), SCIPStpHeurSlackPruneRun(), SCIPvariableGraphCreate(), sepadataCreate(), smpsinputCreate(), stoinputCreate(), tcliquegraphCreate(), timinputCreate(), updateArcData(), and vardataCreate().

◆ SCIPallocBlockMemoryArray

#define SCIPallocBlockMemoryArray (   scip,
  ptr,
  num 
)
Value:
( (BMSallocBlockMemoryArray(SCIPblkmem(scip), (ptr), (num)) == NULL) \
#define NULL
Definition: def.h:246
BMS_BLKMEM * SCIPblkmem(SCIP *scip)
Definition: scip_mem.c:128
#define BMSallocBlockMemoryArray(mem, ptr, num)
Definition: memory.h:442

Definition at line 99 of file scip_mem.h.

Referenced by addExtendedAsymmetricFormulation(), addExtendedFlowFormulation(), addSubtourCuts(), applyNlobbt(), applyOptcumulative(), blisshook(), branch(), branchingDecisionIsValid(), branchruledataEnsureArraySize(), branchruledataEnsureNlcount(), catchLinearVarEvents(), catchVarEvents(), checkFactorable(), checkSymmetriesAreSymmetries(), collectNondefaultParams(), COLORprobAddNewStableSet(), componentSetupWorkingSol(), computeComponents(), computeED(), computeInteriorPoint(), computeSymmetryGroup(), consdataAddExprtrees(), consdataCollectLinkingCons(), consdataCreate(), consdataCreateBinvars(), conshdlrdataCreate(), constructCompression(), correctLocksAndCaptures(), createAndSplitProblem(), createBenderscutData(), createBendersData(), createCapacityRestriction(), createConsStoreGraphAtRoot(), createCoverCutsTimepoint(), createDepthinfo(), createPresoldata(), createProbQP(), createReaderdata(), createRelaxation(), createScenarioData(), createScenariosFromBlocks(), createScenarioSubproblemArray(), createSolTuple(), createStartingData(), createSubSCIP(), createSubscip(), createVariableMappings(), createVariables(), ecaggrCreateEmpty(), ensureConstarrySizeFznInput(), ensureDepthInfoArraySize(), ensureVararrySize(), ensureVararrySizeFznInput(), execRelpscost(), extensionOperatorSOS1(), fillVariableGraph(), getEventData(), graph_knot_contract(), graph_mincut_exec(), heurdataInit(), initConcsolver(), initData(), initProblem(), initPropdata(), innerPresolve(), LOPreadFile(), mcfnetworkFill(), mod2MatrixTransformContRows(), nlrowaggrCreate(), nlrowaggrStoreLinearTerms(), nlrowaggrStoreQuadraticVars(), objimplicsCreate(), packingUpgrade(), parseOutputDimensioninfo(), preprocessGraph(), presolRoundConssSOS1(), probdataCreate(), propdataInit(), readBlocks(), readCoefficients(), readIndep(), SCIP_DECL_BRANCHEXECLP(), SCIP_DECL_BRANCHINIT(), SCIP_DECL_CONSACTIVE(), SCIP_DECL_CONSINIT(), SCIP_DECL_CONSINITSOL(), SCIP_DECL_CONSLOCK(), SCIP_DECL_CONSTRANS(), SCIP_DECL_EVENTEXEC(), SCIP_DECL_HEURINITSOL(), SCIP_DECL_PARAMCHGD(), SCIP_DECL_PRICERINITSOL(), SCIP_DECL_PROBCOPY(), SCIP_DECL_PROBTRANS(), SCIP_DECL_READERREAD(), SCIP_DECL_SEPAEXECLP(), SCIPaggrRowCreate(), SCIPapplyHeurDualval(), SCIPapplyProximity(), SCIPapplyRedSize(), SCIPcreateConsCardinality(), SCIPcreateConsLOP(), SCIPcreateConsSOC(), SCIPcreateProbColoring(), SCIPcreateProbCyc(), SCIPcycAddIncompleteSol(), SCIPincludeHeurAlns(), SCIPincludeHeurSync(), SCIPinitHeurOptcumulative(), SCIPreadDiff(), SCIPreadLp(), SCIPreadPip(), SCIPreduceMatrixSize(), SCIPsyncstoreInit(), SCIPwriteLp(), SCIPwriteMps(), sepadataAddNlrowaggr(), setupAndSolveCumulativeSubscip(), setUpEvents(), solvePricingMINLP(), sortGenVBounds(), storeAllBilinearTerms(), storeNonlinearConvexNlrows(), SYMcomputeSymmetryGenerators(), tcliquegraphCreate(), timinputCreate(), transformNonIntegralRow(), and tryAddSymmetryHandlingConss().

◆ SCIPallocBlockMemorySize

#define SCIPallocBlockMemorySize (   scip,
  ptr,
  size 
)
Value:
( (BMSallocBlockMemorySize(SCIPblkmem(scip), (ptr), (size)) == NULL) \
#define NULL
Definition: def.h:246
BMS_BLKMEM * SCIPblkmem(SCIP *scip)
Definition: scip_mem.c:128
#define BMSallocBlockMemorySize(mem, ptr, size)
Definition: memory.h:441

Definition at line 101 of file scip_mem.h.

◆ SCIPallocClearBlockMemoryArray

#define SCIPallocClearBlockMemoryArray (   scip,
  ptr,
  num 
)

◆ SCIPreallocBlockMemoryArray

#define SCIPreallocBlockMemoryArray (   scip,
  ptr,
  oldnum,
  newnum 
)
Value:
( (BMSreallocBlockMemoryArray(SCIPblkmem(scip), (ptr), (oldnum), (newnum)) == NULL) \
#define NULL
Definition: def.h:246
BMS_BLKMEM * SCIPblkmem(SCIP *scip)
Definition: scip_mem.c:128
#define BMSreallocBlockMemoryArray(mem, ptr, oldnum, newnum)
Definition: memory.h:446

Definition at line 105 of file scip_mem.h.

Referenced by addCoef(), addNewGenVBound(), addNodesInformation(), addOneRow(), addScenarioEntry(), applyOptcumulative(), blisshook(), branchruledataEnsureArraySize(), branchruledataEnsureNlcount(), buildScenariosFromBlocks(), checkMemSize(), collectAggregatedVars(), collectCoefficients(), collectNondefaultParams(), COLORprobAddNewStableSet(), consdataAddExprtrees(), consdataEnsureAddLinConsSize(), consdataEnsureAdjBilinSize(), consdataEnsureBilinSize(), consdataEnsureLinearVarsSize(), consdataEnsureQuadVarTermsSize(), consdataEnsureVarsSize(), consdataEnsurevarsSizeCardinality(), consdataEnsurevarsSizeSOS1(), consdataEnsurevarsSizeSOS2(), constructValidSolution(), correctPresoldata(), createCapacityRestriction(), createCoverCutsTimepoint(), determineVariableFixings(), ensureConstarrySizeFznInput(), ensureDepthInfoArraySize(), ensureSize(), ensureVararrySize(), ensureVararrySizeFznInput(), fillGlobalStartingData(), fillVariableGraph(), generateZerohalfCut(), getInferInt(), innerPresolve(), parseOutputDimensioninfo(), presolveRemoveFixedVariables(), readBlocks(), readCoefficients(), readIndep(), SCIP_DECL_CONSACTIVE(), SCIPaggrRowAddRow(), SCIPensureRowprepSize(), SCIPgenVBoundAdd(), SCIPincludeNonlinconsUpgrade(), SCIPincludeQuadconsUpgrade(), SCIPprobdataAddVar(), SCIPpropSyncAddBndchg(), SCIPreduceMatrixSize(), SCIPseparateRelaxedKnapsack(), sepadataAddNlrowaggr(), and setUpEvents().

◆ SCIPreallocBlockMemorySize

#define SCIPreallocBlockMemorySize (   scip,
  ptr,
  oldsize,
  newsize 
)
Value:
( (BMSreallocBlockMemorySize(SCIPblkmem(scip), (ptr), (oldsize), (newsize)) == NULL) \
#define NULL
Definition: def.h:246
BMS_BLKMEM * SCIPblkmem(SCIP *scip)
Definition: scip_mem.c:128
#define BMSreallocBlockMemorySize(mem, ptr, oldsize, newsize)
Definition: memory.h:444

Definition at line 107 of file scip_mem.h.

◆ SCIPduplicateBlockMemory

#define SCIPduplicateBlockMemory (   scip,
  ptr,
  source 
)
Value:
( (BMSduplicateBlockMemory(SCIPblkmem(scip), (ptr), (source)) == NULL) \
#define NULL
Definition: def.h:246
BMS_BLKMEM * SCIPblkmem(SCIP *scip)
Definition: scip_mem.c:128
#define BMSduplicateBlockMemory(mem, ptr, source)
Definition: memory.h:448

Definition at line 109 of file scip_mem.h.

Referenced by SCIP_DECL_CONSTRANS(), and SCIPcopyRowprep().

◆ SCIPduplicateBlockMemoryArray

#define SCIPduplicateBlockMemoryArray (   scip,
  ptr,
  source,
  num 
)
Value:
( (BMSduplicateBlockMemoryArray(SCIPblkmem(scip), (ptr), (source), (num)) == NULL) \
#define NULL
Definition: def.h:246
BMS_BLKMEM * SCIPblkmem(SCIP *scip)
Definition: scip_mem.c:128
#define BMSduplicateBlockMemoryArray(mem, ptr, source, num)
Definition: memory.h:450

Definition at line 111 of file scip_mem.h.

Referenced by addConsNameToStorage(), addScenarioEntry(), addVarNameToStorage(), applyNlobbt(), computeSymmetryGroup(), consdataCreate(), constraintListAppend(), copyDimensions(), correctPresoldata(), createAndAddAndCons(), createAndSplitProblem(), createConstarray(), createPresoldata(), createReaderdata(), createVararray(), heurdataInit(), initData(), innerPresolve(), probdataCreate(), readerdataAddOutputvar(), SCIP_DECL_CONSINITSOL(), SCIP_DECL_CONSTRANS(), SCIP_DECL_SEPAEXECLP(), SCIPaggrRowCopy(), SCIPbenderscutStoreCut(), SCIPcopyRowprep(), SCIPcreateConcurrent(), SCIPcreateConsCardinality(), SCIPcreateConsPseudobooleanWithConss(), SCIPcreateConsSOC(), SCIPcreateConsSOS1(), SCIPcreateConsSOS2(), SCIPgenVBoundAdd(), SCIPheurPassIndicator(), SCIPinitHeurOptcumulative(), SCIPpricerBinpackingActivate(), setScenarioName(), setScenarioStageName(), subscipdataCopySubscip(), timinputSetStageName(), timinputSetStageStartCons(), timinputSetStageStartVar(), transformToOrig(), and vardataCreate().

◆ SCIPensureBlockMemoryArray

◆ SCIPfreeBlockMemory

#define SCIPfreeBlockMemory (   scip,
  ptr 
)    BMSfreeBlockMemory(SCIPblkmem(scip), (ptr))

Definition at line 114 of file scip_mem.h.

Referenced by addAuxiliaryVariablesToMaster(), alnsFreeNeighborhood(), assignAuxiliaryVariables(), candidateFree(), consdataFree(), conshdlrdataFree(), createAndAddAndCons(), DECL_NHEXIT(), DECL_NHFREE(), destroyMod2Matrix(), dropLinearVarEvents(), dropQuadVarEvents(), dropVarEventCardinality(), ecaggrFree(), freeConflictgraph(), freeConstarray(), freeDepthinfo(), freeDimensions(), freeEventData(), freeEventhandler(), freeGenVBound(), freePersistent(), freeProblem(), freeReaderdata(), freeScenarioTree(), freeVararray(), graph_free_history(), graph_free_historyDeep(), linconsupgradeCreate(), mcfnetworkFree(), mod2matrixRemoveCol(), mod2matrixRemoveRow(), mpsinputFree(), nlrowaggrFree(), presolRoundVarsSOS1(), probdataFree(), readerdataFree(), reduceMw(), reduceNw(), reducePc(), reduceSap(), reduceStp(), SCIP_DECL_BENDERSCUTFREE(), SCIP_DECL_BENDERSFREE(), SCIP_DECL_BRANCHCOPY(), SCIP_DECL_BRANCHFREE(), SCIP_DECL_COMPRFREE(), SCIP_DECL_CONFLICTFREE(), SCIP_DECL_CONSDELETE(), SCIP_DECL_CONSFREE(), SCIP_DECL_DISPINITSOL(), SCIP_DECL_EVENTFREE(), SCIP_DECL_HEUREXIT(), SCIP_DECL_HEURFREE(), SCIP_DECL_NODESELFREE(), SCIP_DECL_PRESOLFREE(), SCIP_DECL_PRICERFREE(), SCIP_DECL_PROBDELORIG(), SCIP_DECL_PROBDELTRANS(), SCIP_DECL_PROPFREE(), SCIP_DECL_READERFREE(), SCIP_DECL_SEPAEXECLP(), SCIP_DECL_SEPAFREE(), SCIP_DECL_TABLEFREE(), SCIPaggrRowFree(), SCIPbenderscutExit(), SCIPbendersSolveSubproblemCIP(), SCIPbendersSolveSubproblemLP(), SCIPcreateConsPseudobooleanWithConss(), SCIPfreeConcurrent(), SCIPfreeRowprep(), SCIPintListNodeFree(), SCIPlinConsStatsFree(), SCIPpairheapDeletemin(), SCIPpairheapFree(), SCIPpatternRelease(), SCIPStpDualAscent(), SCIPStpHeurLocalRun(), SCIPStpHeurRecFreePool(), SCIPStpHeurSlackPruneRun(), SCIPvariableGraphFree(), sepadataFree(), smpsinputFree(), stoinputFree(), tcliquegraphFree(), timinputFree(), vardataDelete(), and warmStartInfoFree().

◆ SCIPfreeBlockMemoryNull

#define SCIPfreeBlockMemoryNull (   scip,
  ptr 
)    BMSfreeBlockMemoryNull(SCIPblkmem(scip), (ptr))

Definition at line 115 of file scip_mem.h.

Referenced by SCIP_DECL_HEURFREE(), and SCIP_DECL_PRICERFREE().

◆ SCIPfreeBlockMemoryArray

#define SCIPfreeBlockMemoryArray (   scip,
  ptr,
  num 
)    BMSfreeBlockMemoryArray(SCIPblkmem(scip), (ptr), (num))

Definition at line 116 of file scip_mem.h.

Referenced by addSubtourCuts(), applyOptcumulative(), blisshook(), branchruledataFreeArrays(), checkFactorable(), checkSymmetriesAreSymmetries(), cleanupHashDatas(), computeSymmetryGroup(), consdataFree(), consdataFreeRows(), consdataSetExprtrees(), consDropAllEvents(), conshdlrdataFree(), constraintListAppend(), constructCompression(), correctLocksAndCaptures(), correctPresoldata(), createAndAddAndCons(), createConstraints(), createPresoldata(), createProbQP(), createScenariosFromBlocks(), deleteSubproblem(), destroyMod2Matrix(), doSeparation(), dropVarEvents(), ecaggrFree(), execRelpscost(), freeAllEventData(), freeComponent(), freeComponentsData(), freeConstarray(), freeDepthinfo(), freeEventData(), freeGenVBound(), freeGenVBounds(), freeMemory(), freePersistent(), freeProblem(), freeReaderdata(), freeScenarioTree(), freeStartingData(), freeSubSCIP(), freeSubscip(), freeVararray(), graph_knot_contract(), graph_mincut_exec(), heurdataFree(), innerPresolve(), mod2matrixRemoveRow(), nlrowaggrFree(), packingUpgrade(), presolRoundConssSOS1(), presolveDisaggregate(), probdataFree(), propdataClear(), readBlocks(), readIndep(), runBenders(), SCIP_DECL_BENDERSCUTEXIT(), SCIP_DECL_BENDERSFREE(), SCIP_DECL_BRANCHEXIT(), SCIP_DECL_BRANCHEXITSOL(), SCIP_DECL_COMPREXIT(), SCIP_DECL_CONCSOLVERDESTROYINST(), SCIP_DECL_CONSACTIVE(), SCIP_DECL_CONSDELETE(), SCIP_DECL_CONSEXIT(), SCIP_DECL_CONSEXITSOL(), SCIP_DECL_CONSFREE(), SCIP_DECL_EVENTEXEC(), SCIP_DECL_EVENTEXITSOL(), SCIP_DECL_HEUREXEC(), SCIP_DECL_HEUREXIT(), SCIP_DECL_HEUREXITSOL(), SCIP_DECL_HEURFREE(), SCIP_DECL_PARAMCHGD(), SCIP_DECL_PRESOLEXIT(), SCIP_DECL_PRICEREXITSOL(), SCIP_DECL_PROBDELORIG(), SCIP_DECL_PROBDELTRANS(), SCIP_DECL_READERREAD(), SCIP_DECL_SEPAEXECLP(), SCIP_DECL_SEPAEXITSOL(), SCIPaggrRowFree(), SCIPapplyHeurDualval(), SCIPapplyRedSize(), SCIPbenderscutExit(), SCIPbendersExec(), SCIPboundstoreFree(), SCIPcreateConsPseudobooleanWithConss(), SCIPcycAddIncompleteSol(), SCIPfreeConcurrent(), SCIPgenVBoundAdd(), SCIPgetGeneratorsSymmetry(), SCIPheurPassIndicator(), SCIPreadDiff(), SCIPreadLp(), SCIPreadPip(), SCIPreduceMatrixSize(), SCIPsyncstoreExit(), SCIPvariableGraphFree(), SCIPwriteLp(), SCIPwriteMps(), sepadataClear(), sepadataFreeNlrows(), setupAndSolveCumulativeSubscip(), solvePricingMINLP(), subscipdataFreeSubscip(), tcliquegraphFree(), timinputFree(), transformNonIntegralRow(), and vardataDelete().

◆ SCIPfreeBlockMemoryArrayNull

◆ SCIPfreeBlockMemorySize

#define SCIPfreeBlockMemorySize (   scip,
  ptr,
  size 
)    BMSfreeBlockMemorySize(SCIPblkmem(scip), (ptr), (size))

Definition at line 118 of file scip_mem.h.

◆ SCIPfreeBlockMemorySizeNull

#define SCIPfreeBlockMemorySizeNull (   scip,
  ptr,
  size 
)    BMSfreeBlockMemorySizeNull(SCIPblkmem(scip), (ptr), (size))

Definition at line 119 of file scip_mem.h.

◆ SCIPallocBuffer

◆ SCIPallocBufferArray

#define SCIPallocBufferArray (   scip,
  ptr,
  num 
)
Value:
#define NULL
Definition: def.h:246
BMS_BUFMEM * SCIPbuffer(SCIP *scip)
Definition: scip_mem.c:143
#define BMSallocBufferMemoryArray(mem, ptr, num)
Definition: memory.h:709

Definition at line 130 of file scip_mem.h.

Referenced by addAltLPColumn(), addAltLPConstraint(), addAltLPRow(), addBranchingComplementaritiesSOS1(), addCliqueDataEntry(), addCliques(), addConsToOccurList(), addConstraint(), addCut(), addFixedVarsConss(), addGenVBound(), addIntervalGradientEstimator(), addKnapsackConstraints(), addLinearization(), addLocalBranchingConstraint(), addLogicOrConstraints(), addLowerboundCons(), addObjcut(), addRegularScholtes(), addRelaxation(), addSetppcConstraints(), addSplitcons(), addUserEstimator(), aggregateConstraints(), aggregateNextRow(), allocSNFRelaxation(), alnsFixMoreVariables(), alnsUnfixVariables(), analyzeEnergyRequirement(), applyAlternativeBoundsFixing(), applyCliqueFixings(), applyFixings(), applyHeur(), applyOptcumulative(), applyOptcumulativeFixings(), applyProbing(), applyRepair(), applyVariableAssignment(), BENDERS_CUTORACLE(), branchBalancedCardinality(), buildFlowCover(), buildsolgraph(), calcTwoRowBnds(), cancelRow(), central_terminal(), changePartitionCovervars(), changePartitionFeasiblesetvars(), checkConComponentsVarbound(), checkCons(), checkConsnames(), checkCumulativeCondition(), checkCurvature(), checkDivingCandidates(), checkFactorable(), checkFullOrbitopeSolution(), checkLPBoundsClean(), checkOrigPbCons(), checkOverloadViaThetaTree(), checkRedundancy(), checkSolution(), checkSystemGF2(), checkVarnames(), chgLhs(), chgRhs(), cleanCycle(), cleanupNetwork(), cliquePresolve(), collectBinaryVars(), collectCliqueData(), collectCoefficients(), computeAndConstraintInfos(), computeCoverUndercover(), computeCut(), computeDegConsTree(), computeFixingOrder(), computeGradient(), computeInteriorPoint(), computeLiftingData(), computeMinDistance(), computePeak(), computePertubedSol(), computeReferencePointProjection(), computeSteinerTreeVnoi(), computeVarsCoverSOS1(), computeViolation(), computeViolations(), configurationFree(), consCapacityConstraintsFinder(), consCheckRedundancy(), consdataCreate(), consdataLinearize(), consdataPrint(), consdataSortBilinTerms(), consdataSortQuadVarTerms(), constructCompression(), constructSNFRelaxation(), copyConsPseudoboolean(), copyCuts(), copySol(), correctConshdlrdata(), CREATE_CONSTRAINT(), createAltLP(), createAltLPColumn(), createAndAddLinearCons(), createBounddisjunctionCons(), createCapacityRestrictionIntvars(), createCGCuts(), createCipFormulation(), createConflict(), createConstraints(), createCoverCuts(), createCoverCutsTimepoint(), createCoveringProblem(), createCumulativeCons(), createDisjuctiveCons(), createIntervalRelaxation(), createLinking(), createLP(), createMIP(), createMipCpFormulation(), createMipFormulation(), createNewSol(), createNewSols(), createNlRow(), createNormalizedKnapsack(), createNormalizedLogicor(), createNormalizedSetppc(), createPresoldata(), createRows(), createScenariosFromBlocks(), createSelectedSortedEventpointsSol(), createSubscip(), createSwitchSolution(), createTcliqueGraph(), createVariables(), CUTOFF_CONSTRAINT(), cutsTransformMIR(), cutsTransformStrongCG(), cutTightenCoefs(), cutTightenCoefsQuad(), DECL_VARFIXINGS(), deleteRedundantVars(), detectOrbitopes(), detectParallelCols(), detectRedundantVars(), determineVariableFixings(), disaggregate(), doSeachEcAggr(), doSeparation(), dualBoundStrengthening(), dualcostVarfixing(), dualPresolve(), enfopsCons(), enforceConflictgraph(), enforceCuts(), ensureFactorsSize(), ensureMonomialsSize(), Exec(), execRelpscost(), executeHeuristic(), extendToCover(), extensionOperatorSOS1(), extractCapacityRows(), extractFlow(), extractGates(), extractNodes(), extractVariablesMINLP(), fillDigraph(), fillGraphByColoredCoefficients(), fillVariableGraph(), filterPatterns(), findAggregation(), findAndStoreEcAggregations(), findComponents(), findCumulativeConss(), findPrecedenceConss(), findUnblockedShortestPathToRoot(), findUncapacitatedArcs(), findVarAggrRedVbcons(), fixAltLPVariables(), fixAndPropagate(), forbidCover(), forbidFixation(), generateAverageRay(), generateBoundInequalityFromSOS1Cons(), generateBoundInequalityFromSOS1Nodes(), generateClusterCuts(), generateCut(), generateCutSol(), generateCutUnboundedLP(), generateOddCycleCut(), generateRowCardinality(), generateSparseCut(), generateZerohalfCut(), getBoundConsFromVertices(), getBranchingDecisionStrongbranchSOS1(), getCover(), getEstPermutation(), getFeasibleSet(), getFixedVariable(), getFlowCover(), getHighestCapacityUsage(), getJobs(), getLctPermuataion(), getLiftingSequence(), getLiftingSequenceGUB(), getLinearCoeffs(), getLinVarsAndAndRess(), getMaxactImplicObjchg(), getNJobs(), getNodeIdx(), getNodeSimilarityScore(), getNResources(), getVariableIndex(), graph_get4nextTTerms(), graph_get_edgeConflicts(), graph_grid_create(), graph_load(), graph_obstgrid_create(), graph_pack(), graph_sol_getOrg(), graph_sol_markPcancestors(), graph_sol_reroot(), graph_sol_valid(), graph_trail_arr(), graph_voronoiWithRadius(), greedyStableSet(), GUBsetCalcCliquePartition(), handleLinearCons(), heurdataEnsureArraySize(), heurExec(), identifyComponent(), identifySourcesTargets(), improvePoint(), inferboundsEdgeFinding(), initConcsolver(), initConflictgraph(), initGraph(), initializeMatrix(), initImplGraphSOS1(), initLP(), initMatrix(), initPricing(), initReceivedSubproblem(), insertSortedRootNeighbors(), isCandidate(), labelSortStable(), level0save(), liftOddCycleCut(), loadTcliquegraph(), makeCoverMinimal(), makeSOS1conflictgraphFeasible(), maxWeightIndSetHeuristic(), mcfnetworkExtract(), mcfnetworkFill(), mergeAndCleanBilinearTerms(), mergeMultiples(), mod2rowAddRow(), multiAggregateBinvar(), nlrowaggrCreate(), nodepairqueueCreate(), nodepartitionCreate(), nodepartitionIsConnected(), optimize(), orbisackUpgrade(), orderDaRoots(), packingUpgrade(), pairheapCombineSiblings(), parseAggregation(), parseConstantArray(), parseConstantArrayAssignment(), parseDetails(), parseLinking(), parseQuadratic(), parseSolveItem(), parseVariableArray(), parseVariableArrayAssignment(), performBackwardScheduling(), performForwardScheduling(), performRelaxSimpleRounding(), permuteStartSolution(), preprocessCliques(), preprocessGraph(), presolRoundCardinality(), presolRoundConssSOS1(), presolRoundVarsSOS1(), presolveAddKKTAggregatedVars(), presolveAddKKTKnapsackConss(), presolveAddKKTLogicorConss(), presolveAddKKTSetppcConss(), presolveAddKKTVarboundConss(), presolveConsEffectiveHorizon(), presolveConsEst(), presolveConsLct(), presolveCreateBenTalNemirovskiApproxDim3(), presolveCreateGlineurApproxDim3(), presolveCumulativeCondition(), presolveDisaggregate(), presolveDisaggregateMergeComponents(), presolveRemoveFixedVariables(), presolveTryAddAND(), presolveUpgrade(), printActiveVariables(), printAggregatedCons(), printAndCons(), printLinearCons(), printNonLinearCons(), printNonlinearCons(), printPseudobooleanCons(), printQuadraticCons(), propagateAllConss(), propagateBounds(), propagateBoundsCons(), propagateCons(), propagateOrbitalFixing(), propagatePackingPartitioningCons(), propagateTTEF(), propIndicator(), propVariables(), readBounds(), readCnf(), readCoefficients(), readCol(), readConstraints(), readExpression(), readFile(), readIndicators(), readLIBSVM(), readLinearCoefs(), readNonlinearExprs(), readObjective(), readOPBFile(), readPolynomial(), readQCMatrix(), readQMatrix(), readVariables(), redbasedVarfixing(), reduce_bd34(), reduce_bdr(), reduce_bound(), reduce_boundHop(), reduce_boundHopRc(), reduce_boundPrune(), reduce_da(), reduce_daPcMw(), reduce_daSlackPrune(), reduce_daSlackPruneMw(), reduce_deleteConflictEdges(), reduce_extendedEdge(), reduce_ledge(), reduce_nts(), reduce_nv(), reduce_nvAdv(), reduce_rpt(), reduce_sd(), reduce_sdsp(), reduce_sdspSap(), reduce_sl(), reduceHc(), reduceMw(), reduceNw(), reducePc(), reduceRedcostExtended(), reduceSap(), reduceStp(), reformulate(), removeBilinearTermsPos(), removeConstraintsDueToNegCliques(), removeDoubleAndSingletonsAndPerformDualpresolve(), removeFixedNonlinearVariables(), removeRedundantConss(), removeRedundantConssAndNonzeros(), resolvePropagationCoretimes(), rowprepCleanupSortTerms(), runCyckerlin(), scaleFirstRow(), SCIP_DECL_BRANCHEXECLP(), SCIP_DECL_CONCSOLVERCOPYSOLVINGDATA(), SCIP_DECL_CONCSOLVERCREATEINST(), SCIP_DECL_CONFLICTEXEC(), SCIP_DECL_CONSCHECK(), SCIP_DECL_CONSCOPY(), SCIP_DECL_CONSENFOLP(), SCIP_DECL_CONSENFORELAX(), SCIP_DECL_CONSEXIT(), SCIP_DECL_CONSEXITPRE(), SCIP_DECL_CONSGETNVARS(), SCIP_DECL_CONSGETVARS(), SCIP_DECL_CONSINITLP(), SCIP_DECL_CONSINITPRE(), SCIP_DECL_CONSINITSOL(), SCIP_DECL_CONSPARSE(), SCIP_DECL_CONSPRESOL(), SCIP_DECL_CONSPRINT(), SCIP_DECL_CONSPROP(), SCIP_DECL_CONSRESPROP(), SCIP_DECL_CONSSEPALP(), SCIP_DECL_CONSSEPASOL(), SCIP_DECL_CONSTRANS(), SCIP_DECL_DIALOGEXEC(), SCIP_DECL_EXPRGRAPHNODEREFORM(), SCIP_DECL_HEUREXEC(), SCIP_DECL_HEURINITSOL(), SCIP_DECL_LINCONSUPGD(), SCIP_DECL_PARAMCHGD(), SCIP_DECL_PRESOLEXEC(), SCIP_DECL_PRICERFARKAS(), SCIP_DECL_PRICERREDCOST(), SCIP_DECL_QUADCONSUPGD(), SCIP_DECL_READERREAD(), SCIP_DECL_READERWRITE(), SCIP_DECL_SEPAEXECLP(), SCIP_DECL_SEPAEXECSOL(), SCIP_DECL_SOLVECUMULATIVE(), SCIPaddCoefLinear(), SCIPaddNlpiProbRows(), SCIPaddToNlpiProblemQuadratic(), SCIPaddToNlpiProblemSOC(), SCIPapplyHeurDualval(), SCIPapplyLockFixings(), SCIPapplyRens(), SCIPapplyUndercover(), SCIPcalcFlowCover(), SCIPcalcMIR(), SCIPcalcStrongCG(), SCIPcomputeConvexEnvelopeFacet(), SCIPcomputeGroupOrbitsSymbreak(), SCIPcomputeLPRelIntPoint(), SCIPcopyConflicts(), SCIPcopyConsLinear(), SCIPcopyImplicationsCliques(), SCIPcreateConsCardinality(), SCIPcreateConsOrbisack(), SCIPcreateConsPseudoboolean(), SCIPcreateFiniteSolCopy(), SCIPcreateNlpiProb(), SCIPcreateSchedulingProblem(), SCIPcreateWorstCaseProfile(), SCIPcutGenerationHeuristicCMIR(), SCIPcutsTightenCoefficients(), SCIPdummyDebugMethodForSun(), SCIPendStrongbranch(), SCIPevalExprtreeGlobalBounds(), SCIPevalExprtreeLocalBounds(), SCIPevalExprtreeSol(), SCIPgetLinDatasWithoutAndPseudoboolean(), SCIPgetVarCopy(), SCIPgetVarsStrongbranchesFrac(), SCIPgetVarsStrongbranchesInt(), SCIPmatrixCreate(), SCIPmatrixGetParallelCols(), SCIPmatrixGetParallelRows(), SCIPpairheapBuffarr(), SCIPparseVarsList(), SCIPperformGenericDivingAlgorithm(), SCIPprintBranchingStatistics(), SCIPprintNodeRootPath(), SCIPprobdataCreate(), SCIPprobdataEnumeratePatterns(), SCIPprobdataPrintGraph(), SCIPprobdataWriteSolution(), SCIPpropagateProbing(), SCIPreadOpb(), SCIPreoptApplyGlbConss(), SCIPselectCuts(), SCIPselectVarStrongBranching(), SCIPseparateCoversOrbisack(), SCIPseparateKnapsackCuts(), SCIPseparateRelaxedKnapsack(), SCIPsetNLPInitialGuessSol(), SCIPsetRelaxSolValsSol(), SCIPshrinkDisjunctiveVarSet(), SCIPsolveConcurrent(), SCIPsolveKnapsackApproximately(), SCIPsolveKnapsackApproximatelyLT(), SCIPsolveKnapsackExactly(), SCIPStpDualAscent(), SCIPStpDualAscentPcMw(), SCIPStpHeurAscendPruneRun(), SCIPStpHeurLocalExtendPcMw(), SCIPStpHeurLocalRun(), SCIPStpHeurPruneRun(), SCIPStpHeurRecExclude(), SCIPStpHeurRecRun(), SCIPStpHeurSlackPruneRun(), SCIPStpHeurSlackPruneRunPcMw(), SCIPStpHeurTMBuildTreeDc(), SCIPStpHeurTMPrune(), SCIPStpHeurTMPrunePc(), SCIPStpHeurTMRun(), SCIPStpHeurTMRunLP(), SCIPupdateNlpiProb(), SCIPvariablegraphBreadthFirst(), SCIPverifyCircularPatternHeuristic(), SCIPverifyCircularPatternNLP(), SCIPwriteCcg(), SCIPwriteGms(), SCIPwriteLp(), SCIPwriteMps(), SCIPwritePbm(), SCIPwritePip(), SCIPwritePpm(), searchEcAggrWithCliques(), selectBranchingVertexByDegree(), selectBranchingVertexByLp2Flow(), selectBranchingVertexBySol(), selectBranchVar(), selectdiffsols(), selectInitialVariable(), selectsols(), selectVarMultAggrBranching(), sep_2cut(), sepaBoundInequalitiesFromGraph(), separateConsOnIntegerVariables(), separateConstraints(), separateCuts(), separateGLS(), separateHeur(), separateIISRounding(), separateOrbisack(), separateOrbisackCovers(), separatePerspective(), separateSequLiftedExtendedWeightInequality(), separateSequLiftedMinimalCoverInequality(), separateSupLiftedMinimalCoverInequality(), separateSymresackCovers(), sepaSubtour(), sequentialUpAndDownLifting(), sequentialUpAndDownLiftingGUB(), setAltLPObj(), setAltLPObjZero(), setColumnMajorFormat(), setQuadraticObj(), setupAggregationData(), setupAndSolve(), setupAndSolveSubscip(), setupAndSolveSubscipCrossover(), setupAndSolveSubscipLocalbranching(), setupAndSolveSubscipMutation(), setupAndSolveSubscipOneopt(), setupAndSolveSubscipRapidlearning(), setupProblem(), shortenConss(), singletonColumnStuffing(), solCutIsViolated(), solveAndEvalSubscip(), solveCoveringProblem(), solveCumulative(), solveIndependentCons(), solvePricingHeuristic(), solveSubNLP(), solveSubproblem(), sortAllBilinTerms(), sortComponents(), sortGenVBounds(), sortIDs(), sortNodes(), sortVariables(), splitOffLinearPart(), stableSort(), storeAllBilinearTerms(), strenghtenOrbitopeConstraint(), superadditiveUpLifting(), tcliquegraphConstructCliqueTable(), tightenCapacity(), tightenVarsBoundsSOS1(), tightenWeights(), topologicalSort(), transferSolution(), transformSols(), tryUpgradingLogicor(), tryUpgradingXor(), unfixAltLPVariables(), updateNodeReplaceBounds(), updateSolNodeArray(), upgradeCons(), upgradeIndicatorSuperindicator(), upgradeLinearSuperindicator(), visualizeSolutionAscii(), wrapperDins(), wrapperRins(), writeBounds(), writeExpandedSolutions(), writeFzn(), and writeOpbConstraints().

◆ SCIPallocClearBufferArray

◆ SCIPreallocBufferArray

#define SCIPreallocBufferArray (   scip,
  ptr,
  num 
)
Value:
#define NULL
Definition: def.h:246
BMS_BUFMEM * SCIPbuffer(SCIP *scip)
Definition: scip_mem.c:143
#define BMSreallocBufferMemoryArray(mem, ptr, num)
Definition: memory.h:711

Definition at line 134 of file scip_mem.h.

Referenced by addBdchg(), addCliqueDataEntry(), addConsToOccurList(), addKnapsackConstraints(), addLogicOrConstraints(), addSetppcConstraints(), appendBuffer(), applyFixings(), applyProbing(), checkArraySizesGLS(), checkArraySizesHeur(), checkCurvature(), checkForOverlapping(), checkSparseMatrixCapacity(), collectBinaryVars(), collectCliqueData(), constraintListAppend(), correctConshdlrdata(), createConstantAssignment(), createPartitionCut(), ensureEdgeCapacity(), ensureFactorsSize(), ensureMonomialsSize(), Exec(), fillDigraph(), generateClusterCuts(), generateCut(), getActiveVariables(), getActiveVariables2(), getFixedVariable(), getInputString(), getLinearCoeffs(), getNodeIdx(), getVariableIndex(), getVariableOrTerm(), heurdataEnsureArraySize(), insertZerolist(), liftCliqueVariables(), optimize(), parseConstantArrayAssignment(), parseList(), parseVariableArrayAssignment(), preprocessCliques(), presolvePropagateCons(), presolveTryAddLinearReform(), presolveUpgrade(), processNlRow(), readBounds(), readCoefficients(), readExpression(), readLIBSVM(), readQCMatrix(), readQMatrix(), removeFixedNonlinearVariables(), SCIP_DECL_CONSCOPY(), SCIP_DECL_CONSINITPRE(), SCIP_DECL_CONSPARSE(), SCIP_DECL_DIALOGEXEC(), SCIP_DECL_HEUREXEC(), SCIP_DECL_PRESOLEXEC(), SCIP_DECL_SEPAEXECLP(), SCIPaddCoefLinear(), SCIPcopyConsLinear(), SCIPcreateConsLinear(), SCIPmatrixCreate(), SCIPparseVarsPolynomial(), SCIPperformGenericDivingAlgorithm(), SCIPprintNodeRootPath(), SCIPwriteMps(), setupAggregationData(), and tightenVarsBoundsSOS1().

◆ SCIPduplicateBuffer

#define SCIPduplicateBuffer (   scip,
  ptr,
  source 
)
Value:
( (BMSduplicateBufferMemory(SCIPbuffer(scip), (ptr), (source), (size_t)sizeof(**(ptr))) \
BMS_BUFMEM * SCIPbuffer(SCIP *scip)
Definition: scip_mem.c:143
#define BMSduplicateBufferMemory(mem, ptr, source, size)
Definition: memory.h:713

Definition at line 136 of file scip_mem.h.

◆ SCIPduplicateBufferArray

#define SCIPduplicateBufferArray (   scip,
  ptr,
  source,
  num 
)
Value:
( (BMSduplicateBufferMemoryArray(SCIPbuffer(scip), (ptr), (source), (num)) == NULL) \
#define NULL
Definition: def.h:246
#define BMSduplicateBufferMemoryArray(mem, ptr, source, num)
Definition: memory.h:715
BMS_BUFMEM * SCIPbuffer(SCIP *scip)
Definition: scip_mem.c:143

Definition at line 138 of file scip_mem.h.

Referenced by addConstraint(), alnsUnfixVariables(), branch(), cancelRow(), collectCoefficients(), correctConshdlrdata(), createConstantAssignment(), createTcliqueGraph(), DECL_VARFIXINGS(), determineMaxDistance(), executeHeuristic(), getConstraint(), getJobs(), getLinearCoeffs(), getResourcesNames(), greedyCliqueAlgorithm(), GUBsetCalcCliquePartition(), handleLinearCons(), multiAggregateBinvar(), parseConstraint(), parseList(), performRandRounding(), preprocessCliques(), preprocessConstraintPairs(), printActiveVariables(), printLinearCons(), printNonLinearCons(), printNonlinearCons(), printPseudobooleanCons(), printQuadraticCons(), propagateAllConss(), propagateCons(), readFile(), removeDoubleAndSingletonsAndPerformDualpresolve(), removeRedundantConssAndNonzeros(), SCIP_DECL_CONSCOPY(), SCIP_DECL_CONSINITPRE(), SCIP_DECL_CONSPARSE(), SCIP_DECL_DIALOGEXEC(), SCIP_DECL_PRESOLEXEC(), SCIP_DECL_READERREAD(), SCIPapplyLockFixings(), SCIPcopyConsLinear(), SCIPcreateConsLinear(), SCIPmatrixCreate(), SCIPparseVarsPolynomial(), SCIPreadProb(), SCIPtransformMinUC(), selectBranchVar(), selectInitialVariable(), tightenVarsBoundsSOS1(), transformSols(), tryUpgradingLogicor(), tryUpgradingSetppc(), tryUpgradingXor(), updateConsanddataUses(), writeOpbConstraints(), and writeProblem().

◆ SCIPfreeBuffer

◆ SCIPfreeBufferNull

#define SCIPfreeBufferNull (   scip,
  ptr 
)    BMSfreeBufferMemoryNull(SCIPbuffer(scip), (ptr))

Definition at line 141 of file scip_mem.h.

◆ SCIPfreeBufferArray

#define SCIPfreeBufferArray (   scip,
  ptr 
)    BMSfreeBufferMemoryArray(SCIPbuffer(scip), (ptr))

Definition at line 142 of file scip_mem.h.

Referenced by addAltLPColumn(), addAltLPConstraint(), addAltLPRow(), addBranchingComplementaritiesSOS1(), addCliques(), addConstraint(), addCut(), addFixedVarsConss(), addGenVBound(), addLinearization(), addLocalBranchingConstraint(), addLowerboundCons(), addObjcut(), addRegularScholtes(), addRelaxation(), addSplitcons(), addUserEstimator(), aggregateConstraints(), aggregateNextRow(), alnsFixMoreVariables(), alnsUnfixVariables(), analyzeEnergyRequirement(), applyAlternativeBoundsFixing(), applyCliqueFixings(), applyCompletesol(), applyFixings(), applyHeur(), applyOptcumulative(), applyOptcumulativeFixings(), applyProbing(), applyRepair(), applyVariableAssignment(), assignNextBin(), BENDERS_CUTORACLE(), binaryVarListDrop(), branch(), branchBalancedCardinality(), branchOnBin(), buildFlowCover(), buildsolgraph(), calcTwoRowBnds(), cancelRow(), candidateListFree(), central_terminal(), changePartitionCovervars(), changePartitionFeasiblesetvars(), checkConComponentsVarbound(), checkCons(), checkConsnames(), checkCumulativeCondition(), checkCurvature(), checkDivingCandidates(), checkFactorable(), checkFullOrbitopeSolution(), checkLPBoundsClean(), checkOrigPbCons(), checkOverloadViaThetaTree(), checkRedundancy(), checkSolution(), checkSystemGF2(), chgLhs(), chgRhs(), cleanCycle(), cleanupNetwork(), cliquePresolve(), collectCoefficients(), computeAndConstraintInfos(), computeCoverUndercover(), computeCut(), computeDegConsTree(), computeFixingOrder(), computeGradient(), computeLiftingData(), computeMinDistance(), computeNOrbitVars(), computePeak(), computePertubedSol(), computeReferencePointProjection(), computeSteinerTreeVnoi(), computeVarsCoverSOS1(), computeViolation(), computeViolations(), configurationFree(), consCapacityConstraintsFinder(), consCheckRedundancy(), consdataCreate(), consdataLinearize(), consdataPrint(), consdataSortBilinTerms(), consdataSortQuadVarTerms(), constructCompression(), constructSNFRelaxation(), copyConsPseudoboolean(), copyCuts(), copySol(), correctConshdlrdata(), CREATE_CONSTRAINT(), createAltLP(), createAltLPColumn(), createAndAddLinearCons(), createBounddisjunctionCons(), createCGCuts(), createCipFormulation(), createConstraints(), createCoverCuts(), createCoverCutsTimepoint(), createCoveringProblem(), createCumulativeCons(), createDisjuctiveCons(), createIntervalRelaxation(), createLinking(), createLP(), createMIP(), createMipCpFormulation(), createMipFormulation(), createNewSol(), createNewSols(), createNlRow(), createNormalizedKnapsack(), createNormalizedLogicor(), createNormalizedSetppc(), createPresoldata(), createRows(), createScenariosFromBlocks(), createSelectedSortedEventpointsSol(), createSubscip(), createSwitchSolution(), createVariables(), CUTOFF_CONSTRAINT(), cutsTransformMIR(), cutsTransformStrongCG(), cutTightenCoefs(), cutTightenCoefsQuad(), DECL_VARFIXINGS(), deleteRedundantVars(), destroyLiftingData(), destroySNFRelaxation(), detectOrbitopes(), detectParallelCols(), detectRedundantVars(), determineMaxDistance(), determineVariableFixings(), disaggregate(), doSeachEcAggr(), doSeparation(), dualBoundStrengthening(), dualcostVarfixing(), dualPresolve(), enfopsCons(), enforceCuts(), Exec(), execRelpscost(), executeHeuristic(), extendToCover(), extensionOperatorSOS1(), extractCapacityRows(), extractFlow(), extractGates(), extractNodes(), extractVariablesMINLP(), fillDigraph(), fillGraphByColoredCoefficients(), fillVariableGraph(), filterPatterns(), findAggregation(), findAndStoreEcAggregations(), findComponents(), findCumulativeConss(), findPrecedenceConss(), findUnblockedShortestPathToRoot(), findUncapacitatedArcs(), findVarAggrRedVbcons(), fixAltLPVariables(), fixAndPropagate(), forbidCover(), forbidFixation(), freeGraph(), freeMatrix(), freeStringBufferArray(), freeTcliqueGraph(), generateAndApplyBendersCuts(), generateAverageRay(), generateBoundInequalityFromSOS1Cons(), generateBoundInequalityFromSOS1Nodes(), generateClusterCuts(), generateCut(), generateCutSol(), generateCutUnboundedLP(), generateOddCycleCut(), generateRowCardinality(), generateSparseCut(), generateZerohalfCut(), getBoundConsFromVertices(), getConstraint(), getCover(), getEstPermutation(), getFeasibleSet(), getFixedVariable(), getFlowCover(), getHighestCapacityUsage(), getLctPermuataion(), getLiftingSequence(), getLiftingSequenceGUB(), getLinearCoeffs(), getLinVarsAndAndRess(), getMaxactImplicObjchg(), getNodeSimilarityScore(), graph_get4nextTTerms(), graph_get_edgeConflicts(), graph_grid_create(), graph_obstgrid_create(), graph_pack(), graph_path_st_pcmw_reduce(), graph_sol_getOrg(), graph_sol_markPcancestors(), graph_sol_reroot(), graph_sol_valid(), graph_trail_arr(), graph_voronoiWithRadius(), greedyCliqueAlgorithm(), greedyStableSet(), GUBsetCalcCliquePartition(), handleLinearCons(), heurdataFreeArrays(), heurExec(), identifyComponent(), identifySourcesTargets(), improvePoint(), inferboundsEdgeFinding(), initConcsolver(), initConflictgraph(), initLP(), initPricing(), initReceivedSubproblem(), insertSortedRootNeighbors(), isCandidate(), labelSortStable(), lca(), level0save(), liftOddCycleCut(), loadTcliquegraph(), makeCoverMinimal(), makeSOS1conflictgraphFeasible(), mcfnetworkExtract(), mcfnetworkFill(), mergeAndCleanBilinearTerms(), mergeMultiples(), mod2rowAddRow(), multiAggregateBinvar(), nlrowaggrCreate(), nodepairqueueFree(), nodepartitionCreate(), nodepartitionFree(), nodepartitionIsConnected(), optimize(), orbisackUpgrade(), orderDaRoots(), packingUpgrade(), pairheapCombineSiblings(), parseAggregation(), parseConstantArray(), parseConstraint(), parseDetails(), parseQuadratic(), parseSolveItem(), parseVariableArray(), performBackwardScheduling(), performForwardScheduling(), performRandRounding(), performRelaxSimpleRounding(), permuteStartSolution(), preprocessCliques(), preprocessConstraintPairs(), preprocessGraph(), presolRoundCardinality(), presolveAddKKTKnapsackConss(), presolveAddKKTLogicorConss(), presolveAddKKTSetppcConss(), presolveAddKKTVarboundConss(), presolveConsEffectiveHorizon(), presolveConsEst(), presolveConsLct(), presolveCreateBenTalNemirovskiApproxDim3(), presolveCreateGlineurApproxDim3(), presolveCumulativeCondition(), presolveDisaggregate(), presolveDisaggregateMergeComponents(), presolveRemoveFixedVariables(), presolveTryAddAND(), presolveUpgrade(), printActiveVariables(), printAggregatedCons(), printAndCons(), printLinearCons(), printNonLinearCons(), printNonlinearCons(), printPseudobooleanCons(), printQuadraticCons(), propagateAllConss(), propagateBounds(), propagateCons(), propagateOrbitalFixing(), propagatePackingPartitioningCons(), propagateTTEF(), propIndicator(), propVariables(), readCnf(), readCoefficients(), readCol(), readConstraints(), readExpression(), readFile(), readIndicators(), readLIBSVM(), readNonlinearExprs(), readObjective(), readOPBFile(), readPolynomial(), readQCMatrix(), readQMatrix(), redbasedVarfixing(), reduce_bdr(), reduce_bound(), reduce_boundHop(), reduce_boundHopRc(), reduce_boundPrune(), reduce_da(), reduce_daPcMw(), reduce_daSlackPrune(), reduce_daSlackPruneMw(), reduce_deleteConflictEdges(), reduce_extendedEdge(), reduce_ledge(), reduce_nv(), reduce_nvAdv(), reduce_rpt(), reduce_sd(), reduce_sdspSap(), reduce_sl(), reduceHc(), reduceMw(), reduceNw(), reducePc(), reduceRedcostExtended(), reduceSap(), reduceStp(), reformulate(), removeBilinearTermsPos(), removeConstraintsDueToNegCliques(), removeDoubleAndSingletonsAndPerformDualpresolve(), removeFixedNonlinearVariables(), removeRedundantConss(), removeRedundantConssAndNonzeros(), resolvePropagationCoretimes(), rowprepCleanupSortTerms(), runCyckerlin(), scaleFirstRow(), SCIP_DECL_BRANCHEXECLP(), SCIP_DECL_CONCSOLVERCOPYSOLVINGDATA(), SCIP_DECL_CONCSOLVERCREATEINST(), SCIP_DECL_CONFLICTEXEC(), SCIP_DECL_CONSCHECK(), SCIP_DECL_CONSCOPY(), SCIP_DECL_CONSENFOLP(), SCIP_DECL_CONSENFORELAX(), SCIP_DECL_CONSEXIT(), SCIP_DECL_CONSEXITPRE(), SCIP_DECL_CONSGETNVARS(), SCIP_DECL_CONSGETVARS(), SCIP_DECL_CONSINITLP(), SCIP_DECL_CONSINITPRE(), SCIP_DECL_CONSINITSOL(), SCIP_DECL_CONSPARSE(), SCIP_DECL_CONSPRESOL(), SCIP_DECL_CONSPRINT(), SCIP_DECL_CONSPROP(), SCIP_DECL_CONSRESPROP(), SCIP_DECL_CONSSEPALP(), SCIP_DECL_CONSSEPASOL(), SCIP_DECL_CONSTRANS(), SCIP_DECL_DIALOGEXEC(), SCIP_DECL_EXPRGRAPHNODEREFORM(), SCIP_DECL_HEUREXEC(), SCIP_DECL_HEURINITSOL(), SCIP_DECL_LINCONSUPGD(), SCIP_DECL_PARAMCHGD(), SCIP_DECL_PRESOLEXEC(), SCIP_DECL_PRICERFARKAS(), SCIP_DECL_PRICERREDCOST(), SCIP_DECL_QUADCONSUPGD(), SCIP_DECL_READERREAD(), SCIP_DECL_READERWRITE(), SCIP_DECL_SEPAEXECLP(), SCIP_DECL_SEPAEXECSOL(), SCIP_DECL_SOLVECUMULATIVE(), SCIPaddCoefLinear(), SCIPaddNlpiProbRows(), SCIPaddToNlpiProblemSOC(), SCIPapplyHeurDualval(), SCIPapplyLockFixings(), SCIPapplyRens(), SCIPapplyUndercover(), SCIPcalcFlowCover(), SCIPcalcMIR(), SCIPcalcStrongCG(), SCIPcomputeConvexEnvelopeFacet(), SCIPcomputeGroupOrbitsSymbreak(), SCIPcomputeLPRelIntPoint(), SCIPcopyConsLinear(), SCIPcopyImplicationsCliques(), SCIPcreateConsCardinality(), SCIPcreateConsLinear(), SCIPcreateConsOrbisack(), SCIPcreateConsPseudoboolean(), SCIPcreateFiniteSolCopy(), SCIPcreateNlpiProb(), SCIPcreateSchedulingProblem(), SCIPcreateWorstCaseProfile(), SCIPcutGenerationHeuristicCMIR(), SCIPcutsTightenCoefficients(), SCIPdummyDebugMethodForSun(), SCIPendStrongbranch(), SCIPevalExprtreeGlobalBounds(), SCIPevalExprtreeLocalBounds(), SCIPevalExprtreeSol(), SCIPfreeParseVarsPolynomialData(), SCIPgetLinDatasWithoutAndPseudoboolean(), SCIPgetVarCopy(), SCIPgetVarsStrongbranchesFrac(), SCIPgetVarsStrongbranchesInt(), SCIPmatrixCreate(), SCIPmatrixFree(), SCIPmatrixGetParallelCols(), SCIPmatrixGetParallelRows(), SCIPparseVarsList(), SCIPperformGenericDivingAlgorithm(), SCIPprintBranchingStatistics(), SCIPprintNodeRootPath(), SCIPprobdataCreate(), SCIPprobdataEnumeratePatterns(), SCIPprobdataPrintGraph(), SCIPprobdataWriteSolution(), SCIPpropagateProbing(), SCIPreadProb(), SCIPreoptApplyGlbConss(), SCIPselectCuts(), SCIPselectVarStrongBranching(), SCIPseparateCoversOrbisack(), SCIPseparateKnapsackCuts(), SCIPseparateRelaxedKnapsack(), SCIPsetNLPInitialGuessSol(), SCIPsetRelaxSolValsSol(), SCIPshrinkDisjunctiveVarSet(), SCIPsolveConcurrent(), SCIPsolveKnapsackApproximately(), SCIPsolveKnapsackApproximatelyLT(), SCIPsolveKnapsackExactly(), SCIPStpDualAscent(), SCIPStpDualAscentPcMw(), SCIPStpHeurAscendPruneRun(), SCIPStpHeurLocalExtendPcMw(), SCIPStpHeurLocalRun(), SCIPStpHeurPruneRun(), SCIPStpHeurRecExclude(), SCIPStpHeurRecRun(), SCIPStpHeurSlackPruneRun(), SCIPStpHeurSlackPruneRunPcMw(), SCIPStpHeurTMBuildTreeDc(), SCIPStpHeurTMPrune(), SCIPStpHeurTMPrunePc(), SCIPStpHeurTMRun(), SCIPStpValidateSol(), SCIPtransformMinUC(), SCIPupdateNlpiProb(), SCIPvariablegraphBreadthFirst(), SCIPverifyCircularPatternHeuristic(), SCIPverifyCircularPatternNLP(), SCIPwriteCcg(), SCIPwriteGms(), SCIPwriteLp(), SCIPwriteMps(), SCIPwritePbm(), SCIPwritePip(), SCIPwritePpm(), searchEcAggrWithCliques(), selectBranchingVertexByDegree(), selectBranchingVertexByLp2Flow(), selectBranchingVertexBySol(), selectBranchVar(), selectdiffsols(), selectInitialVariable(), selectsols(), selectVarMultAggrBranching(), sep_2cut(), sepaBoundInequalitiesFromGraph(), separateConsOnIntegerVariables(), separateConstraints(), separateCuts(), separateGLS(), separateHeur(), separateIISRounding(), separateOrbisack(), separateOrbisackCovers(), separatePerspective(), separateSequLiftedExtendedWeightInequality(), separateSequLiftedMinimalCoverInequality(), separateSupLiftedMinimalCoverInequality(), sepaSubtour(), sequentialUpAndDownLifting(), sequentialUpAndDownLiftingGUB(), setAltLPObj(), setAltLPObjZero(), setColumnMajorFormat(), setQuadraticObj(), setupAndSolve(), setupAndSolveSubscip(), setupAndSolveSubscipCrossover(), setupAndSolveSubscipLocalbranching(), setupAndSolveSubscipMutation(), setupAndSolveSubscipOneopt(), setupAndSolveSubscipRapidlearning(), setupProblem(), shortenConss(), singletonColumnStuffing(), solCutIsViolated(), solveAndEvalSubscip(), solveCoveringProblem(), solveCumulative(), solveIndependentCons(), solvePricingHeuristic(), solveSubNLP(), solveSubproblem(), sortAllBilinTerms(), sortComponents(), sortGenVBounds(), sortIDs(), sortNodes(), sortVariables(), splitOffLinearPart(), stableSort(), storeAllBilinearTerms(), strenghtenOrbitopeConstraint(), superadditiveUpLifting(), tcliquegraphConstructCliqueTable(), tightenCapacity(), tightenVarsBoundsSOS1(), tightenWeights(), topologicalSort(), transferSolution(), transformSols(), tryUpgradingLogicor(), tryUpgradingSetppc(), tryUpgradingXor(), unfixAltLPVariables(), updateConsanddataUses(), updateNodeReplaceBounds(), updateSolNodeArray(), upgradeCons(), upgradeIndicatorSuperindicator(), upgradeLinearSuperindicator(), visualizeSolutionAscii(), wrapperDins(), wrapperRins(), writeBounds(), writeExpandedSolutions(), writeFzn(), writeOpbConstraints(), and writeProblem().

◆ SCIPfreeBufferArrayNull

#define SCIPfreeBufferArrayNull (   scip,
  ptr 
)    BMSfreeBufferMemoryArrayNull(SCIPbuffer(scip), (ptr))

Definition at line 143 of file scip_mem.h.

Referenced by addIntervalGradientEstimator(), addKnapsackConstraints(), addLogicOrConstraints(), addSetppcConstraints(), applyRepair(), checkCurvature(), computeInteriorPoint(), consdataCreate(), copyConsPseudoboolean(), CREATE_CONSTRAINT(), createCapacityRestriction(), createCapacityRestrictionIntvars(), createCGCuts(), createConflict(), enforceConflictgraph(), extensionOperatorSOS1(), forbidFixation(), freeBdchgs(), freeMemory(), getBranchingDecisionStrongbranchSOS1(), graph_load(), graph_sol_getOrg(), heurExec(), initImplGraphSOS1(), maxWeightIndSetHeuristic(), preprocessCliques(), presolRoundConssSOS1(), presolRoundVarsSOS1(), presolveAddKKTAggregatedVars(), presolveTryAddLinearReform(), propagateBoundsCons(), readBounds(), readConstraints(), readLinearCoefs(), reduce_bd34(), reduce_bound(), reduce_boundMw(), reduce_da(), reduce_daPcMw(), reduce_nts(), reduce_nv(), reduce_sdsp(), reduceMw(), reducePc(), reduceStp(), removeRedundantConssAndNonzeros(), SCIP_DECL_CONSCOPY(), SCIP_DECL_CONSPRINT(), SCIP_DECL_CONSSEPALP(), SCIP_DECL_DIALOGEXEC(), SCIP_DECL_HEUREXEC(), SCIP_DECL_PRESOLEXEC(), SCIP_DECL_QUADCONSUPGD(), SCIP_DECL_READERREAD(), SCIP_DECL_SEPAEXECLP(), SCIPaddToNlpiProblemQuadratic(), SCIPaddToNlpiProblemSOC(), SCIPapplyLockFixings(), SCIPapplyUndercover(), SCIPcutsTightenCoefficients(), SCIPfreeParseVarsPolynomialData(), SCIPmatrixFree(), SCIPparseVarsPolynomial(), SCIPreadOpb(), SCIPStpHeurAscendPruneRun(), SCIPStpHeurRecRun(), SCIPStpHeurTMRun(), SCIPStpHeurTMRunLP(), SCIPwritePbm(), separateSymresackCovers(), setupAndSolve(), and tightenVarsBoundsSOS1().

◆ SCIPallocCleanBuffer

#define SCIPallocCleanBuffer (   scip,
  ptr 
)
Value:
#define NULL
Definition: def.h:246
#define BMSallocBufferMemory(mem, ptr)
Definition: memory.h:705
BMS_BUFMEM * SCIPcleanbuffer(SCIP *scip)
Definition: scip_mem.c:157

Definition at line 146 of file scip_mem.h.

◆ SCIPallocCleanBufferArray

◆ SCIPfreeCleanBuffer

#define SCIPfreeCleanBuffer (   scip,
  ptr 
)    BMSfreeBufferMemorySize(SCIPcleanbuffer(scip), (ptr))

Definition at line 150 of file scip_mem.h.

◆ SCIPfreeCleanBufferNull

#define SCIPfreeCleanBufferNull (   scip,
  ptr 
)    BMSfreeBufferMemoryNull(SCIPcleanbuffer(scip), (ptr))

Definition at line 151 of file scip_mem.h.

◆ SCIPfreeCleanBufferArray

◆ SCIPfreeCleanBufferArrayNull

#define SCIPfreeCleanBufferArrayNull (   scip,
  ptr 
)    BMSfreeBufferMemoryArrayNull(SCIPcleanbuffer(scip), (ptr))

Definition at line 153 of file scip_mem.h.

Function Documentation

◆ SCIPblkmem()

BMS_BLKMEM* SCIPblkmem ( SCIP scip)

returns block memory to use at the current time

Returns
the block memory to use at the current time.
Parameters
scipSCIP data structure

Definition at line 128 of file scip_mem.c.

References Scip::mem, NULL, SCIP_Mem::probmem, and Scip::set.

Referenced by SCIPensureBlockMemoryArray_call().

◆ SCIPbuffer()

BMS_BUFMEM* SCIPbuffer ( SCIP scip)

returns buffer memory for short living temporary objects

Returns
the buffer memory for short living temporary objects
Parameters
scipSCIP data structure

Definition at line 143 of file scip_mem.c.

References SCIP_Mem::buffer, Scip::mem, and NULL.

Referenced by exitPresolve(), initPresolve(), presolve(), presolveRound(), propagationRound(), SCIP_DECL_PARAMCHGD(), SCIPcreateBanditEpsgreedy(), SCIPcreateBanditExp3(), SCIPcreateBanditUcb(), SCIPprimalHeuristics(), SCIPprintMemoryDiagnostic(), SCIPresetBandit(), and separationRoundLP().

◆ SCIPcleanbuffer()

BMS_BUFMEM* SCIPcleanbuffer ( SCIP scip)

returns clean buffer memory for short living temporary objects initialized to all zero

Returns
the buffer memory for short living temporary objects initialized to all zero
Parameters
scipSCIP data structure

Definition at line 157 of file scip_mem.c.

References SCIP_Mem::cleanbuffer, Scip::mem, and NULL.

Referenced by exitPresolve(), initPresolve(), presolve(), presolveRound(), SCIP_DECL_PARAMCHGD(), and SCIPprintMemoryDiagnostic().

◆ SCIPgetMemUsed()

SCIP_Longint SCIPgetMemUsed ( SCIP scip)

returns the total number of bytes used in block and buffer memory

Returns
the total number of bytes used in block and buffer memory.
Parameters
scipSCIP data structure

Definition at line 171 of file scip_mem.c.

References Scip::mem, NULL, and SCIPmemGetUsed().

Referenced by applyOptcumulative(), applyRepair(), checkArraySizesGLS(), checkArraySizesHeur(), computeCoverUndercover(), copyMemoryAndTimeLimits(), determineLimits(), getCopyMemlimit(), SCIP_DECL_DISPOUTPUT(), SCIP_DECL_PRICERREDCOST(), SCIPapplyUndercover(), SCIPsolveConcurrent(), SCIPtransformProb(), setSubscipLimits(), solveCumulative(), solveIndependentCons(), and solveSubscip().

◆ SCIPgetMemTotal()

SCIP_Longint SCIPgetMemTotal ( SCIP scip)

returns the total number of bytes in block and buffer memory

Returns
the total number of bytes in block and buffer memory.
Parameters
scipSCIP data structure

Definition at line 184 of file scip_mem.c.

References Scip::mem, NULL, and SCIPmemGetTotal().

Referenced by SCIP_DECL_CONCSOLVERSYNCWRITE(), SCIP_DECL_DISPOUTPUT(), SCIPgetConcurrentMemTotal(), and SCIPsyncstoreStartSync().

◆ SCIPgetMemExternEstim()

SCIP_Longint SCIPgetMemExternEstim ( SCIP scip)

returns the estimated number of bytes used by external software, e.g., the LP solver

Returns
the estimated number of bytes used by external software, e.g., the LP solver.
Parameters
scipSCIP data structure

Definition at line 197 of file scip_mem.c.

References NULL, SCIPstatGetMemExternEstim(), and Scip::stat.

Referenced by applyOptcumulative(), applyRepair(), checkArraySizesGLS(), checkArraySizesHeur(), computeCoverUndercover(), copyMemoryAndTimeLimits(), determineLimits(), getCopyMemlimit(), SCIPapplyUndercover(), SCIPcheckCopyLimits(), SCIPsolveConcurrent(), setSubscipLimits(), solveCumulative(), solveIndependentCons(), and solveSubscip().

◆ SCIPcalcMemGrowSize()

int SCIPcalcMemGrowSize ( SCIP scip,
int  num 
)

calculate memory size for dynamically allocated arrays

Returns
the memory size for dynamically allocated arrays.
Parameters
scipSCIP data structure
numminimum number of entries to store

Definition at line 210 of file scip_mem.c.

References NULL, SCIPsetCalcMemGrowSize(), and Scip::set.

Referenced by addCliqueDataEntry(), addCoef(), addConsToOccurList(), addOneRow(), addScenarioEntry(), addVbound(), applyOptcumulative(), blisshook(), buildScenariosFromBlocks(), checkForOverlapping(), collectAggregatedVars(), collectCliqueData(), collectCoefficients(), COLORprobAddNewStableSet(), consdataEnsureAddLinConsSize(), consdataEnsureAdjBilinSize(), consdataEnsureBilinSize(), consdataEnsureLinearVarsSize(), consdataEnsureQuadVarTermsSize(), consdataEnsureVarsSize(), consdataEnsurevarsSizeCardinality(), consdataEnsurevarsSizeSOS1(), consdataEnsurevarsSizeSOS2(), constraintListAppend(), constructValidSolution(), correctPresoldata(), createAndAddAndCons(), determineVariableFixings(), ensureFactorsSize(), ensureMonomialsSize(), fillVariableGraph(), generateZerohalfCut(), getInferInt(), getInputString(), getNodeIdx(), getVariableIndex(), getVariableOrTerm(), presolvePropagateCons(), readBlocks(), readBounds(), readCoefficients(), readExpression(), readIndep(), readQCMatrix(), readQMatrix(), SCIP_DECL_CONSACTIVE(), SCIP_DECL_CONSPARSE(), SCIP_DECL_PRESOLEXEC(), SCIPaggrRowAddRow(), SCIPcreateConsPseudobooleanWithConss(), SCIPensureRowprepSize(), SCIPincludeNonlinconsUpgrade(), SCIPincludeQuadconsUpgrade(), SCIPparseVarsPolynomial(), SCIPpropSyncAddBndchg(), and tcliquegraphEnsureCliqueidsSize().

◆ SCIPensureBlockMemoryArray_call()

SCIP_RETCODE SCIPensureBlockMemoryArray_call ( SCIP scip,
void **  arrayptr,
size_t  elemsize,
int *  arraysize,
int  minsize 
)

extends a dynamically allocated block memory array to be able to store at least the given number of elements; use SCIPensureBlockMemoryArray() define to call this method!

Returns
SCIP_OKAY is returned if everything worked. Otherwise a suitable error code is passed. See SCIP_RETCODE for a complete list of error codes.
Parameters
scipSCIP data structure
arrayptrpointer to dynamically sized array
elemsizesize in bytes of each element in array
arraysizepointer to current array size
minsizerequired minimal array size

Definition at line 226 of file scip_mem.c.

References BMSreallocBlockMemorySize, NULL, SCIP_ALLOC, SCIP_OKAY, SCIPblkmem(), SCIPsetCalcMemGrowSize(), and Scip::set.

◆ SCIPprintMemoryDiagnostic()

void SCIPprintMemoryDiagnostic ( SCIP scip)

prints output about used memory

Parameters
scipSCIP data structure

Definition at line 252 of file scip_mem.c.

References BMSdisplayBlockMemory, BMSdisplayMemory, BMSprintBufferMemory(), Scip::mem, Scip::messagehdlr, NULL, SCIP_Mem::probmem, SCIPbuffer(), SCIPcleanbuffer(), SCIPmessagePrintInfo(), Scip::set, and SCIP_Mem::setmem.

Referenced by SCIP_DECL_DIALOGEXEC().