Scippy

SCIP

Solving Constraint Integer Programs

type_set.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-2021 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 visit scipopt.org. */
13 /* */
14 /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
15 
16 /**@file type_set.h
17  * @brief type definitions for global SCIP settings
18  * @author Tobias Achterberg
19  */
20 
21 /*---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0----+----1----+----2*/
22 
23 #ifndef __SCIP_TYPE_SET_H__
24 #define __SCIP_TYPE_SET_H__
25 
26 /**! [SnippetCodeStyleExample] */
27 
28 #ifdef __cplusplus
29 extern "C" {
30 #endif
31 
32 /** SCIP operation stage */
34 {
35  SCIP_STAGE_INIT = 0, /**< SCIP data structures are initialized, no problem exists */
36  SCIP_STAGE_PROBLEM = 1, /**< the problem is being created and modified */
37  SCIP_STAGE_TRANSFORMING = 2, /**< the problem is being transformed into solving data space */
38  SCIP_STAGE_TRANSFORMED = 3, /**< the problem was transformed into solving data space */
39  SCIP_STAGE_INITPRESOLVE = 4, /**< presolving is initialized */
40  SCIP_STAGE_PRESOLVING = 5, /**< the problem is being presolved */
41  SCIP_STAGE_EXITPRESOLVE = 6, /**< presolving is exited */
42  SCIP_STAGE_PRESOLVED = 7, /**< the problem was presolved */
43  SCIP_STAGE_INITSOLVE = 8, /**< the solving process data is being initialized */
44  SCIP_STAGE_SOLVING = 9, /**< the problem is being solved */
45  SCIP_STAGE_SOLVED = 10, /**< the problem was solved */
46  SCIP_STAGE_EXITSOLVE = 11, /**< the solving process data is being freed */
47  SCIP_STAGE_FREETRANS = 12, /**< the transformed problem is being freed */
48  SCIP_STAGE_FREE = 13 /**< SCIP data structures are being freed */
49 };
50 typedef enum SCIP_Stage SCIP_STAGE;
51 
52 /** possible settings for enabling/disabling algorithms and other features */
54 {
55  SCIP_UNDEFINED = 0, /**< undefined setting */
56  SCIP_DISABLED = 1, /**< feature is disabled */
57  SCIP_AUTO = 2, /**< feature is set to automatic mode */
58  SCIP_ENABLED = 3 /**< feature is enabled */
59 };
61 
62 typedef struct SCIP_Set SCIP_SET; /**< global SCIP settings */
63 
64 #ifdef __cplusplus
65 }
66 #endif
67 
68 /**! [SnippetCodeStyleExample] */
69 
70 #endif
SCIP_Stage
Definition: type_set.h:33
enum SCIP_Setting SCIP_SETTING
Definition: type_set.h:60
enum SCIP_Stage SCIP_STAGE
Definition: type_set.h:50
SCIP_Setting
Definition: type_set.h:53