1 /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ 2 /* */ 3 /* This file is part of the program and library */ 4 /* SCIP --- Solving Constraint Integer Programs */ 5 /* */ 6 /* Copyright (c) 2002-2023 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 36 extern "C" { 37 #endif 38 39 /** SCIP solving status */ 40 enum SCIP_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_SOLLIMIT = 8, /**< the solving process was interrupted because the solution limit was 55 * reached 56 */ 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 }; 67 typedef enum SCIP_Status SCIP_STATUS; 68 69 typedef struct SCIP_Stat SCIP_STAT; /**< problem and runtime specific statistics */ 70 71 #ifdef __cplusplus 72 } 73 #endif 74 75 #endif 76