Scippy

GCG

Branch-and-Price & Column Generation for Everyone

wrapper_partialdecomp.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-2021 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 
28 /**@file wrapper_partialdecomp.h
29  * @ingroup DECOMP
30  * @brief Provides wrapping to have Partialdecomps as parameters in C-conform function headers with C++
31  * implementations.
32  * @author Hanna Franzen
33  */
34 
35 /*---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0----+----1----+----2*/
36 
37 #ifndef GCG_WRAPPER_PARTIALDECOMP_H__
38 #define GCG_WRAPPER_PARTIALDECOMP_H__
39 
40 #include "cons_decomp.h"
41 #include "class_partialdecomp.h"
42 
43 /** Wrapper class body to be included in .cpp files only.
44  * To pass a wrapper object through C headers include the wrapper forward declaration in cons_decomp.h
45  *
46  * The struct can contain a PARTIALDECOMP object.*/
48 {
49  gcg::PARTIALDECOMP* partialdec; /**< partialdec pointer */
50 };
51 
52 #endif /* GCG_WRAPPER_PARTIALDECOMP_H__ */
gcg::PARTIALDECOMP * partialdec
constraint handler for structure detection
class to manage partial decompositions
class storing (potentially incomplete) decompositions