Scippy

SCIP

Solving Constraint Integer Programs

message_default.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-2018 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 scip.zib.de. */
13 /* */
14 /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
15 
16 /**@file message_default.h
17  * @ingroup PUBLICMETHODS
18  * @brief default message handler
19  * @author Stefan Heinz
20  */
21 
22 /*---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0----+----1----+----2*/
23 
24 #ifndef __SCIP_MESSAGE_DEFAULT_H__
25 #define __SCIP_MESSAGE_DEFAULT_H__
26 
27 #include "scip/def.h"
28 #include "scip/type_message.h"
29 
30 #ifdef __cplusplus
31 extern "C" {
32 #endif
33 
34 /** Create default message handler. To free the message handler use SCIPmessagehdlrRelease(). */
35 extern
37  SCIP_MESSAGEHDLR** messagehdlr, /**< pointer to store message handler */
38  SCIP_Bool bufferedoutput, /**< should the output be buffered up to the next newline? */
39  const char* filename, /**< name of log file, or NULL (stdout) */
40  SCIP_Bool quiet /**< should screen messages be suppressed? */
41  );
42 
43 #ifdef __cplusplus
44 }
45 #endif
46 
47 #endif
SCIP_RETCODE SCIPcreateMessagehdlrDefault(SCIP_MESSAGEHDLR **messagehdlr, SCIP_Bool bufferedoutput, const char *filename, SCIP_Bool quiet)
enum SCIP_Retcode SCIP_RETCODE
Definition: type_retcode.h:53
#define SCIP_Bool
Definition: def.h:62
type definitions for message output methods
common defines and data types used in all packages of SCIP