This preview shows pages 1–4. Sign up to view the full content.
This preview has intentionally blurred sections. Sign up to view the full version.
View Full DocumentThis preview has intentionally blurred sections. Sign up to view the full version.
View Full Document
Unformatted text preview: 1 An Introductory Tutorial for AMPL with Examples from Winston , Operations Research: Applications and Algorithms, 3 rd ed. 1. Introduction 2. Downloading and Installing AMPL Plus 3. Overview of AMPL Plus 4. Using AMPL Plus to Solve some Simple Examples from Winston 5. A More Complex Problem for AMPL Plus 6. A Brief Introduction to Integer Programs 7. Downloading and Installing “Standard” AMPL 8. Using Standard AMPL 9. Index Prepared as part of course ISYE 8901 at the School of Industrial and Systems Engineering of Georgia Institute of Technology under the supervision of Dr. Joel Sokol, Assistant Professor. Author  Samuel Potter – MS Student [email protected] 2 Introduction to the Tutorial To quote the AMPL website, “AMPL is a comprehensive and powerful algebraic modeling language for linear and nonlinear optimization problems, in discrete or continuous variables. Developed at Bell Laboratories, AMPL lets you use common notation and familiar concepts to formulate optimization models and examine solutions, while the computer manages communication with an appropriate solver.” As an optimization student in an offcampus learning environment I found that, while the above statement may be true, getting to first base with the AMPL software was, at times, frustrating. So, with this in mind, I have written a tutorial to teach you the basics of AMPL. A few comments are in order: • This tutorial will not teach you much about formulating optimization problems. I’m assuming that you are taking (or have taken) an optimization or mathematical programming course. • You will not see any discussion about optimization theory or any algorithmic details (i.e., you won’t see terms like Simplex, Revised Simplex, and Branch and Bound in this tutorial). Also we’re not going to discuss what AMPL is doing “behind the scenes”. § This tutorial will not make you an “AMPL” expert. I have written this tutorial for a person who has some optimization experience and now would like to begin using AMPL to solve optimization problems. It’s written on a basic level. • I have freely used example problems from the Winston textbook, Operations Research: Applications and Algorithms, 3 rd . ed. (These same problems also appear in other textbooks by the same author (i.e. An Introduction to Mathematical Programming ), but they will be located on different pages.) Here are some of the topics we’ll cover: • Downloading and installing a free copy of the student version of AMPL Plus from the AMPL website. AMPL Plus is a version of AMPL that has a “quasi” Windowslike appearance. The student version of AMPL Plus behaves nearly identically to the professional version of AMPL Plus, except that it limits the size of the programs you can run. (I believe that the student version has sufficient capacity to run most all of the problems in the Winston textbook.) I’ll simply refer to this version of AMPL as “AMPL Plus”. 3 • Discussing the user interface of AMPL Plus. We’ll do this on a rather limited basis. Discussing the user interface of AMPL Plus....
View
Full
Document
This note was uploaded on 02/14/2012 for the course IE 530 taught by Professor Ravindran during the Spring '97 term at Purdue.
 Spring '97
 RAVINDRAN

Click to edit the document details