AMPL Installation Wizard

Here are instructions to add Gurobi Solver to an existing AMPL installation on Microsoft Windows:

  1. Determine the folder where AMPL is installed on your computer.
  2. Unzip the supplied AMPL-Gurobi file, which will be named something like This will create a separate folder called AMPL, which contains the Gurobi Solver software. (Note that your unzip utility may embed this AMPL folder inside a folder such as amplgurobilink9.5.2_mswin64).
  3. Open this new AMPL folder and copy all its files to the folder where AMPL is already installed on your computer.
  4. Open a Windows command prompt and type the commands:
    cd C:\AMPL
    fingerprint -o fp.out
    The cd command should be modified to reflect the folder where AMPL is installed on your computer. This will generate a fingerprint file named fp.out in the AMPL folder. To request your license key (after we have received your payment or a Gurobi sales representative has approved your request to evaluate AMPL), email the fp.out file to
  5. When you receive your license key, simply copy the license key file to the folder where AMPL is installed.
  6. If you are configuring a floating license server for AMPL-Gurobi, please follow the additional instructions for ampl_lic.

Try Gurobi for Free

Choose the evaluation license that fits you best, and start working with our Expert Team for technical guidance and support.

Evaluation License
Get a free, full-featured license of the Gurobi Optimizer to experience the performance, support, benchmarking and tuning services we provide as part of our product offering.
Academic License
Gurobi supports the teaching and use of optimization within academic institutions. We offer free, full-featured copies of Gurobi for use in class, and for research.
Cloud Trial

Request free trial hours, so you can see how quickly and easily a model can be solved on the cloud.