Scippy

    SCIP

    Solving Constraint Integer Programs

    def.h File Reference

    Detailed Description

    common defines and data types used in all packages of SCIP

    Author
    Tobias Achterberg

    Definition in file def.h.

    #include <stdio.h>
    #include <stdint.h>
    #include <math.h>
    #include <limits.h>
    #include <float.h>
    #include <assert.h>
    #include "scip/config.h"
    #include "scip/scip_export.h"

    Go to the source code of this file.

    Macros

    #define SCIP_VARARGS_FIRST_(firstarg, ...)   firstarg
     
    #define SCIP_VARARGS_FIRST(args)   SCIP_VARARGS_FIRST_ args
     
    #define SCIP_VARARGS_REST_(firstarg, ...)   __VA_ARGS__
     
    #define SCIP_VARARGS_REST(args)   SCIP_VARARGS_REST_ args
     
    #define SCIP_Bool   unsigned int
     
    #define TRUE   1
     
    #define FALSE   0
     
    #define SCIP_Shortbool   uint8_t
     
    #define INLINE   inline
     
    #define SCIP_VERSION   (100*SCIP_VERSION_MAJOR + 10*SCIP_VERSION_MINOR + SCIP_VERSION_PATCH)
     
    #define SCIP_VERSION_SUB   0
     
    #define SCIP_SUBVERSION   SCIP_VERSION_SUB
     
    #define SCIP_APIVERSION   SCIP_VERSION_API
     
    #define SCIP_COPYRIGHT   "Copyright (c) 2002-2026 Zuse Institute Berlin (ZIB)"
     
    #define LLONG_MAX   9223372036854775807LL
     
    #define LLONG_MIN   (-LLONG_MAX - 1LL)
     
    #define SCIP_Longint   long long
     
    #define SCIP_LONGINT_MAX   LLONG_MAX
     
    #define SCIP_LONGINT_MIN   LLONG_MIN
     
    #define SCIP_LONGINT_FORMAT   "lld"
     
    #define SCIP_Real   double
     
    #define SCIP_REAL_MAX   (SCIP_Real)DBL_MAX
     
    #define SCIP_REAL_MIN   -(SCIP_Real)DBL_MAX
     
    #define SCIP_REAL_UNITROUNDOFF   (1.0 / 9007199254740992)
     
    #define SCIP_REAL_FORMAT   "lf"
     
    #define SCIP_DEFAULT_INFINITY   1e+20
     
    #define SCIP_DEFAULT_EPSILON   1e-09
     
    #define SCIP_DEFAULT_SUMEPSILON   1e-06
     
    #define SCIP_DEFAULT_FEASTOL   1e-06
     
    #define SCIP_DEFAULT_CHECKFEASTOLFAC   1.0
     
    #define SCIP_DEFAULT_LPFEASTOLFACTOR   1.0
     
    #define SCIP_DEFAULT_DUALFEASTOL   1e-07
     
    #define SCIP_DEFAULT_BARRIERCONVTOL   1e-10
     
    #define SCIP_DEFAULT_BOUNDSTREPS   0.05
     
    #define SCIP_DEFAULT_PSEUDOCOSTEPS   1e-01
     
    #define SCIP_DEFAULT_PSEUDOCOSTDELTA   1e-04
     
    #define SCIP_DEFAULT_RECOMPFAC   1e+06
     
    #define SCIP_DEFAULT_HUGEVAL   1e+15
     
    #define SCIP_MAXEPSILON   1e-03
     
    #define SCIP_MINEPSILON   1e-20
     
    #define SCIP_INVALID   (double)1e+99
     
    #define SCIP_UNKNOWN   (double)1e+98
     
    #define SCIP_INTERVAL_INFINITY   (double)1e+300
     
    #define REALABS(x)   (fabs(x))
     
    #define EPSEQ(x, y, eps)   (REALABS((x)-(y)) <= (eps))
     
    #define EPSLT(x, y, eps)   ((x)-(y) < -(eps))
     
    #define EPSLE(x, y, eps)   ((x)-(y) <= (eps))
     
    #define EPSGT(x, y, eps)   ((x)-(y) > (eps))
     
    #define EPSGE(x, y, eps)   ((x)-(y) >= -(eps))
     
    #define EPSZ(x, eps)   (REALABS(x) <= (eps))
     
    #define EPSP(x, eps)   ((x) > (eps))
     
    #define EPSN(x, eps)   ((x) < -(eps))
     
    #define EPSFLOOR(x, eps)   (floor((x)+(eps)))
     
    #define EPSCEIL(x, eps)   (ceil((x)-(eps)))
     
    #define EPSROUND(x, eps)   (ceil((x)-0.5+(eps)))
     
    #define EPSFRAC(x, eps)   ((x)-EPSFLOOR(x,eps))
     
    #define EPSISINT(x, eps)   (EPSFRAC(x,eps) <= (eps))
     
    #define SQR(x)   ((x)*(x))
     
    #define LOG1P(x)   (log1p(x))
     
    #define LOG2(x)   log2(x)
     
    #define ABS(x)   ((x) >= 0 ? (x) : -(x))
     
    #define MAX(x, y)   ((x) >= (y) ? (x) : (y))
     
    #define MIN(x, y)   ((x) <= (y) ? (x) : (y))
     
    #define MAX3(x, y, z)   ((x) >= (y) ? MAX(x, z) : MAX(y, z))
     
    #define MIN3(x, y, z)   ((x) <= (y) ? MIN(x, z) : MIN(y, z))
     
    #define COPYSIGN   copysign
     
    #define NULL   ((void*)0)
     
    #define RESTRICT
     
    #define SCIP_MAXSTRLEN   1024
     
    #define SCIP_SPACECONTROL   " tnvfr"
     
    #define SCIP_MAXMEMSIZE   (SIZE_MAX/2)
     
    #define SCIP_HASHSIZE_PARAMS   2048
     
    #define SCIP_HASHSIZE_NAMES   500
     
    #define SCIP_HASHSIZE_CUTPOOLS   500
     
    #define SCIP_HASHSIZE_CLIQUES   500
     
    #define SCIP_HASHSIZE_NAMES_SMALL   100
     
    #define SCIP_HASHSIZE_CUTPOOLS_SMALL   100
     
    #define SCIP_HASHSIZE_CLIQUES_SMALL   100
     
    #define SCIP_HASHSIZE_VBC   500
     
    #define SCIP_DEFAULT_MEM_ARRAYGROWFAC   1.2
     
    #define SCIP_DEFAULT_MEM_ARRAYGROWINIT   4
     
    #define SCIP_MEM_NOLIMIT   (SCIP_Longint)(SCIP_LONGINT_MAX >> 20)
     
    #define SCIP_MAXTREEDEPTH   1073741822
     
    #define SCIP_PROBINGSCORE_PENALTYRATIO   2
     
    #define SCIPABORT()   assert(FALSE) /*lint --e{527} */
     
    #define SCIP_CALL_ABORT_QUIET(x)   do { if( (x) != SCIP_OKAY ) SCIPABORT(); } while( FALSE )
     
    #define SCIP_CALL_QUIET(x)   do { SCIP_RETCODE _restat_; if( (_restat_ = (x)) != SCIP_OKAY ) return _restat_; } while( FALSE )
     
    #define SCIP_ALLOC_ABORT_QUIET(x)   do { if( NULL == (x) ) SCIPABORT(); } while( FALSE )
     
    #define SCIP_ALLOC_QUIET(x)   do { if( NULL == (x) ) return SCIP_NOMEMORY; } while( FALSE )
     
    #define SCIP_CALL_ABORT(x)
     
    #define SCIP_ALLOC_ABORT(x)
     
    #define SCIP_CALL(x)
     
    #define SCIP_ALLOC(x)
     
    #define SCIP_CALL_TERMINATE(retcode, x, TERM)
     
    #define SCIP_ALLOC_TERMINATE(retcode, x, TERM)
     
    #define SCIP_CALL_FINALLY(x, y)
     
    #define SCIP_UNUSED(x)   ((void) (x))
     
    #define SCIP_DEPRECATED
     

    Macro Definition Documentation

    ◆ SCIP_VARARGS_FIRST_

    #define SCIP_VARARGS_FIRST_ (   firstarg,
      ... 
    )    firstarg

    get the first parameter and all-but-the-first arguments from variadic arguments

    normally, SCIP_VARARGS_FIRST_ should be sufficient the SCIP_VARARGS_FIRST_/SCIP_VARARGS_FIRST kludge is to work around a bug in MSVC (https://stackoverflow.com/questions/4750688/how-to-single-out-the-first-parameter-sent-to-a-macro-taking-only-a-variadic-par) (compiling with -Zc:preprocessor would disable the bug)

    Definition at line 81 of file def.h.

    ◆ SCIP_VARARGS_FIRST

    #define SCIP_VARARGS_FIRST (   args)    SCIP_VARARGS_FIRST_ args

    Definition at line 82 of file def.h.

    ◆ SCIP_VARARGS_REST_

    #define SCIP_VARARGS_REST_ (   firstarg,
      ... 
    )    __VA_ARGS__

    get all but the first parameter from variadic arguments

    normally, SCIP_VARARGS_REST_ should be sufficient the SCIP_VARARGS_REST_/SCIP_VARARGS_REST kludge is to work around a bug in MSVC (compiling with -Zc:preprocessor would disable the bug)

    Definition at line 90 of file def.h.

    ◆ SCIP_VARARGS_REST

    #define SCIP_VARARGS_REST (   args)    SCIP_VARARGS_REST_ args

    Definition at line 91 of file def.h.

    ◆ SCIP_Bool

    #define SCIP_Bool   unsigned int

    type used for Boolean values

    Definition at line 98 of file def.h.

    ◆ TRUE

    #define TRUE   1

    Boolean value TRUE

    Definition at line 100 of file def.h.

    ◆ FALSE

    #define FALSE   0

    Boolean value FALSE

    Definition at line 101 of file def.h.

    ◆ SCIP_Shortbool

    #define SCIP_Shortbool   uint8_t

    type used for Boolean values with less space

    Definition at line 106 of file def.h.

    ◆ INLINE

    #define INLINE   inline

    Definition at line 127 of file def.h.

    ◆ SCIP_VERSION

    #define SCIP_VERSION   (100*SCIP_VERSION_MAJOR + 10*SCIP_VERSION_MINOR + SCIP_VERSION_PATCH)

    SCIP version number (multiplied by 100 to get integer number)

    Definition at line 132 of file def.h.

    ◆ SCIP_VERSION_SUB

    #define SCIP_VERSION_SUB   0
    Deprecated:
    SCIP sub version number. Always 0.

    Definition at line 133 of file def.h.

    ◆ SCIP_SUBVERSION

    #define SCIP_SUBVERSION   SCIP_VERSION_SUB
    Deprecated:
    SCIP sub version number. Always 0.

    Definition at line 134 of file def.h.

    ◆ SCIP_APIVERSION

    #define SCIP_APIVERSION   SCIP_VERSION_API

    SCIP API version number

    Definition at line 135 of file def.h.

    ◆ SCIP_COPYRIGHT

    #define SCIP_COPYRIGHT   "Copyright (c) 2002-2026 Zuse Institute Berlin (ZIB)"

    Definition at line 136 of file def.h.

    ◆ LLONG_MAX

    #define LLONG_MAX   9223372036854775807LL

    Definition at line 144 of file def.h.

    ◆ LLONG_MIN

    #define LLONG_MIN   (-LLONG_MAX - 1LL)

    Definition at line 145 of file def.h.

    ◆ SCIP_Longint

    #define SCIP_Longint   long long

    type used for long integer values

    Definition at line 148 of file def.h.

    ◆ SCIP_LONGINT_MAX

    #define SCIP_LONGINT_MAX   LLONG_MAX

    Definition at line 149 of file def.h.

    ◆ SCIP_LONGINT_MIN

    #define SCIP_LONGINT_MIN   LLONG_MIN

    Definition at line 150 of file def.h.

    ◆ SCIP_LONGINT_FORMAT

    #define SCIP_LONGINT_FORMAT   "lld"

    Definition at line 155 of file def.h.

    ◆ SCIP_Real

    #define SCIP_Real   double

    type used for floating point values

    Definition at line 163 of file def.h.

    ◆ SCIP_REAL_MAX

    #define SCIP_REAL_MAX   (SCIP_Real)DBL_MAX

    Definition at line 165 of file def.h.

    ◆ SCIP_REAL_MIN

    #define SCIP_REAL_MIN   -(SCIP_Real)DBL_MAX

    Definition at line 166 of file def.h.

    ◆ SCIP_REAL_UNITROUNDOFF

    #define SCIP_REAL_UNITROUNDOFF   (1.0 / 9007199254740992)

    Definition at line 167 of file def.h.

    ◆ SCIP_REAL_FORMAT

    #define SCIP_REAL_FORMAT   "lf"

    Definition at line 168 of file def.h.

    ◆ SCIP_DEFAULT_INFINITY

    #define SCIP_DEFAULT_INFINITY   1e+20

    default value considered to be infinity

    Definition at line 170 of file def.h.

    ◆ SCIP_DEFAULT_EPSILON

    #define SCIP_DEFAULT_EPSILON   1e-09

    default upper bound for floating points to be considered zero

    Definition at line 171 of file def.h.

    ◆ SCIP_DEFAULT_SUMEPSILON

    #define SCIP_DEFAULT_SUMEPSILON   1e-06

    default upper bound for sums of floating points to be considered zero

    Definition at line 172 of file def.h.

    ◆ SCIP_DEFAULT_FEASTOL

    #define SCIP_DEFAULT_FEASTOL   1e-06

    default feasibility tolerance for constraints

    Definition at line 173 of file def.h.

    ◆ SCIP_DEFAULT_CHECKFEASTOLFAC

    #define SCIP_DEFAULT_CHECKFEASTOLFAC   1.0

    default factor to change the feasibility tolerance when testing the best solution for feasibility (after solving process)

    Definition at line 174 of file def.h.

    ◆ SCIP_DEFAULT_LPFEASTOLFACTOR

    #define SCIP_DEFAULT_LPFEASTOLFACTOR   1.0

    default factor w.r.t. primal feasibility tolerance that determines default (and maximal) primal feasibility tolerance of LP solver

    Definition at line 175 of file def.h.

    ◆ SCIP_DEFAULT_DUALFEASTOL

    #define SCIP_DEFAULT_DUALFEASTOL   1e-07

    default feasibility tolerance for reduced costs

    Definition at line 176 of file def.h.

    ◆ SCIP_DEFAULT_BARRIERCONVTOL

    #define SCIP_DEFAULT_BARRIERCONVTOL   1e-10

    default convergence tolerance used in barrier algorithm

    Definition at line 177 of file def.h.

    ◆ SCIP_DEFAULT_BOUNDSTREPS

    #define SCIP_DEFAULT_BOUNDSTREPS   0.05

    default minimal relative improve for strengthening bounds

    Definition at line 178 of file def.h.

    ◆ SCIP_DEFAULT_PSEUDOCOSTEPS

    #define SCIP_DEFAULT_PSEUDOCOSTEPS   1e-01

    default minimal variable distance value to use for pseudo cost updates

    Definition at line 179 of file def.h.

    ◆ SCIP_DEFAULT_PSEUDOCOSTDELTA

    #define SCIP_DEFAULT_PSEUDOCOSTDELTA   1e-04

    default minimal objective distance value to use for pseudo cost updates

    Definition at line 180 of file def.h.

    ◆ SCIP_DEFAULT_RECOMPFAC

    #define SCIP_DEFAULT_RECOMPFAC   1e+06

    default minimal decrease factor that causes the recomputation of a value (e.g., pseudo objective) instead of an update

    Definition at line 181 of file def.h.

    ◆ SCIP_DEFAULT_HUGEVAL

    #define SCIP_DEFAULT_HUGEVAL   1e+15

    values larger than this are considered huge and should be handled separately (e.g., in activity computation)

    Definition at line 182 of file def.h.

    ◆ SCIP_MAXEPSILON

    #define SCIP_MAXEPSILON   1e-03

    maximum value for any numerical epsilon

    Definition at line 183 of file def.h.

    ◆ SCIP_MINEPSILON

    #define SCIP_MINEPSILON   1e-20

    minimum value for any numerical epsilon

    Definition at line 184 of file def.h.

    ◆ SCIP_INVALID

    #define SCIP_INVALID   (double)1e+99

    floating point value is not valid

    Definition at line 185 of file def.h.

    ◆ SCIP_UNKNOWN

    #define SCIP_UNKNOWN   (double)1e+98

    floating point value is not known (in primal solution)

    Definition at line 186 of file def.h.

    ◆ SCIP_INTERVAL_INFINITY

    #define SCIP_INTERVAL_INFINITY   (double)1e+300

    infinity value for interval computations

    Definition at line 187 of file def.h.

    ◆ REALABS

    #define REALABS (   x)    (fabs(x))

    Definition at line 189 of file def.h.

    ◆ EPSEQ

    #define EPSEQ (   x,
      y,
      eps 
    )    (REALABS((x)-(y)) <= (eps))

    Definition at line 190 of file def.h.

    ◆ EPSLT

    #define EPSLT (   x,
      y,
      eps 
    )    ((x)-(y) < -(eps))

    Definition at line 191 of file def.h.

    ◆ EPSLE

    #define EPSLE (   x,
      y,
      eps 
    )    ((x)-(y) <= (eps))

    Definition at line 192 of file def.h.

    ◆ EPSGT

    #define EPSGT (   x,
      y,
      eps 
    )    ((x)-(y) > (eps))

    Definition at line 193 of file def.h.

    ◆ EPSGE

    #define EPSGE (   x,
      y,
      eps 
    )    ((x)-(y) >= -(eps))

    Definition at line 194 of file def.h.

    ◆ EPSZ

    #define EPSZ (   x,
      eps 
    )    (REALABS(x) <= (eps))

    Definition at line 195 of file def.h.

    ◆ EPSP

    #define EPSP (   x,
      eps 
    )    ((x) > (eps))

    Definition at line 196 of file def.h.

    ◆ EPSN

    #define EPSN (   x,
      eps 
    )    ((x) < -(eps))

    Definition at line 197 of file def.h.

    ◆ EPSFLOOR

    #define EPSFLOOR (   x,
      eps 
    )    (floor((x)+(eps)))

    Definition at line 198 of file def.h.

    ◆ EPSCEIL

    #define EPSCEIL (   x,
      eps 
    )    (ceil((x)-(eps)))

    Definition at line 199 of file def.h.

    ◆ EPSROUND

    #define EPSROUND (   x,
      eps 
    )    (ceil((x)-0.5+(eps)))

    Definition at line 200 of file def.h.

    ◆ EPSFRAC

    #define EPSFRAC (   x,
      eps 
    )    ((x)-EPSFLOOR(x,eps))

    Definition at line 201 of file def.h.

    ◆ EPSISINT

    #define EPSISINT (   x,
      eps 
    )    (EPSFRAC(x,eps) <= (eps))

    Definition at line 202 of file def.h.

    ◆ SQR

    #define SQR (   x)    ((x)*(x))

    Definition at line 206 of file def.h.

    ◆ LOG1P

    #define LOG1P (   x)    (log1p(x))

    Definition at line 211 of file def.h.

    ◆ LOG2

    #define LOG2 (   x)    log2(x)

    Definition at line 218 of file def.h.

    ◆ ABS

    #define ABS (   x)    ((x) >= 0 ? (x) : -(x))

    Definition at line 223 of file def.h.

    ◆ MAX

    #define MAX (   x,
      y 
    )    ((x) >= (y) ? (x) : (y))

    returns maximum of x and y

    Definition at line 227 of file def.h.

    ◆ MIN

    #define MIN (   x,
      y 
    )    ((x) <= (y) ? (x) : (y))

    returns minimum of x and y

    Definition at line 231 of file def.h.

    ◆ MAX3

    #define MAX3 (   x,
      y,
     
    )    ((x) >= (y) ? MAX(x, z) : MAX(y, z))

    returns maximum of x, y, and z

    Definition at line 235 of file def.h.

    ◆ MIN3

    #define MIN3 (   x,
      y,
     
    )    ((x) <= (y) ? MIN(x, z) : MIN(y, z))

    returns minimum of x, y, and z

    Definition at line 239 of file def.h.

    ◆ COPYSIGN

    #define COPYSIGN   copysign

    Definition at line 246 of file def.h.

    ◆ NULL

    #define NULL   ((void*)0)

    zero pointer

    Definition at line 255 of file def.h.

    ◆ RESTRICT

    #define RESTRICT

    Definition at line 267 of file def.h.

    ◆ SCIP_MAXSTRLEN

    #define SCIP_MAXSTRLEN   1024

    maximum string length in SCIP

    Definition at line 276 of file def.h.

    ◆ SCIP_SPACECONTROL

    #define SCIP_SPACECONTROL   " tnvfr"

    control specifier for escaped spaces

    Definition at line 277 of file def.h.

    ◆ SCIP_MAXMEMSIZE

    #define SCIP_MAXMEMSIZE   (SIZE_MAX/2)

    maximum size of allocated memory (array)

    Definition at line 284 of file def.h.

    ◆ SCIP_HASHSIZE_PARAMS

    #define SCIP_HASHSIZE_PARAMS   2048

    size of hash table in parameter name tables

    Definition at line 286 of file def.h.

    ◆ SCIP_HASHSIZE_NAMES

    #define SCIP_HASHSIZE_NAMES   500

    size of hash table in name tables

    Definition at line 287 of file def.h.

    ◆ SCIP_HASHSIZE_CUTPOOLS

    #define SCIP_HASHSIZE_CUTPOOLS   500

    size of hash table in cut pools

    Definition at line 288 of file def.h.

    ◆ SCIP_HASHSIZE_CLIQUES

    #define SCIP_HASHSIZE_CLIQUES   500

    size of hash table in clique tables

    Definition at line 289 of file def.h.

    ◆ SCIP_HASHSIZE_NAMES_SMALL

    #define SCIP_HASHSIZE_NAMES_SMALL   100

    size of hash table in name tables for small problems

    Definition at line 290 of file def.h.

    ◆ SCIP_HASHSIZE_CUTPOOLS_SMALL

    #define SCIP_HASHSIZE_CUTPOOLS_SMALL   100

    size of hash table in cut pools for small problems

    Definition at line 291 of file def.h.

    ◆ SCIP_HASHSIZE_CLIQUES_SMALL

    #define SCIP_HASHSIZE_CLIQUES_SMALL   100

    size of hash table in clique tables for small problems

    Definition at line 292 of file def.h.

    ◆ SCIP_HASHSIZE_VBC

    #define SCIP_HASHSIZE_VBC   500

    size of hash map for node -> nodenum mapping used for VBC output

    Definition at line 293 of file def.h.

    ◆ SCIP_DEFAULT_MEM_ARRAYGROWFAC

    #define SCIP_DEFAULT_MEM_ARRAYGROWFAC   1.2

    memory growing factor for dynamically allocated arrays

    Definition at line 295 of file def.h.

    ◆ SCIP_DEFAULT_MEM_ARRAYGROWINIT

    #define SCIP_DEFAULT_MEM_ARRAYGROWINIT   4

    initial size of dynamically allocated arrays

    Definition at line 296 of file def.h.

    ◆ SCIP_MEM_NOLIMIT

    #define SCIP_MEM_NOLIMIT   (SCIP_Longint)(SCIP_LONGINT_MAX >> 20)

    initial size of dynamically allocated arrays

    Definition at line 298 of file def.h.

    ◆ SCIP_MAXTREEDEPTH

    #define SCIP_MAXTREEDEPTH   1073741822

    maximal allowed depth of the branch-and-bound tree

    Definition at line 304 of file def.h.

    ◆ SCIP_PROBINGSCORE_PENALTYRATIO

    #define SCIP_PROBINGSCORE_PENALTYRATIO   2

    ratio for penalizing too small fractionalities in diving heuristics. if the fractional part of a variable is smaller than a given threshold the corresponding score gets penalized. due to numerical troubles we will flip a coin whenever SCIPisEQ(scip, fractionality, threshold) evaluates to true. this parameter defines the chance that this results in penalizing the score, i.e., there is 1:2 chance for penalizing.

    Definition at line 316 of file def.h.

    ◆ SCIPABORT

    #define SCIPABORT ( )    assert(FALSE) /*lint --e{527} */

    this macro is used to stop SCIP in debug mode such that errors can be debugged;

    Note
    In optimized mode this macro has no effect. That means, in case of an error it has to be ensured that code terminates with an error code or continues safely.

    Definition at line 334 of file def.h.

    ◆ SCIP_CALL_ABORT_QUIET

    #define SCIP_CALL_ABORT_QUIET (   x)    do { if( (x) != SCIP_OKAY ) SCIPABORT(); } while( FALSE )

    Definition at line 336 of file def.h.

    ◆ SCIP_CALL_QUIET

    #define SCIP_CALL_QUIET (   x)    do { SCIP_RETCODE _restat_; if( (_restat_ = (x)) != SCIP_OKAY ) return _restat_; } while( FALSE )

    Definition at line 337 of file def.h.

    ◆ SCIP_ALLOC_ABORT_QUIET

    #define SCIP_ALLOC_ABORT_QUIET (   x)    do { if( NULL == (x) ) SCIPABORT(); } while( FALSE )

    Definition at line 338 of file def.h.

    ◆ SCIP_ALLOC_QUIET

    #define SCIP_ALLOC_QUIET (   x)    do { if( NULL == (x) ) return SCIP_NOMEMORY; } while( FALSE )

    Definition at line 339 of file def.h.

    ◆ SCIP_CALL_ABORT

    #define SCIP_CALL_ABORT (   x)
    Value:
    do \
    { \
    SCIP_RETCODE _restat_; /*lint -e{506,774}*/ \
    if( (_restat_ = (x)) != SCIP_OKAY ) \
    { \
    SCIPerrorMessage("Error <%d> in function call\n", _restat_); \
    SCIPABORT(); \
    } \
    } \
    while( FALSE )
    SCIP_VAR ** x
    Definition: circlepacking.c:63
    #define FALSE
    Definition: def.h:101
    @ SCIP_OKAY
    Definition: type_retcode.h:42

    Definition at line 341 of file def.h.

    ◆ SCIP_ALLOC_ABORT

    #define SCIP_ALLOC_ABORT (   x)
    Value:
    do \
    { \
    if( NULL == (x) ) \
    { \
    SCIPerrorMessage("No memory in function call\n"); \
    SCIPABORT(); \
    } \
    } \
    while( FALSE )
    #define NULL
    Definition: def.h:255

    Definition at line 352 of file def.h.

    ◆ SCIP_CALL

    #define SCIP_CALL (   x)
    Value:
    do \
    { \
    SCIP_RETCODE _restat_; /*lint -e{506,774}*/ \
    if( (_restat_ = (x)) != SCIP_OKAY ) \
    { \
    SCIPerrorMessage("Error <%d> in function call\n", _restat_); \
    return _restat_; \
    } \
    } \
    while( FALSE )

    Definition at line 362 of file def.h.

    ◆ SCIP_ALLOC

    #define SCIP_ALLOC (   x)
    Value:
    do \
    { \
    if( NULL == (x) ) \
    { \
    SCIPerrorMessage("No memory in function call\n"); \
    return SCIP_NOMEMORY; \
    } \
    } \
    while( FALSE )
    @ SCIP_NOMEMORY
    Definition: type_retcode.h:44

    Definition at line 373 of file def.h.

    ◆ SCIP_CALL_TERMINATE

    #define SCIP_CALL_TERMINATE (   retcode,
      x,
      TERM 
    )
    Value:
    do \
    { \
    if( ((retcode) = (x)) != SCIP_OKAY ) \
    { \
    SCIPerrorMessage("Error <%d> in function call\n", retcode); \
    goto TERM; \
    } \
    } \
    while( FALSE )

    Definition at line 383 of file def.h.

    ◆ SCIP_ALLOC_TERMINATE

    #define SCIP_ALLOC_TERMINATE (   retcode,
      x,
      TERM 
    )
    Value:
    do \
    { \
    if( NULL == (x) ) \
    { \
    SCIPerrorMessage("No memory in function call\n"); \
    retcode = SCIP_NOMEMORY; \
    goto TERM; \
    } \
    } \
    while( FALSE )

    Definition at line 393 of file def.h.

    ◆ SCIP_CALL_FINALLY

    #define SCIP_CALL_FINALLY (   x,
      y 
    )
    Value:
    do \
    { \
    SCIP_RETCODE _restat_; \
    if( (_restat_ = (x)) != SCIP_OKAY ) \
    { \
    SCIPerrorMessage("Error <%d> in function call\n", _restat_); \
    (y); \
    return _restat_; \
    } \
    } \
    while( FALSE )
    SCIP_VAR ** y
    Definition: circlepacking.c:64

    Definition at line 404 of file def.h.

    ◆ SCIP_UNUSED

    #define SCIP_UNUSED (   x)    ((void) (x))

    Definition at line 416 of file def.h.

    ◆ SCIP_DEPRECATED

    #define SCIP_DEPRECATED

    Definition at line 428 of file def.h.