Changeset 623:745e182d0139 in lemon for lemon/glpk.h
- Timestamp:
- 04/08/09 22:49:28 (16 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lemon/glpk.h
r612 r623 100 100 101 101 virtual void _clear(); 102 103 virtual void _messageLevel(MessageLevel level); 102 104 103 105 private: … … 112 114 113 115 static FreeEnvHelper freeEnvHelper; 116 117 protected: 118 119 int _message_level; 114 120 115 121 public: … … 192 198 void presolver(bool presolve); 193 199 194 ///Enum for \c messageLevel() parameter195 enum MessageLevel {196 /// no output (default value)197 MESSAGE_NO_OUTPUT = 0,198 /// error messages only199 MESSAGE_ERROR_MESSAGE = 1,200 /// normal output201 MESSAGE_NORMAL_OUTPUT = 2,202 /// full output (includes informational messages)203 MESSAGE_FULL_OUTPUT = 3204 };205 206 private:207 208 MessageLevel _message_level;209 210 public:211 212 ///Set the verbosity of the messages213 214 ///Set the verbosity of the messages215 ///216 ///\param m is the level of the messages output by the solver routines.217 void messageLevel(MessageLevel m);218 200 }; 219 201 … … 245 227 virtual Value _getSolValue() const; 246 228 247 ///Enum for \c messageLevel() parameter248 enum MessageLevel {249 /// no output (default value)250 MESSAGE_NO_OUTPUT = 0,251 /// error messages only252 MESSAGE_ERROR_MESSAGE = 1,253 /// normal output254 MESSAGE_NORMAL_OUTPUT = 2,255 /// full output (includes informational messages)256 MESSAGE_FULL_OUTPUT = 3257 };258 259 private:260 261 MessageLevel _message_level;262 263 public:264 265 ///Set the verbosity of the messages266 267 ///Set the verbosity of the messages268 ///269 ///\param m is the level of the messages output by the solver routines.270 void messageLevel(MessageLevel m);271 229 }; 272 230
Note: See TracChangeset
for help on using the changeset viewer.