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