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