Scippy

SCIP

Solving Constraint Integer Programs

reader_ppm.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-2014 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 email to scip@zib.de. */
13 /* */
14 /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
15 
16 /**@file reader_ppm.h
17  * @ingroup FILEREADERS
18  * @brief file writer for portable pixmap file format (PPM), open with common graphic viewer programs (e.g. xview)
19  * @author Tobias Achterberg
20  * @author Michael Winkler
21  */
22 
23 /*---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0----+----1----+----2*/
24 
25 #ifndef __SCIP_READER_PPM_H__
26 #define __SCIP_READER_PPM_H__
27 
28 
29 #include "scip/scip.h"
30 
31 #ifdef __cplusplus
32 extern "C" {
33 #endif
34 
35 /** includes the ppm file reader into SCIP */
36 extern
38  SCIP* scip /**< SCIP data structure */
39  );
40 
41 /** writes problem to file */
42 extern
44  SCIP* scip, /**< SCIP data structure */
45  FILE* file, /**< output file, or NULL if standard output should be used */
46  const char* name, /**< problem name */
47  SCIP_READERDATA* readerdata, /**< information for reader */
48  SCIP_Bool transformed, /**< TRUE iff problem is the transformed problem */
49  SCIP_VAR** vars, /**< array with active variables ordered binary, integer, implicit, continuous */
50  int nvars, /**< number of active variables in the problem */
51  SCIP_CONS** conss, /**< array with constraints of the problem */
52  int nconss, /**< number of constraints in the problem */
53  SCIP_RESULT* result /**< pointer to store the result of the file writing call */
54  );
55 
56 #ifdef __cplusplus
57 }
58 #endif
59 
60 #endif
61