Scippy

SCIP

Solving Constraint Integer Programs

type_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-2024 Zuse Institute Berlin (ZIB) */
7/* */
8/* Licensed under the Apache License, Version 2.0 (the "License"); */
9/* you may not use this file except in compliance with the License. */
10/* You may obtain a copy of the License at */
11/* */
12/* http://www.apache.org/licenses/LICENSE-2.0 */
13/* */
14/* Unless required by applicable law or agreed to in writing, software */
15/* distributed under the License is distributed on an "AS IS" BASIS, */
16/* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. */
17/* See the License for the specific language governing permissions and */
18/* limitations under the License. */
19/* */
20/* You should have received a copy of the Apache-2.0 license */
21/* along with SCIP; see the file LICENSE. If not visit scipopt.org. */
22/* */
23/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
24
25/**@file type_visual.h
26 * @brief type definitions for output for visualization tools (VBC, BAK)
27 * @author Tobias Achterberg
28 * @author Marc Pfetsch
29 */
30
31/*---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0----+----1----+----2*/
32
33#ifndef __SCIP_TYPE_VISUAL_H__
34#define __SCIP_TYPE_VISUAL_H__
35
36#ifdef __cplusplus
37extern "C" {
38#endif
39
40/** node colors in VBC output:
41 * 1: indian red
42 * 2: green
43 * 3: light gray
44 * 4: red
45 * 5: blue
46 * 6: black
47 * 7: light pink
48 * 8: cyan
49 * 9: dark green
50 * 10: brown
51 * 11: orange
52 * 12: yellow
53 * 13: pink
54 * 14: purple
55 * 15: light blue
56 * 16: muddy green
57 * 17: white
58 * 18: light grey
59 * 19: light grey
60 * 20: light grey
61 */
63{
64 SCIP_VBCCOLOR_UNSOLVED = 3, /**< color for newly created, unsolved nodes */
65 SCIP_VBCCOLOR_SOLVED = 2, /**< color for solved nodes */
66 SCIP_VBCCOLOR_CUTOFF = 4, /**< color for nodes that were cut off */
67 SCIP_VBCCOLOR_CONFLICT = 15, /**< color for nodes where a conflict constraint was found */
68 SCIP_VBCCOLOR_MARKREPROP = 11, /**< color for nodes that were marked to be repropagated */
69 SCIP_VBCCOLOR_REPROP = 12, /**< color for repropagated nodes */
70 SCIP_VBCCOLOR_SOLUTION = 14, /**< color for solved nodes, where a solution has been found */
71 SCIP_VBCCOLOR_NONE = -1 /**< color should not be changed */
72};
74
75
76typedef struct SCIP_Visual SCIP_VISUAL; /**< VBC Tool data structure */
77
78#ifdef __cplusplus
79}
80#endif
81
82#endif
enum SCIP_VBCColor SCIP_VBCCOLOR
Definition: type_visual.h:73
SCIP_VBCColor
Definition: type_visual.h:63
@ SCIP_VBCCOLOR_UNSOLVED
Definition: type_visual.h:64
@ SCIP_VBCCOLOR_MARKREPROP
Definition: type_visual.h:68
@ SCIP_VBCCOLOR_REPROP
Definition: type_visual.h:69
@ SCIP_VBCCOLOR_SOLUTION
Definition: type_visual.h:70
@ SCIP_VBCCOLOR_SOLVED
Definition: type_visual.h:65
@ SCIP_VBCCOLOR_NONE
Definition: type_visual.h:71
@ SCIP_VBCCOLOR_CUTOFF
Definition: type_visual.h:66
@ SCIP_VBCCOLOR_CONFLICT
Definition: type_visual.h:67