Open
Graph Drawing
Framework

 v. 2023.09 (Elderberry)
 

Loading...
Searching...
No Matches
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
38
39#pragma GCC visibility push(default)
40namespace abacus {
41
42
43class Master;
44
45
46class OGDF_EXPORT LpSubOsi : public LpSub, public OsiIF {
47public:
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
69private:
70 LpSubOsi(const LpSubOsi &rhs);
71 const LpSubOsi &operator=(const LpSubOsi &rhs);
72};
73
74}
75#pragma GCC visibility pop
Linear programs.
Definition lp.h:71
The linear program of a subproblem.
Definition lpsub.h:62
virtual ~LpSubOsi()
The destructor.
Definition lpsubosi.h:67
LpSubOsi(Master *master, Sub *sub)
The constructor.
Definition lpsubosi.h:58
const LpSubOsi & operator=(const LpSubOsi &rhs)
LpSubOsi(const LpSubOsi &rhs)
The master of the optimization.
Definition master.h:70
The subproblem.
Definition sub.h:69
#define OGDF_EXPORT
Specifies that a function or class is exported by the OGDF dynamic library (shared object / DLL),...
Definition config.h:117
linear program of a subproblem.