Scippy

GCG

Branch-and-Price & Column Generation for Everyone

dialog_graph.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 dialog_graph.h
29  * @ingroup DIALOGS
30  * @brief A dialog to write graph representations of the matrix and read partitions as decompositions.
31  * @author Martin Bergner
32  */
33 
34 /*---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0----+----1----+----2*/
35 
36 
37 #ifndef DIALOG_GRAPH_H_
38 #define DIALOG_GRAPH_H_
39 
40 #include "objdialog.h"
41 #include "graph/graph.h"
42 
43 namespace gcg
44 {
45 
46 class DialogGraph: public ObjDialog
47 {
48 public:
50  SCIP* scip /**< SCIP data structure */
51  );
52  virtual ~DialogGraph() {}
53  virtual SCIP_DECL_DIALOGEXEC(scip_exec);
54 };
55 
57 {
58 public:
60  SCIP* scip /**< SCIP data structure */
61  );
62  virtual ~DialogWriteGraph() {}
63  virtual SCIP_DECL_DIALOGEXEC(scip_exec);
64 };
65 
67 {
68 public:
70  SCIP* scip /**< SCIP data structure */
71  );
72  virtual ~DialogReadPartition() {}
73  virtual SCIP_DECL_DIALOGEXEC(scip_exec);
74 };
75 
76 template<class T, template <class T1> class G>
78 {
79 private:
80  typedef G<T> GRAPH_TYPE;
81 public:
83  SCIP* scip /**< SCIP data structure */
84  );
85  virtual ~DialogReadGraphs() {}
86  virtual SCIP_DECL_DIALOGEXEC(scip_exec);
87 };
88 
89 template<class T, template <class T1> class G>
91 {
92 private:
93  typedef G<T> GRAPH_TYPE;
94 public:
96  SCIP* scip /**< SCIP data structure */
97  );
98  virtual ~DialogWriteGraphs() {}
99  virtual SCIP_DECL_DIALOGEXEC(scip_exec);
100 };
101 } /* namespace gcg */
102 
103 
104 
105 #endif /* DIALOG_GRAPH_H_ */
virtual ~DialogWriteGraph()
Definition: dialog_graph.h:62
DialogReadGraphs(SCIP *scip)
DialogReadPartition(SCIP *scip)
virtual SCIP_DECL_DIALOGEXEC(scip_exec)
virtual SCIP_DECL_DIALOGEXEC(scip_exec)
C++ wrapper for dialogs.
Definition: objdialog.h:53
DialogGraph(SCIP *scip)
virtual ~DialogWriteGraphs()
Definition: dialog_graph.h:98
virtual SCIP_DECL_DIALOGEXEC(scip_exec)
DialogWriteGraphs(SCIP *scip)
virtual SCIP_DECL_DIALOGEXEC(scip_exec)
virtual SCIP_DECL_DIALOGEXEC(scip_exec)
DialogWriteGraph(SCIP *scip)
miscellaneous graph methods for structure detection
C++ wrapper for dialogs.
virtual ~DialogGraph()
Definition: dialog_graph.h:52
virtual ~DialogReadGraphs()
Definition: dialog_graph.h:85
virtual ~DialogReadPartition()
Definition: dialog_graph.h:72