GCG 4.1.1 (dev)

Generic Column Generation

Loading...
Searching...
No Matches
reader_ref.h
Go to the documentation of this file.
1/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
2/* */
3/* This file is part of the program and library */
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-2026 Operations Research, RWTH Aachen University */
10/* Zuse Institute Berlin (ZIB) */
11/* */
12/* Licensed under the Apache License, Version 2.0 (the "License"); */
13/* you may not use this file except in compliance with the License. */
14/* You may obtain a copy of the License at */
15/* */
16/* http://www.apache.org/licenses/LICENSE-2.0 */
17/* */
18/* Unless required by applicable law or agreed to in writing, software */
19/* distributed under the License is distributed on an "AS IS" BASIS, */
20/* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. */
21/* See the License for the specific language governing permissions and */
22/* limitations under the License. */
23/* */
24/* You should have received a copy of the Apache-2.0 license */
25/* along with GCG; see the file LICENSE. If not visit gcg.or.rwth-aachen.de.*/
26/* */
27/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
28
29/**@file reader_ref.h
30 * @brief REF file reader for structure information
31 * @ingroup FILEREADERS-GCG
32 * @author Gerald Gamrath
33 * @author Christian Puchert
34 * @author Martin Bergner
35 *
36 * This reader reads and writes a ref-file that defines the structur to be used for the decomposition.
37 * The structure is defined constraint-wise, i.e., the number of blocks and the constraints belonging to each
38 * block are defined. The constraints are numbered by the appearance in the problem.
39 *
40 * Constraints not mentioned in one of the blocks will remain in the master problem
41 *
42 * The format is the following
43 * - first line: \#nblocks \#ncons_block_1 ... \#n_cons_block_n
44 * - one line for each block with the indices of constraints to be put into that block separated by a comma
45 *
46 */
47
48/*---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0----+----1----+----2*/
49
50#ifndef GCG_READER_REF_H__
51#define GCG_READER_REF_H__
52
53
54#include "scip/scip.h"
55#include "gcg/gcg.h"
56
57#ifdef __cplusplus
58extern "C" {
59#endif
60
61/** includes the ref file reader into SCIP */
64 GCG* gcg /**< GCG data structure */
65 );
66
67#ifdef __cplusplus
68}
69#endif
70
71#endif
#define GCG_EXPORT
Definition def.h:59
GCG interface methods.
SCIP_RETCODE GCGincludeReaderRef(GCG *gcg)
Definition reader_ref.c:874
struct Gcg GCG
Definition type_gcg.h:44
enum SCIP_Retcode SCIP_RETCODE