Scippy

GCG

Branch-and-Price & Column Generation for Everyone

struct_mastersepacut.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_mastersepacutdata.h
30 * @ingroup DATASTRUCTURES
31 * @brief data structures for GCG separator cuts
32 * @author Chantal Reinartz Groba
33 */
34
35/*---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0----+----1----+----2*/
36
37#ifndef GCG_STRUCT_MASTERSEPACUTDATA_H__
38#define GCG_STRUCT_MASTERSEPACUTDATA_H__
39
40#include <scip/def.h>
41
45#include "gcg/type_sepagcg.h"
46
47#ifdef __cplusplus
48extern "C" {
49#endif
50
51
52/** master separator cut data structure */
54{
55 GCG_SEPA* sepa; /**< GCG Master Separator which generated the mastercut */
56 GCG_VARHISTORY* knownvarhistory; /**< pointer to the history of priced variables */
57 GCG_MASTERSEPACUTDATA* data; /**< additional data helpful to compute coefficients */
58 int nuses; /**< number of times this mastersepacut is referenced */
59};
60
61#ifdef __cplusplus
62}
63#endif
64
65#endif
GCG_VARHISTORY * knownvarhistory
GCG_MASTERSEPACUTDATA * data
type definitions for extended master conss in GCG projects
type definitions for managing variable history
type definitions for master separator cuts
type definitions for separators for master problem in GCG projects