AMPL models and example files
Explore the various models available for education and teaching purposes. You can now also find even more models on the collaborative model repository.
Enhance your education with real world modeling examples. For your convenience, you can copy and download all of the model, data and script files that appear as examples in the AMPL Book (second edition).
This is a preliminary set of examples to offer some starting points for experimenting with AMPL’s “logic” and constraint programming interfaces.
Writing “scripts” in the AMPL command language All examples use steelT.mod as the model file and the steelT.dat as the data file.
Implementing algorithms through AMPL scripts.