Scippy

GCG

Branch-and-Price & Column Generation for Everyone

extendedmasterconsdata.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 extendedmasterconsdata.h
30 * @ingroup INTERNALAPI-GCG
31 * @brief internal methods for interacting with GCG_EXTENDEDMASTERCONSDATA
32 * @author Til Mohr
33 * @author Erik Muehmer
34 */
35
36/*---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0----+----1----+----2*/
37
38#ifndef GCG_EXTENDEDMASTERCONSDATA_H_
39#define GCG_EXTENDEDMASTERCONSDATA_H_
40
41
42
43#include "gcg/pricer_gcg.h"
45
46#ifdef __cplusplus
47extern "C" {
48#endif
49
50/**
51 * @ingroup GCG_EXTENDEDMASTERCONSDATA
52 * @{
53 */
54
55/** update the extended master cons with the new dual value */
57 GCG* gcg, /**< master scip */
58 GCG_EXTENDEDMASTERCONSDATA* extendedmasterconsdata, /**< extended master cons data */
59 SCIP_Real dualvalue /**< dual value */
60 );
61
62/** apply a pricing modification */
64 SCIP* pricingscip, /**< pricing scip */
65 GCG_PRICINGMODIFICATION* pricingmodification /**< pricing modification */
66 );
67
68/** undo a pricing modification */
70 SCIP* pricingscip, /**< pricing scip */
71 GCG_PRICINGMODIFICATION* pricingmodification /**< pricing modification */
72 );
73
74/** undo all pricing modifications */
76 GCG* gcg, /**< GCG data structure */
77 GCG_EXTENDEDMASTERCONSDATA* extendedmasterconsdata /**< extended master cons data */
78 );
79
80/**@} */
81#ifdef __cplusplus
82}
83#endif
84
85#endif
SCIP_RETCODE GCGpricingmodificationApply(SCIP *pricingscip, GCG_PRICINGMODIFICATION *pricingmodification)
SCIP_RETCODE GCGpricingmodificationUndo(SCIP *pricingscip, GCG_PRICINGMODIFICATION *pricingmodification)
SCIP_RETCODE GCGextendedmasterconsUndoPricingModifications(GCG *gcg, GCG_EXTENDEDMASTERCONSDATA *extendedmasterconsdata)
SCIP_RETCODE GCGextendedmasterconsUpdateDualValue(GCG *gcg, GCG_EXTENDEDMASTERCONSDATA *extendedmasterconsdata, SCIP_Real dualvalue)
GCG variable pricer.
Definition: struct_gcg.h:55
type definitions for extended master conss in GCG projects
enum SCIP_Retcode SCIP_RETCODE