AMPL Installation Wizard

Here are instructions to add or upgrade Gurobi Solver to an existing AMPL installation on Linux:

  1. Determine the directory where AMPL is installed on your computer.
  2. Extract the contents of the supplied Gurobi Solver file. Extraction is done with the following command:
    tar xvfz amplgurobilink11.0.1_linux64.tar.gz
    
    The file name should be adjusted to reflect the actual archive file. Extraction will produce a subdirectory called ampl, which contains the Gurobi Solver software.
  3. Copy the extracted files inside the ampl subdirectory to the directory where AMPL is installed on your computer.
  4. To allow the AMPL-Gurobi executable files to be found when needed, ensure that the PATH environment variable includes the AMPL installation directory. Assuming that AMPL is installed in /usr/local/bin, users of the bash shell would add the following to their .bashrc files:
    export PATH="${PATH}:/usr/local/bin"
    
    And users of the csh shell would add the following to their .cshrc files:
    setenv PATH ${PATH}:/usr/local/bin
    

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.

Search