Scippy

GCG

Branch-and-Price & Column Generation for Everyone

struct_gcg.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 struct_gcg.h
30 * @ingroup DATASTRUCTURES
31 * @brief gcg data structure
32 * @author Erik Muehmer
33 */
34
35/*---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0----+----1----+----2*/
36
37#ifndef GCG_STRUCT_GCG_H_
38#define GCG_STRUCT_GCG_H_
39
40#include "scip/def.h"
41#include "scip/type_scip.h"
42#include "scip/type_relax.h"
43#include "scip/type_sepa.h"
44#include "scip/type_event.h"
45
46#include "gcg/type_gcg.h"
47#include "gcg/type_gcgpricer.h"
48
49#ifdef __cplusplus
50extern "C" {
51#endif
52
53/** GCG data structure */
54struct Gcg
55{
56 SCIP* origprob; /**< SCIP data structure of origprob */
57 SCIP* masterprob; /**< SCIP data structure of masterprob */
58 SCIP* dwmasterprob; /**< SCIP data structure of DW masterprob */
59 SCIP* bendersmasterprob; /**< SCIP data structure of Benders masterprob */
60 SCIP_RELAX* relax; /**< GCG's relaxation handler */
61 GCG_PRICER* pricer; /**< GCG pricer */
62 SCIP_SEPA* sepaorig; /**< orig cuts separator */
63 SCIP_EVENTHDLR* mastersepacuthdlr; /**< event handler for managing master separator cuts */
64};
65
66#ifdef __cplusplus
67}
68#endif
69
70#endif /* STRUCT_GCG_H_ */
Definition: struct_gcg.h:55
SCIP * bendersmasterprob
Definition: struct_gcg.h:59
SCIP * masterprob
Definition: struct_gcg.h:57
SCIP_EVENTHDLR * mastersepacuthdlr
Definition: struct_gcg.h:63
SCIP * dwmasterprob
Definition: struct_gcg.h:58
SCIP_SEPA * sepaorig
Definition: struct_gcg.h:62
GCG_PRICER * pricer
Definition: struct_gcg.h:61
SCIP_RELAX * relax
Definition: struct_gcg.h:60
SCIP * origprob
Definition: struct_gcg.h:56
incomplete pricer type for C interface
struct GCG_PRICER GCG_PRICER