Scippy

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-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_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 extern
39  SCIP* scip /**< SCIP data structure */
40  );
41 
42 
43 /** writes problem to file */
44 extern
46  SCIP* scip, /**< SCIP data structure */
47  FILE* file, /**< output file, or NULL if standard output should be used */
48  const char* name, /**< problem name */
49  SCIP_Bool transformed, /**< TRUE iff problem is the transformed problem */
50  SCIP_VAR** vars, /**< array with active variables ordered binary, integer, implicit, continuous */
51  int nvars, /**< number of active variables in the problem */
52  SCIP_CONS** conss, /**< array with constraints of the problem */
53  int nconss, /**< number of constraints in the problem */
54  SCIP_RESULT* result /**< pointer to store the result of the file writing call */
55  );
56 
57 #ifdef __cplusplus
58 }
59 #endif
60 
61 #endif
enum SCIP_Result SCIP_RESULT
Definition: type_result.h:51
struct SCIP_Cons SCIP_CONS
Definition: type_cons.h:47
enum SCIP_Retcode SCIP_RETCODE
Definition: type_retcode.h:53
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)
struct Scip SCIP
Definition: type_scip.h:30
#define SCIP_Bool
Definition: def.h:49
struct SCIP_Var SCIP_VAR
Definition: type_var.h:95
SCIP_RETCODE SCIPincludeReaderCcg(SCIP *scip)
SCIP callable library.