OutputHandler

public interface OutputHandler

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 ErrorHandler for more information.

Methods

output

public void output(AMPLOutput out)

This method is called when AMPL sends some output derived from executing a statement

Parameters:
  • out – AMPL Output