reader_dec.h
Go to the documentation of this file.
1 /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
2 /* */
3 /* This file is part of the program */
4 /* GCG --- Generic Column Generation */
5 /* a Dantzig-Wolfe decomposition based extension */
6 /* of the branch-cut-and-price framework */
7 /* SCIP --- Solving Constraint Integer Programs */
8 /* */
9 /* Copyright (C) 2010-2017 Operations Research, RWTH Aachen University */
10 /* Zuse Institute Berlin (ZIB) */
11 /* */
12 /* This program is free software; you can redistribute it and/or */
13 /* modify it under the terms of the GNU Lesser General Public License */
14 /* as published by the Free Software Foundation; either version 3 */
15 /* of the License, or (at your option) any later version. */
16 /* */
17 /* This program is distributed in the hope that it will be useful, */
18 /* but WITHOUT ANY WARRANTY; without even the implied warranty of */
19 /* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */
20 /* GNU Lesser General Public License for more details. */
21 /* */
22 /* You should have received a copy of the GNU Lesser General Public License */
23 /* along with this program; if not, write to the Free Software */
24 /* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.*/
25 /* */
26 /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
27 
49 /*---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0----+----1----+----2*/
50 
51 #ifndef GCG_READER_DEC_H__
52 #define GCG_READER_DEC_H__
53 
54 
55 #include "scip/scip.h"
56 #include "type_decomp.h"
57 
58 #ifdef __cplusplus
59 extern "C" {
60 #endif
61 
63 extern
64 SCIP_RETCODE SCIPincludeReaderDec(
65  SCIP* scip
66  );
67 
68 
69 /* reads problem from file */
70 extern
71 SCIP_RETCODE SCIPreadDec(
72  SCIP* scip,
73  const char* filename,
74  SCIP_RESULT* result
75  );
76 
77 
79 SCIP_RETCODE GCGwriteDecomp(
80  SCIP* scip,
81  FILE* file,
82  DEC_DECOMP* decdecomp
83  );
84 
85 #ifdef __cplusplus
86 }
87 #endif
88 
89 #endif
type definitions for decomposition information in GCG projects
SCIP_RETCODE GCGwriteDecomp(SCIP *scip, FILE *file, DEC_DECOMP *decdecomp)
Definition: reader_dec.c:1085
SCIP_RETCODE SCIPreadDec(SCIP *scip, const char *filename, SCIP_RESULT *result)
Definition: reader_dec.c:951
SCIP_RETCODE SCIPincludeReaderDec(SCIP *scip)
Definition: reader_dec.c:934
struct DecDecomp DEC_DECOMP
Definition: type_decomp.h:43