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
reader_ccg.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-2017 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_ccg.h
17
* @ingroup FILEREADERS
18
* @brief Column connectivity graph file reader (actually, only a writer)
19
* @author Marc Pfetsch
20
*
21
* Write weighted column connectivity graph, see reader_ccg.c.
22
*/
23
24
/*---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0----+----1----+----2*/
25
26
#ifndef __SCIP_READER_CCG_H__
27
#define __SCIP_READER_CCG_H__
28
29
30
#include "
scip/scip.h
"
31
32
#ifdef __cplusplus
33
extern
"C"
{
34
#endif
35
36
/** includes the ccg file reader into SCIP
37
*
38
* @ingroup FileReaderIncludes
39
*/
40
extern
41
SCIP_RETCODE
SCIPincludeReaderCcg
(
42
SCIP
*
scip
/**< SCIP data structure */
43
);
44
45
/**@addtogroup FILEREADERS
46
*
47
* @{
48
*/
49
50
/** writes problem to file */
51
extern
52
SCIP_RETCODE
SCIPwriteCcg
(
53
SCIP
*
scip
,
/**< SCIP data structure */
54
FILE* file,
/**< output file, or NULL if standard output should be used */
55
const
char
* name,
/**< problem name */
56
SCIP_Bool
transformed,
/**< TRUE iff problem is the transformed problem */
57
SCIP_VAR
** vars,
/**< array with active variables ordered binary, integer, implicit, continuous */
58
int
nvars,
/**< number of active variables in the problem */
59
SCIP_CONS
** conss,
/**< array with constraints of the problem */
60
int
nconss,
/**< number of constraints in the problem */
61
SCIP_RESULT
* result
/**< pointer to store the result of the file writing call */
62
);
63
64
/* @} */
65
66
#ifdef __cplusplus
67
}
68
#endif
69
70
#endif
SCIP_RESULT
enum SCIP_Result SCIP_RESULT
Definition:
type_result.h:52
Scip
Definition:
struct_scip.h:58
SCIP_Var
Definition:
struct_var.h:197
SCIP_RETCODE
enum SCIP_Retcode SCIP_RETCODE
Definition:
type_retcode.h:53
SCIPincludeReaderCcg
SCIP_RETCODE SCIPincludeReaderCcg(SCIP *scip)
Definition:
reader_ccg.c:360
SCIP_Cons
Definition:
struct_cons.h:37
SCIP_Bool
#define SCIP_Bool
Definition:
def.h:61
SCIPwriteCcg
SCIP_RETCODE SCIPwriteCcg(SCIP *scip, FILE *file, const char *name, SCIP_Bool transformed, SCIP_VAR **vars, int nvars, SCIP_CONS **conss, int nconss, SCIP_RESULT *result)
Definition:
reader_ccg.c:380
scip
Definition:
objbranchrule.h:33
scip.h
SCIP callable library.