Toggle navigation
SCIP Optimization Suite
SCIP
SoPlex
ZIMPL
UG
GCG
Documentation
SCIP 9.1.1
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
Overview
Files
Plugin Types
Interfaces
Examples
How To
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Groups
Pages
scip-repo
src
scip
reader_pbm.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_pbm.h
17
* @ingroup FILEREADERS
18
* @brief file writer for portable bitmap file format (PBM), open with common graphic viewer programs (e.g. xview)
19
* @author Alexandra Kraft
20
*/
21
22
/*---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0----+----1----+----2*/
23
24
#ifndef __SCIP_READER_PBM_H__
25
#define __SCIP_READER_PBM_H__
26
27
28
#include "
scip/scip.h
"
29
30
#ifdef __cplusplus
31
extern
"C"
{
32
#endif
33
34
/** includes the pbm file reader into SCIP */
35
extern
36
SCIP_RETCODE
SCIPincludeReaderPbm
(
37
SCIP
* scip
/**< SCIP data structure */
38
);
39
40
/* writes picture of matrix structure to file */
41
extern
42
SCIP_RETCODE
SCIPwritePbm
(
43
SCIP
* scip,
/**< SCIP data structure */
44
FILE* file,
/**< output file, or NULL if standard output should be used */
45
const
char
* name,
/**< problem name */
46
SCIP_READERDATA
* readerdata,
/**< information for reader */
47
SCIP_Bool
transformed,
/**< TRUE iff problem is the transformed problem */
48
int
nvars,
/**< number of active variables in the problem */
49
SCIP_CONS
** conss,
/**< array with constraints of the problem */
50
int
nconss,
/**< number of constraints in the problem */
51
SCIP_RESULT
* result
/**< pointer to store the result of the file writing call */
52
);
53
54
#ifdef __cplusplus
55
}
56
#endif
57
58
#endif
59