AMPL Forum

Gurobi Solver for AMPL

Gurobi’s outstanding performance has been demonstrated through leadership in public benchmark tests and dramatic improvement in solve times year after year. Built from the ground up using the latest developments & techniques, Gurobi’s extremely robust code ensures numerical stability, correctness of results, and scalability.

Getting started with Gurobi 10

Our enhanced Gurobi driver (previously know as x-gurobi) is now the default gurobi driver. The new driver provides significantly extended modeling support for logical and nonlinear operators natively through Gurobi’s built-in “general constraints” and through linearizations performed by the MP interface.

Gurobi downloads are available from the My Downloads page of your account at the AMPL Portal, and are included in the bundles that are used for free trials.


Developer: Gurobi Optimization, Inc.

Current version: 10.0

Problem types supported: Linear and quadratic optimization in continuous and integer variables with high-level constraints such as min/max, and/or, as well as nonlinear functions via piecewise-linear approximation.

Special forms detected: Convex and non-convex quadratic expressions in objectives and constraints; conic quadratic constraints; indicator constraints.

Algorithms available: For continuous problems, primal and dual simplex, interior-point (barrier); for integer problems, advanced branch-and-bound with presolve, feasibility heuristics and cut generators.

Special features: Global optimization of non-convex quadratic problems. Shared-memory parallel processing for barrier, branch-and-bound. Distributed concurrent optimization and tuning to leverage multiple machines. Streamlined access to cloud services. Special facilities for multi-objective optimization and infeasibility diagnosis.

Further Information

Gurobi Optimization website

Gurobi for AMPL User’s Guide including option descriptions

Gurobi-AMPL interface source code

What’s New in Gurobi 10.0