Try our new documentation site (beta).

Image logo

AMPL-Gurobi Guide

Version 11.0, Copyright © 2024 Gurobi Optimization, LLC

This is the guide for installing and using the GurobiTM Solver for the AMPL modeling system. This lets you use Gurobi to solve LP, QP, QCP, MIP, MIQP, MIQCP and MINLP models that are written in AMPL. Gurobi Optimization is an authorized reseller for AMPL: Gurobi offers both the AMPL modeling system and Gurobi Solver for AMPL. The installation instructions cover a variety of system configurations.

This guide contains three sections: installation instructions, a user guide and the AMPL Gurobi parameter reference, which describes the settings that control the behavior of the Gurobi algorithms.

If you have purchased maintenance from us and you have a question that is not answered in this document, you can contact us on

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.