Introduction to AMPL A Tutorial
September 13, 2000
AMPL is a powerful language designed specically for mathematical programming. AMPL has many features and options; however this tutorial covers a small subset of these1 . Sections 1 through 5 provide an in
IE 122- Software Tools
Fall 2011- HW 1
Due Date: Sunday 09/18/2011, 11:55 p.m.
HW submission note:
- Create a folder for each question and include your answer for that question in it. Zip
the folders and submit one zip file per group following the format
What is Ampl?
A modeling language that helps us to develop and apply
mathematical programming models.
Can solve linear, nonlinear, integer, mixed integer models.
Can write any piece of code that you can write in C, C+ i
IE122- Lecture 3
Product Mix Example:
3 products: TV sets, stereos and speakers.
5 different parts: Chassis, picture tubes, speaker cones,
power supplies and electronics units.
Produce the mix of products to maximize profits, given the