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_visual.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-2017 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_visual.h
17
* @ingroup INTERNALAPI
18
* @brief data structures for output for visualization tools (VBC, BAK)
19
* @author Tobias Achterberg
20
* @author Marc Pfetsch
21
* @author Gregor Hendel
22
*/
23
24
/*---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0----+----1----+----2*/
25
26
#ifndef __SCIP_STRUCT_VISUAL_H__
27
#define __SCIP_STRUCT_VISUAL_H__
28
29
#include <stdio.h>
30
31
#include "
scip/def.h
"
32
#include "
scip/type_visual.h
"
33
#include "
scip/type_misc.h
"
34
35
#ifdef __cplusplus
36
extern
"C"
{
37
#endif
38
39
/** visual data structure */
40
struct
SCIP_Visual
41
{
42
FILE*
vbcfile
;
/**< file to store VBC information */
43
FILE*
bakfile
;
/**< file to store BAK information */
44
SCIP_MESSAGEHDLR
*
messagehdlr
;
/**< message handler to use */
45
SCIP_HASHMAP
*
nodenum
;
/**< hash map for mapping nodes to node numbers */
46
SCIP_Longint
timestep
;
/**< time step counter for non real time output */
47
SCIP_NODE
*
lastnode
;
/**< last node that was colored */
48
SCIP_VBCCOLOR
lastcolor
;
/**< last color that was used */
49
SCIP_Bool
userealtime
;
/**< should the real solving time be used instead of a time step counter? */
50
};
51
52
#ifdef __cplusplus
53
}
54
#endif
55
56
#endif
SCIP_VBCCOLOR
enum SCIP_VBCColor SCIP_VBCCOLOR
Definition:
type_visual.h:64
type_misc.h
type definitions for miscellaneous datastructures
SCIP_Messagehdlr
Definition:
struct_message.h:36
SCIP_Node
Definition:
struct_tree.h:130
SCIP_Visual::vbcfile
FILE * vbcfile
Definition:
struct_visual.h:42
type_visual.h
type definitions for output for visualization tools (VBC, BAK)
SCIP_HashMap
Definition:
struct_misc.h:121
SCIP_Visual::lastcolor
SCIP_VBCCOLOR lastcolor
Definition:
struct_visual.h:48
SCIP_Visual::nodenum
SCIP_HASHMAP * nodenum
Definition:
struct_visual.h:45
SCIP_Visual::lastnode
SCIP_NODE * lastnode
Definition:
struct_visual.h:47
SCIP_Visual::bakfile
FILE * bakfile
Definition:
struct_visual.h:43
SCIP_Bool
#define SCIP_Bool
Definition:
def.h:61
SCIP_Visual::userealtime
SCIP_Bool userealtime
Definition:
struct_visual.h:49
SCIP_Visual
Definition:
struct_visual.h:40
SCIP_Visual::timestep
SCIP_Longint timestep
Definition:
struct_visual.h:46
SCIP_Visual::messagehdlr
SCIP_MESSAGEHDLR * messagehdlr
Definition:
struct_visual.h:44
SCIP_Longint
#define SCIP_Longint
Definition:
def.h:134
def.h
common defines and data types used in all packages of SCIP