Toggle navigation
SCIP Optimization Suite
SCIP
SoPlex
ZIMPL
UG
GCG
Documentation
SCIP 9.2.0
SCIP 8.1.0
SCIP 7.0.3
SCIP 6.0.2
SCIP 5.0.1
SCIP 4.0.1
SCIP 3.2.1
SCIP
Solving Constraint Integer Programs
struct_mem.h
Go to the documentation of this file.
1
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
2
/* */
3
/* This file is part of the program and library */
4
/* SCIP --- Solving Constraint Integer Programs */
5
/* */
6
/* Copyright (C) 2002-2018 Konrad-Zuse-Zentrum */
7
/* fuer Informationstechnik Berlin */
8
/* */
9
/* SCIP is distributed under the terms of the ZIB Academic License. */
10
/* */
11
/* You should have received a copy of the ZIB Academic License */
12
/* along with SCIP; see the file COPYING. If not email to scip@zib.de. */
13
/* */
14
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
15
16
/**@file struct_mem.h
17
* @ingroup INTERNALAPI
18
* @brief datastructures for block memory pools and memory buffers
19
* @author Tobias Achterberg
20
*/
21
22
/*---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0----+----1----+----2*/
23
24
#ifndef __SCIP_STRUCT_MEM_H__
25
#define __SCIP_STRUCT_MEM_H__
26
27
28
#include "
scip/def.h
"
29
#include "
blockmemshell/memory.h
"
30
#include "
scip/type_mem.h
"
31
32
#ifdef __cplusplus
33
extern
"C"
{
34
#endif
35
36
/** various block memory buffers */
37
struct
SCIP_Mem
38
{
39
BMS_BLKMEM
*
setmem
;
/**< memory blocks for parameter settings */
40
BMS_BLKMEM
*
probmem
;
/**< memory blocks for original problem and solution process: preprocessing, bab-tree, ... */
41
BMS_BUFMEM
*
buffer
;
/**< memory buffers for short living temporary objects */
42
BMS_BUFMEM
*
cleanbuffer
;
/**< memory buffers for short living temporary objects, initialized to all zero */
43
};
44
45
#ifdef __cplusplus
46
}
47
#endif
48
49
#endif
BMS_BufMem
Definition:
memory.c:2461
SCIP_Mem::cleanbuffer
BMS_BUFMEM * cleanbuffer
Definition:
struct_mem.h:42
SCIP_Mem::buffer
BMS_BUFMEM * buffer
Definition:
struct_mem.h:41
SCIP_Mem
Definition:
struct_mem.h:37
SCIP_Mem::setmem
BMS_BLKMEM * setmem
Definition:
struct_mem.h:39
type_mem.h
type definitions for block memory pools and memory buffers
SCIP_Mem::probmem
BMS_BLKMEM * probmem
Definition:
struct_mem.h:40
def.h
common defines and data types used in all packages of SCIP
BMS_BLKMEM
struct BMS_BlkMem BMS_BLKMEM
Definition:
memory.h:419
memory.h
memory allocation routines