GCG 4.1.1 (dev)

Generic Column Generation

Loading...
Searching...
No Matches
dialog_graph.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 dialog_graph.h
30 * @ingroup DIALOGS
31 * @brief A dialog to write graph representations of the matrix and read partitions as decompositions.
32 * @author Martin Bergner
33 */
34
35/*---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0----+----1----+----2*/
36
37
38#ifndef DIALOG_GRAPH_H_
39#define DIALOG_GRAPH_H_
40
41#include "gcg/objdialog.h"
42#include "graph/graph.h"
43
44namespace gcg
45{
46
48{
49public:
51 GCG* gcg /**< GCG data structure */
52 );
53 virtual ~DialogGraph() {}
54 virtual SCIP_DECL_DIALOGEXEC(scip_exec);
55};
56
58{
59public:
61 GCG* gcgstruct /**< GCG data structure */
62 );
63 virtual ~DialogWriteGraph() {}
64 virtual SCIP_DECL_DIALOGEXEC(scip_exec);
65};
66
68{
69public:
71 GCG* gcg /**< GCG data structure */
72 );
74 virtual SCIP_DECL_DIALOGEXEC(scip_exec);
75};
76
77template<class T, template <class T1> class G>
79{
80private:
81 typedef G<T> GRAPH_TYPE;
82public:
84 GCG* gcgstruct /**< GCG data structure */
85 );
86 virtual ~DialogReadGraphs() {}
87 virtual SCIP_DECL_DIALOGEXEC(scip_exec);
88};
89
90template<class T, template <class T1> class G>
92{
93private:
94 typedef G<T> GRAPH_TYPE;
95public:
97 GCG* gcgstruct /**< GCG data structure */
98 );
99 virtual ~DialogWriteGraphs() {}
100 virtual SCIP_DECL_DIALOGEXEC(scip_exec);
101};
102} /* namespace gcg */
103
104
105
106#endif /* DIALOG_GRAPH_H_ */
virtual SCIP_DECL_DIALOGEXEC(scip_exec)
DialogGraph(GCG *gcg)
virtual ~DialogGraph()
DialogReadGraphs(GCG *gcgstruct)
virtual ~DialogReadGraphs()
virtual SCIP_DECL_DIALOGEXEC(scip_exec)
virtual SCIP_DECL_DIALOGEXEC(scip_exec)
virtual SCIP_DECL_DIALOGEXEC(scip_exec)
virtual ~DialogWriteGraph()
DialogWriteGraph(GCG *gcgstruct)
virtual SCIP_DECL_DIALOGEXEC(scip_exec)
DialogWriteGraphs(GCG *gcgstruct)
ObjDialog(GCG *gcgstruct, const char *name, const char *desc, SCIP_Bool issubmenu)
Definition objdialog.h:74
miscellaneous graph methods for structure detection
C++ wrapper for dialogs.
struct Gcg GCG
Definition type_gcg.h:44