Scippy

SCIP

Solving Constraint Integer Programs

type_result.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-2014 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_result.h
17  * @brief result codes for SCIP callback methods
18  * @author Tobias Achterberg
19  */
20 
21 /*---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0----+----1----+----2*/
22 
23 #ifndef __SCIP_TYPE_RESULT_H__
24 #define __SCIP_TYPE_RESULT_H__
25 
26 #ifdef __cplusplus
27 extern "C" {
28 #endif
29 
30 /** result codes for SCIP callback methods */
32 {
33  SCIP_DIDNOTRUN = 1, /**< the method was not executed */
34  SCIP_DELAYED = 2, /**< the method was not executed, but should be called again later */
35  SCIP_DIDNOTFIND = 3, /**< the method was executed, but failed finding anything */
36  SCIP_FEASIBLE = 4, /**< no infeasibility could be found */
37  SCIP_INFEASIBLE = 5, /**< an infeasibility was detected */
38  SCIP_UNBOUNDED = 6, /**< an unboundedness was detected */
39  SCIP_CUTOFF = 7, /**< the current node is infeasible and can be cut off */
40  SCIP_SEPARATED = 8, /**< the method added a cutting plane */
41  SCIP_NEWROUND = 9, /**< the method added a cutting plane and a new separation round should immediately start */
42  SCIP_REDUCEDDOM = 10, /**< the method reduced the domain of a variable */
43  SCIP_CONSADDED = 11, /**< the method added a constraint */
44  SCIP_CONSCHANGED = 12, /**< the method changed a constraint */
45  SCIP_BRANCHED = 13, /**< the method created a branching */
46  SCIP_SOLVELP = 14, /**< the current node's LP must be solved */
47  SCIP_FOUNDSOL = 15, /**< the method found a feasible primal solution */
48  SCIP_SUSPENDED = 16, /**< the method interrupted its execution, but can continue if needed */
49  SCIP_SUCCESS = 17 /**< the method was successfully executed */
50 };
51 typedef enum SCIP_Result SCIP_RESULT; /**< result codes for SCIP callback methods */
52 
53 #ifdef __cplusplus
54 }
55 #endif
56 
57 #endif
58