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