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 namespace abacus {
40 
41 
42 class Master;
43 
44 
45 class OGDF_EXPORT LpSubOsi : public LpSub, public OsiIF {
46 public:
47 
49 
57  LpSubOsi(Master *master, Sub *sub) :
58  LP(master),
59  LpSub(master, sub),
60  OsiIF(master)
61  {
62  initialize();
63  }
64 
66  virtual ~LpSubOsi() { }
67 
68 private:
69  LpSubOsi(const LpSubOsi &rhs);
70  const LpSubOsi &operator=(const LpSubOsi &rhs);
71 };
72 
73 }
abacus
Definition: abacusroot.h:48
abacus::LpSubOsi
Definition: lpsubosi.h:45
abacus::OsiIF
Definition: osiif.h:47
abacus::LP
Linear programs.
Definition: lp.h:70
abacus::LpSubOsi::~LpSubOsi
virtual ~LpSubOsi()
The destructor.
Definition: lpsubosi.h:66
abacus::LpSub
The linear program of a subproblem.
Definition: lpsub.h:61
abacus::LpSubOsi::LpSubOsi
LpSubOsi(Master *master, Sub *sub)
The constructor.
Definition: lpsubosi.h:57
OGDF_EXPORT
#define OGDF_EXPORT
Specifies that a function or class is exported by the OGDF DLL.
Definition: config.h:101
abacus::Sub
The subproblem.
Definition: sub.h:68
lpsub.h
linear program of a subproblem.
osiif.h
abacus::Master
The master of the optimization.
Definition: master.h:69