lemon/cbc.h
changeset 763 93cd93e82f9b
parent 567 3314f58e7b25
child 746 e4554cd6b2bf
equal deleted inserted replaced
0:3f9c09dc4f7e 1:f22db0b646f0
   113     virtual Value _getSol(int i) const;
   113     virtual Value _getSol(int i) const;
   114     virtual Value _getSolValue() const;
   114     virtual Value _getSolValue() const;
   115 
   115 
   116     virtual void _clear();
   116     virtual void _clear();
   117 
   117 
   118   public:
   118     virtual void _messageLevel(MessageLevel level);
       
   119     void _applyMessageLevel();
   119 
   120 
   120     ///Enum for \c messageLevel() parameter
   121     int _message_level;
   121     enum MessageLevel {
       
   122       /// no output (default value)
       
   123       MESSAGE_NO_OUTPUT = 0,
       
   124       /// error messages only
       
   125       MESSAGE_ERROR_MESSAGE = 1,
       
   126       /// normal output
       
   127       MESSAGE_NORMAL_OUTPUT = 2,
       
   128       /// full output (includes informational messages)
       
   129       MESSAGE_FULL_OUTPUT = 3
       
   130     };
       
   131 
   122 
   132   private:
   123     
   133 
       
   134     MessageLevel _message_level;
       
   135 
       
   136   public:
       
   137 
       
   138     ///Set the verbosity of the messages
       
   139 
       
   140     ///Set the verbosity of the messages
       
   141     ///
       
   142     ///\param m is the level of the messages output by the solver routines.
       
   143     void messageLevel(MessageLevel m);
       
   144 
       
   145 
   124 
   146   };
   125   };
   147 
   126 
   148 }
   127 }
   149 
   128