Jürgen Lentz (8 notebooks)#
AMPL Bin Packing Problem with GCG#
Description: Dantzig-Wolfe decomposition for Bin Packing Problem with GCG
Author: Jürgen Lentz (8 notebooks) <lentz@ampl.com>
AMPL Capacitated p-Median Problem with GCG#
Description: Dantzig-Wolfe decomposition for Capacitated p-Median Problem with GCG
Author: Jürgen Lentz (8 notebooks) <lentz@ampl.com>
Diverse Circuit Routing in Multi-Layer Optical Networks#
Description: SRLG-diverse routing of circuits over a heterogeneous multi-layer DWDM network with express and multiplex links, node inclusion/exclusion and maximally diverse routing, following Xu et al. (2013)
Author: Jürgen Lentz (8 notebooks) <lentz@ampl.com>
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>
Inspecting AMPL Models: expand and show with amplpy#
Notebooks > Inspecting AMPL Models: `expand and show with amplpy <../notebooks/inspecting-ampl-models-expand-and-show-with-amplpy.html>`_
Description: Demonstrates the ampl.show(), ampl.expand(), and entity-level expand() methods introduced in amplpy 0.17.0, using the classic diet problem as a running example.
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>
Multi-Objective Knapsack Problem with AMPLPY#
Description: knapsack problem using multiple objectives, setting objective-specific options
Tags: multi-objective, multi-objective-options, lexicographic-objectives, knapsack, amplpy, highlights
Author: Jürgen Lentz (8 notebooks) <lentz@ampl.com>
Setting and Getting AMPL Options in amplpy#
Description: Shows every way amplpy exposes to set and get AMPL options — snake_case methods, dict-style indexing, camelCase aliases, and per-solve keyword overrides — covering interpreter options, solver-specific option strings, value types, and restore patterns.
Author: Jürgen Lentz (8 notebooks) <lentz@ampl.com>