Scippy

SCIP

Solving Constraint Integer Programs

type_stat.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_stat.h
26 * @brief type definitions for problem statistics
27 * @author Tobias Achterberg
28 */
29
30/*---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0----+----1----+----2*/
31
32#ifndef __SCIP_TYPE_STAT_H__
33#define __SCIP_TYPE_STAT_H__
34
35#ifdef __cplusplus
36extern "C" {
37#endif
38
39/** SCIP solving status */
41{
42 SCIP_STATUS_UNKNOWN = 0, /**< the solving status is not yet known */
43 SCIP_STATUS_USERINTERRUPT = 1, /**< the user interrupted the solving process (by pressing CTRL-C) */
44 SCIP_STATUS_NODELIMIT = 2, /**< the solving process was interrupted because the node limit was reached */
45 SCIP_STATUS_TOTALNODELIMIT = 3, /**< the solving process was interrupted because the total node limit was
46 * reached (incl. restarts)
47 */
48 SCIP_STATUS_STALLNODELIMIT = 4, /**< the solving process was interrupted because the stalling node limit was
49 * reached (no inprovement w.r.t. primal bound)
50 */
51 SCIP_STATUS_TIMELIMIT = 5, /**< the solving process was interrupted because the time limit was reached */
52 SCIP_STATUS_MEMLIMIT = 6, /**< the solving process was interrupted because the memory limit was reached */
53 SCIP_STATUS_GAPLIMIT = 7, /**< the solving process was interrupted because the gap limit was reached */
54 SCIP_STATUS_PRIMALLIMIT = 16, /**< the solving process was interrupted because the primal limit was reached */
55 SCIP_STATUS_DUALLIMIT = 17, /**< the solving process was interrupted because the dual limit was reached */
56 SCIP_STATUS_SOLLIMIT = 8, /**< the solving process was interrupted because the solution limit was reached */
57 SCIP_STATUS_BESTSOLLIMIT = 9, /**< the solving process was interrupted because the solution improvement limit
58 * was reached
59 */
60 SCIP_STATUS_RESTARTLIMIT = 10, /**< the solving process was interrupted because the restart limit was reached */
61 SCIP_STATUS_OPTIMAL = 11, /**< the problem was solved to optimality, an optimal solution is available */
62 SCIP_STATUS_INFEASIBLE = 12, /**< the problem was proven to be infeasible */
63 SCIP_STATUS_UNBOUNDED = 13, /**< the problem was proven to be unbounded */
64 SCIP_STATUS_INFORUNBD = 14, /**< the problem was proven to be either infeasible or unbounded */
65 SCIP_STATUS_TERMINATE = 15 /**< status if the process received a SIGTERM signal */
66};
68
69typedef struct SCIP_Stat SCIP_STAT; /**< problem and runtime specific statistics */
70
71#ifdef __cplusplus
72}
73#endif
74
75#endif
SCIP_Status
Definition: type_stat.h:41
@ SCIP_STATUS_OPTIMAL
Definition: type_stat.h:61
@ SCIP_STATUS_TOTALNODELIMIT
Definition: type_stat.h:45
@ SCIP_STATUS_BESTSOLLIMIT
Definition: type_stat.h:57
@ SCIP_STATUS_SOLLIMIT
Definition: type_stat.h:56
@ SCIP_STATUS_UNBOUNDED
Definition: type_stat.h:63
@ SCIP_STATUS_UNKNOWN
Definition: type_stat.h:42
@ SCIP_STATUS_PRIMALLIMIT
Definition: type_stat.h:54
@ SCIP_STATUS_GAPLIMIT
Definition: type_stat.h:53
@ SCIP_STATUS_USERINTERRUPT
Definition: type_stat.h:43
@ SCIP_STATUS_TERMINATE
Definition: type_stat.h:65
@ SCIP_STATUS_INFORUNBD
Definition: type_stat.h:64
@ SCIP_STATUS_STALLNODELIMIT
Definition: type_stat.h:48
@ SCIP_STATUS_TIMELIMIT
Definition: type_stat.h:51
@ SCIP_STATUS_INFEASIBLE
Definition: type_stat.h:62
@ SCIP_STATUS_NODELIMIT
Definition: type_stat.h:44
@ SCIP_STATUS_DUALLIMIT
Definition: type_stat.h:55
@ SCIP_STATUS_MEMLIMIT
Definition: type_stat.h:52
@ SCIP_STATUS_RESTARTLIMIT
Definition: type_stat.h:60
enum SCIP_Status SCIP_STATUS
Definition: type_stat.h:67