Search
Close this search box.

The AMPL Book

A comprehensive guide to building optimization models, for beginning or experienced users

AMPL: A Modeling Language for Mathematical Programming by Robert Fourer, David M. Gay, and Brian W. Kernighan
AMPL Book image on a blue background

Chapter Downloads

Written by the creators of AMPL, this book is a complete guide for modelers at all levels of experience.

Advanced chapters cover network, nonlinear, piecewise-linear, and integer programming; database and spreadsheet interactions; and command scripts. Most chapters include exercises for study or classroom use.

Much more than a user’s manual, it begins with a tutorial on widely used linear programming models and proceeds through a more detailed tutorial exposition of all of AMPL’s features. Extensive examples show how each feature is used in meaningful contexts.