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-2018 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 
65 /*---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0----+----1----+----2*/
66 
67 #ifndef GCG_READER_DEC_H__
68 #define GCG_READER_DEC_H__
69 
70 
71 #include "scip/scip.h"
72 #include "type_decomp.h"
73 
74 #ifdef __cplusplus
75 extern "C" {
76 #endif
77 
79 extern
80 SCIP_RETCODE SCIPincludeReaderDec(
81  SCIP* scip
82  );
83 
84 
85 /* reads problem from file */
86 extern
87 SCIP_RETCODE SCIPreadDec(
88  SCIP* scip,
89  const char* filename,
90  SCIP_RESULT* result
91  );
92 
93 
95 SCIP_RETCODE GCGwriteDecomp(
96  SCIP* scip,
97  FILE* file,
98  DEC_DECOMP* decdecomp
99  );
100 
101 #ifdef __cplusplus
102 }
103 #endif
104 
105 #endif
type definitions for decomposition information in GCG projects
SCIP_RETCODE GCGwriteDecomp(SCIP *scip, FILE *file, DEC_DECOMP *decdecomp)
SCIP_RETCODE SCIPreadDec(SCIP *scip, const char *filename, SCIP_RESULT *result)
SCIP_RETCODE SCIPincludeReaderDec(SCIP *scip)
struct DecDecomp DEC_DECOMP
Definition: type_decomp.h:43