equal
deleted
inserted
replaced
98 virtual void _setSense(Sense); |
98 virtual void _setSense(Sense); |
99 virtual Sense _getSense() const; |
99 virtual Sense _getSense() const; |
100 |
100 |
101 virtual void _clear(); |
101 virtual void _clear(); |
102 |
102 |
|
103 private: |
|
104 |
|
105 static void freeEnv(); |
|
106 |
|
107 struct FreeEnvHelper { |
|
108 ~FreeEnvHelper() { |
|
109 freeEnv(); |
|
110 } |
|
111 }; |
|
112 |
|
113 static FreeEnvHelper freeEnvHelper; |
|
114 |
103 public: |
115 public: |
104 |
116 |
105 ///Pointer to the underlying GLPK data structure. |
117 ///Pointer to the underlying GLPK data structure. |
106 LPX *lpx() {return lp;} |
118 LPX *lpx() {return lp;} |
107 ///Const pointer to the underlying GLPK data structure. |
119 ///Const pointer to the underlying GLPK data structure. |