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