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