Implement this interface to handle the outputs from the calls to any function that causes the underlying AMPL interpreter to display a message.
Note that errors and warnings are not passed through this interface, see ampl::ErrorHandler for more information.
Public Functions
-
virtual void output(output::Kind kind, const char *msg) = 0
This method is called when AMPL sends some output derived from executing a statement.
- Parameters
-