Scippy

SCIP

Solving Constraint Integer Programs

struct_vbc.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_vbc.h
17  * @brief datastructures for VBC Tool output
18  * @author Tobias Achterberg
19  */
20 
21 /*---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0----+----1----+----2*/
22 
23 #ifndef __SCIP_STRUCT_VBC_H__
24 #define __SCIP_STRUCT_VBC_H__
25 
26 #include <stdio.h>
27 
28 #include "scip/def.h"
29 #include "scip/type_vbc.h"
30 #include "scip/type_misc.h"
31 
32 #ifdef __cplusplus
33 extern "C" {
34 #endif
35 
36 /** VBC Tool data structure */
37 struct SCIP_Vbc
38 {
39  FILE* file; /**< file to store VBC information */
40  SCIP_MESSAGEHDLR* messagehdlr; /**< message handler to use */
41  SCIP_HASHMAP* nodenum; /**< hash map for mapping nodes to node numbers */
42  SCIP_Longint timestep; /**< time step counter for non real time output */
43  SCIP_NODE* lastnode; /**< last node that was colored */
44  SCIP_VBCCOLOR lastcolor; /**< last color that was used */
45  SCIP_Bool userealtime; /**< should the real solving time be used instead of a time step counter? */
46 };
47 
48 #ifdef __cplusplus
49 }
50 #endif
51 
52 #endif
53