Scippy

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-2014 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  * @brief datastructures for block memory pools and memory buffers
18  * @author Tobias Achterberg
19  */
20 
21 /*---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0----+----1----+----2*/
22 
23 #ifndef __SCIP_STRUCT_MEM_H__
24 #define __SCIP_STRUCT_MEM_H__
25 
26 
27 #include "scip/def.h"
28 #include "blockmemshell/memory.h"
29 #include "scip/type_mem.h"
30 
31 #ifdef __cplusplus
32 extern "C" {
33 #endif
34 
35 /** various block memory buffers */
36 struct SCIP_Mem
37 {
38  BMS_BLKMEM* setmem; /**< memory blocks for parameter settings */
39  BMS_BLKMEM* probmem; /**< memory blocks for original problem and solution process: preprocessing, bab-tree, ... */
40 };
41 
42 #ifdef __cplusplus
43 }
44 #endif
45 
46 #endif
47