logging#
Handling AMPL Errors and Warnings: ErrorHandler in amplpy#
Notebooks > Handling AMPL Errors and Warnings: `ErrorHandler in amplpy <../notebooks/handling-ampl-errors-and-warnings-errorhandler-in-amplpy.html>`_
Description: Shows how to use amplpy.ErrorHandler and amplpy.AMPLException to intercept, filter, and route AMPL errors and warnings — covering default raise behaviour, custom recovery strategies, and logging integration.
Author: Jürgen Lentz (8 notebooks) <lentz@ampl.com>
Intercepting AMPL Output: OutputHandler and Kind in amplpy#
Notebooks > Intercepting AMPL Output: `OutputHandler and Kind in amplpy <../notebooks/intercepting-ampl-output-outputhandler-and-kind-in-amplpy.html>`_
Description: Shows how to use amplpy.OutputHandler and amplpy.Kind to intercept, filter, and route AMPL interpreter output — covering silent solving, solver log capture, and structured logging by output kind.
Author: Jürgen Lentz (8 notebooks) <lentz@ampl.com>