This preview shows pages 1–2. Sign up to view the full content.
This preview has intentionally blurred sections. Sign up to view the full version.View Full Document
Unformatted text preview: Introduction to AMPL Gah-Yi Vahn October 24, 2008 1 Preliminaries Go to http://www.ampl.com/DOWNLOADS/details.html\#WinStd and down- load the free Student edition AMPL. (Click on the link amplcml.zip under for a quick start ). Unpack amplcml.zip in a local directory. You can call ampl.exe directly by double-clicking it or through the Windows command prompt; e.g. if youve placed the folder amplcml in C: \ IEOR162 , then you can run ampl.exe by typ- ing the command >> cd C: \ IEOR162 \ amplcml \ ampl.exe which will return > ampl: You are now ready to use AMPL. 2 Ice-cream Production Problem Breyers ice-cream company must decide how to allocate next months time on a mixer. The mixer takes cream and produces either vanilla or strawberry flavored ice-cream. The two products are produced by the mixer at different rates, fetch different profits and have different monthly demand limits: Production Rate (kg/hour) Profit(/kg) Monthly Demand (kg) Vanilla 20 $5 600 Strawberry 14 $6...
View Full Document
- Fall '07