Open
Graph Drawing
Framework

 v. 2023.09 (Elderberry)
 

lpsubosi.h
Go to the documentation of this file.
1 
29 #ifdef _MSC_VER
30 // disable wrong warnings (VS compiler bug regarding virtual base classes)
31 #pragma warning(disable:4250)
32 #endif
33 
34 #pragma once
35 
36 #include <ogdf/lib/abacus/lpsub.h>
37 #include <ogdf/lib/abacus/osiif.h>
38 
39 #pragma GCC visibility push(default)
40 namespace abacus {
41 
42 
43 class Master;
44 
45 
46 class OGDF_EXPORT LpSubOsi : public LpSub, public OsiIF {
47 public:
48 
50 
58  LpSubOsi(Master *master, Sub *sub) :
59  LP(master),
60  LpSub(master, sub),
61  OsiIF(master)
62  {
63  initialize();
64  }
65 
67  virtual ~LpSubOsi() { }
68 
69 private:
70  LpSubOsi(const LpSubOsi &rhs);
71  const LpSubOsi &operator=(const LpSubOsi &rhs);
72 };
73 
74 }
75 #pragma GCC visibility pop
abacus
Definition: ILPClusterPlanarity.h:50
abacus::LpSubOsi
Definition: lpsubosi.h:46
abacus::OsiIF
Definition: osiif.h:48
abacus::LP
Linear programs.
Definition: lp.h:71
abacus::LpSubOsi::~LpSubOsi
virtual ~LpSubOsi()
The destructor.
Definition: lpsubosi.h:67
abacus::LpSub
The linear program of a subproblem.
Definition: lpsub.h:62
abacus::LpSubOsi::LpSubOsi
LpSubOsi(Master *master, Sub *sub)
The constructor.
Definition: lpsubosi.h:58
OGDF_EXPORT
#define OGDF_EXPORT
Specifies that a function or class is exported by the OGDF dynamic library (shared object / DLL),...
Definition: config.h:117
abacus::Sub
The subproblem.
Definition: sub.h:69
lpsub.h
linear program of a subproblem.
osiif.h
abacus::Master
The master of the optimization.
Definition: master.h:70