AMPL Downloads

Standard AMPL database handler for Windows

Scrolling window” utility for Windows

New Student Editions
and Demo Versions

Complete download details

AMPL software

Solver software

Papers and reports

AMPL Professional Edition software updates

New AMPL extensions

AMPL Quick Starts

To start learning about AMPL right now, download chapter 1 of the AMPL book, then proceed in any of the following ways to access the AMPL software and solvers:

1    (from any web browser)    Go to the Try AMPL! page, where you can send models, data, and commands to a remote version of the AMPL Student Edition and a selection of solvers. A simple web interface lets you choose examples from the book and then experiment with changes in a series of runs.

2    (for Windows users)    Download the AMPL Student Edition zip archive file, amplcml.zip. Then follow the instructions below to unpack and run the AMPL program, the CPLEX 11.2, Gurobi 2.0, and MINOS 5.5 solvers, and the Kestrel client for free access to additional solvers over the Internet. Once AMPL is running, you can type commands just as they are shown in the AMPL book.

3    (for Unix/Linux users)    The AMPL Student Edition and compatible solvers are available for all of the popular Unix workstations, as well as for Linux and other Unix-based operating systems on PCs. Consult the table in the instructions below to download and set up the AMPL binary that is appropriate for your platform. Then visit our solver download instructions to obtain one or more solvers for AMPL; Linux and Solaris users may alternatively download the Kestrel client to get access to solvers over the Internet. Once AMPL is running, you can type commands just as they are shown in the AMPL book.

Want more?    You can order the AMPL book to obtain an extensive introduction to the AMPL language. Files containing all of the book's examples, plus other AMPL models for many varied applications, can be downloaded through our examples page.

Quick Start instructions for Windows

When you click to download
amplcml.zip, your web browser should automatically unpack this zip archive. If not, double-click on the amplcml.zip file icon to unpack it. If you still can't get the archive to unpack, your computer lacks a properly configured zip-file utility; you can download a program such as UnZip, WinZip, or Stuffit Expander to unpack zip files.

The unpacking procedure creates a folder named amplcml containing the standard AMPL program (ampl.exe), the scrolling-window utility (sw.exe), executables for the solvers MINOS 5.5 (minos.exe), CPLEX 11.2 (cplex.exe and cplex112.dll), and Gurobi 2.0 (gurobi.exe and gurobi20.dll), and the Kestrel client (kestrel.exe) for free access to over a dozen more solvers via the Internet. You may move and rename the amplcml folder to whatever is convenient for you.

To run AMPL using these files, double-click on sw.exe, and in the window that appears, type ampl to load the AMPL program. At this point the window should show the following,

sw: ampl
and you can proceed to enter commands at the "ampl:" prompts as shown in the book. The default solver will be MINOS; enter the command option solver cplex to switch to CPLEX, or option solver kestrel to start using the Kestrel client.

Quick Start instructions for Unix (including Linux and Mac OS X)

Download your AMPL executable by selecting the appropriate link below:

The downloaded file must be decompressed by gzip to produce a file named ampl. This file must be made executable, by a Unix command such as chmod +x ampl, after which it may be executed from any directory in your search path.

To complete your AMPL installation, you can also download solvers to a directory in your search path. To use a downloaded solver, set AMPL's solver option to the name of the solver's executable file. For example, if you have downloaded cplex, enter the command option solver cplex before entering the solve command.

As an alternative or supplement to downloaded solvers, Linux and Solaris users can also download the Kestrel client to get access to solvers over the Internet. Currently there are 15 Kestrel solvers available for linear, integer, and nonlinear programming.

Comments or questions?
Write to info@ampl.com or use our comment form.

Back to AMPL home page.