FAQ | BOOK | SOLVERS | PLATFORMS | VENDORS | CALENDAR | MORE! | WHAT'S NEW
  EXTENSIONS | CHANGE LOG | REPORTS | NETLIB | EXAMPLES | CONTENTS | HOME



Downloading the
CPLEX 10.1 Student Edition
for AMPL

[NEW]For current AMPL users

[NEW]For Windows users new to AMPL





Current AMPL users can now download an AMPL student edition of the new version 10.1 of CPLEX. Like other AMPL student editions, this AMPL/CPLEX is full-featured but limited to 300 variables and 300 objectives plus constraints. It includes the CPLEX components that solve
  • linear and convex quadratic programs by simplex methods
  • linear and convex quadratic programs by interior-point methods
  • linear and convex quadratic integer programs by a branch-and-bound procedure

If you are a current user of standard (command-line) AMPL, follow our CPLEX 10.1 download instructions below. You may want to also get the latest AMPL version by following our AMPL download instructions, but this is not necessary.

If you are a Windows user new to AMPL, take a look at our quick start instructions given below. You can get the Student Editions of both standard AMPL and CPLEX 10.1 by downloading and unpacking a single zip archive file.

If you are a Unix or Linux user new to AMPL, consult our Unix download instructions to obtain an appropriate copy of the AMPL Student Edition. Then download CPLEX 10.1 by following the instructions here.

If you need a size-unrestricted version of CPLEX, see our notes on obtaining other AMPL/CPLEX versions.


Downloading the CPLEX 10.1 Student Edition
for current users of command-line AMPL

The CPLEX 10.1 student edition for AMPL is available for download for the following platforms:

To install, click on the appropriate link above, and then proceed as follows:

  • For Windows, you will obtain the zip archive file cplex.zip. If your web browser doesn't automatically unpack this archive, double-click on the cplex.zip file icon to unpack it. The unpacking procedure should produce two executable files, cplex.exe and cplex101.dll, which are both required to run the CPLEX 10.1 solver. (If you 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.)

  • For Unix/Linux, you will obtain the compressed tar archive file cplex.tgz. Decompress by gzip to create an archive named cplex.tar, then unpack this archive by use of the command tar xvf cplex.tar to obtain the file cplex.
Place the CPLEX executable file or files in the same folder or directory as your AMPL executable, or anywhere in your search path. It will then be accessible from AMPL by giving an AMPL command of the form option solver cplex before solve.

A license agreement for CPLEX 10.1 appears in a file that is also unpacked by the above procedures. For detailed instructions on using CPLEX from AMPL, including a complete listing of CPLEX options and directives, consult the ILOG AMPL CPLEX System Version 10.0 User's Guide and AMPL CPLEX 10.1 README file.


Downloading the CPLEX 10.1 Student Edition
for Windows users new to AMPL

For a quick start if you haven't yet acquired either AMPL or CPLEX, start by downloading chapter 1 of the AMPL book. Then download the command-line AMPL zip archive file: If your web browser doesn't automatically unpack this archive, double-click on the amplcml.zip file icon to unpack it. (If you 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 should create a folder named amplcml containing the standard AMPL program (ampl.exe), the scrolling-window utility (sw.exe), and an executables for CPLEX 10.1 (cplex.exe and cplex101.dll). You may move and rename the amplcml folder to whatever is convenient for you. (Also in this folder you will find files for the Kestrel internet optimization client and the AMPL database handler for Windows, which you may choose to investigate.)

To run AMPL and CPLEX 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
ampl:
and you can proceed to enter commands at the "ampl:" prompts as shown in the AMPL book. To select CPLEX as your solver, enter the command option solver cplex; before the first solve of your AMPL session. Finally, to get test problems and sample models from the AMPL book and elsewhere, consult our AMPL examples page.

A license agreement for CPLEX 10.1 appears in a file that is also unpacked by the above procedures. For detailed instructions on using CPLEX from AMPL, including a complete listing of CPLEX options and directives, consult the ILOG AMPL CPLEX System Version 10.0 User's Guide and AMPL CPLEX 10.1 README file.


Other AMPL/CPLEX versions

Unrestricted versions of AMPL with CPLEX are available from ILOG, Inc. Further information may be obtained by submitting ILOG's Web Information Request Form, writing to info@ilog.com, or calling +1 800-FOR-ILOG (+1 800-367-4564) or +1 775-831-7744.

Restricted and unrestricted trial versions of AMPL Studio graphical user interface are available from OptiRisk Systems.



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

Back to AMPL downloads home page.

Back to AMPL home page.


LAST MODIFIED 19 JULY 2008 BY 4er.