TRY NOW!
AMPL > >Try AMPL > >Download a Demo Version

DOWNLOAD A DEMO VERSION

Size-limited versions of AMPL and certain solvers are available free for download from this page. These versions have no licensing requirements or expiration date. However they are strictly limited in the size of problem that can be sent to a solver:

  • For linear problems, 500 variables and 500 constraints plus objectives.
  • For nonlinear problems, 300 variables and 300 constraints plus objectives.

These limitations are applied after any presolve reductions and elimination of variables. The following solvers are included in the demo version packages:

  • CPLEX and Gurobi for linear and convex quadratic problems in continuous and integer variables.
  • MINOS for linear and smooth nonlinear problems in continuous variables.
  • SNOPT for smooth problems in continuous variables.

Demo versions are available for your choice of AMPL modeling environments:

  • The AMPL IDE, an integrated command processor and editor that assists in model development.
  • Command-line AMPL, which runs in a simple command window.

To get started with the demo version, follow the download instructions below for your preferred platform: Windows, Linux, or Mac OS X.

The AMPL demo version is ideal for getting a quick start on learning what AMPL is like and how it works. It is compatible with all of the small examples in the AMPL book, which is also freely downloadable. If however you need to try AMPL on larger problems than the demo version will permit, then consider one of the following options which are not subject to size limitations:

  • Free 30-day trials are available on request for AMPL and for all of the solvers that we sell.

  • AMPL for Courses provides packages of AMPL plus solvers that can be given out to students and used for any purpose in a designated course. The packages time out after the course is over.

  • The NEOS Server is a free “cloud” optimization service that makes AMPL and many solvers available for trial through an online scheduler and contributed workstations at various locations.

For large-scale research and commercial projects you can purchase AMPL and solvers under a variety of licensing arrangements.

 

AMPL IDE demo version for Windows

To install: Download the distribution zipfile, amplide-demo-mswin.zip. Double-click the zipfile icon, or apply an unzip utility, to extract the folder named amplide from the zipfile. You may move this folder to any convenient location on your computer.

To run: Double-click the amplide folder icon to open the folder, and then double-click the amplide.exe file icon to start the AMPL IDE application. A small “AMPL IDE” window will appear while the program is being loaded, and then the full IDE application window will open. To get started using AMPL IDE, choose Help Contents from the Help menu at the top of the application window.

AMPL Command Line demo version for Windows

To install: Create a folder where you will put all your AMPL-related files. Download the distribution zipfile, ampl-demo-mswin.zip, to your folder. Then “unzip” this file to place all of the individual AMPL and solver program files into your folder; usually the unzip process can be started by double-clicking on the zipfile.

To run: Double-click the sw.exe icon and type ampl at the prompt in the window that appears. Then you will see an ampl: prompt and can proceed to type AMPL commands. By default the MINOS solver will be invoked by AMPL’s solve command; to switch to another solver, use a command of the form option solver xxx; where xxx is the listed solver that you wish to use.

 

AMPL IDE demo version for Linux

To install: Download one of the distribution archives, amplide-demo-linux32.tar.gz for a 32-bit version or amplide-demo-linux64.tar.gz for a 64-bit version. Then extract the contents of this archive by typing the command

tar xzf amplide-demo-linux32.tar.gz

or

tar xzf amplide-demo-linux64.tar.gz

When the extraction is complete you will see a directory named amplide which you may move to any convenient location on your computer.

To run: In a command window, use the cd command to make amplide your current directory, and then start AMPL IDE with the command ./amplide. A small “AMPL IDE” window will appear while the program is being loaded, and then the full IDE application window will open. To get started using AMPL IDE, choose Help Contents from the Help menu at the top of the application window.

AMPL Command Line demo version for Linux

To install: Create a directory where you will put all your AMPL-related files. Download one of the distribution archives, ampl-demo-linux32.tar.gz for a 32-bit version or ampl-demo-linux64.tar.gz for a 64-bit version, to your directory. Then unpack this file to place all of the individual AMPL and solver program files into your directory, using the command

tar xzf ampl-demo-linux32.tar.gz

or

tar xzf ampl-demo-linux64.tar.gz

as appropriate.

To run: In a command window, use cd to go to your AMPL directory, and type ampl at the system prompt. Then you will see an ampl: prompt and can proceed to type AMPL commands. Open the README file in the distribution to see a list of available solvers. By default the MINOS solver will be invoked by AMPL’s solve command; to switch to another solver, use a command of the form option solver xxx; where xxx is the listed solver that you wish to use.

 

AMPL IDE demo version for Mac OS X

To install: Download the distribution archive, amplide-demo-macosx.tar.gz. Double-click this file’s icon to extract its contents. When the extraction is complete you will see a folder named amplide. You may move this folder to any convenient location on your computer.

To run: Double-click the amplide folder icon to open the folder, and then double-click the amplide file icon to start the AMPL IDE application. A small “AMPL IDE” window will appear while the program is being loaded, and then the full IDE application window will open. To get started using AMPL IDE, choose Help Contents from the Help menu at the top of the application window.

AMPL Command Line demo version for Mac OS X

To install: Create a folder where you will put all your AMPL-related files. Download the distribution archive, ampl-demo-macosx.tar.gz, to your folder. Then unpack this file to place all of the individual AMPL and solver program files into your folder; usually the unpacking process can be started by double-clicking on the archive.

To run: Open a Mac terminal window, use cd to go to your AMPL folder, and type ./ampl at the system prompt. Then you will see an ampl: prompt and can proceed to type AMPL commands. Open the README file in the distribution to see a list of available solvers. By default the MINOS solver will be invoked by AMPL’s solve command; to switch to another solver, use a command of the form option solver'./xxx'; where xxx is the listed solver that you wish to use.