Loading [MathJax]/extensions/TeX/AMSmath.js
×
☰
Toggle navigation
SCIP Optimization Suite
SCIP
SoPlex
ZIMPL
UG
GCG
Documentation
SCIP 9.2.0
SCIP 8.1.0
SCIP 7.0.3
SCIP 6.0.2
SCIP 5.0.1
SCIP 4.0.1
SCIP 3.2.1
SCIP
Solving Constraint Integer Programs
•
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
message.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-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 message.h
17
* @ingroup INTERNALAPI
18
* @brief message output methods
19
* @author Tobias Achterberg
20
*
21
* Because the message functions are implemented as defines with more than one
22
* function call, they shouldn't be used as a single statement like in:
23
* if( error )
24
* SCIPerrorMessage("an error occured");
25
* because this would produce the following macro extension:
26
* if( error )
27
* printf(("[%s:%d] ERROR: ", __FILE__, __LINE__);
28
* printf(("an error occured");
29
* Instead, they should be protected with brackets:
30
* if( error )
31
* {
32
* SCIPerrorMessage("an error occured");
33
* }
34
*/
35
36
/*---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0----+----1----+----2*/
37
38
#ifndef __SCIP_MESSAGE_H__
39
#define __SCIP_MESSAGE_H__
40
41
42
#ifdef __cplusplus
43
extern
"C"
{
44
#endif
45
46
47
#ifdef __cplusplus
48
}
49
#endif
50
51
#endif
52