![]() |
gurobi.com | Reference Manual | Customer Support |
You have successfully installed version 9.5.2 of the Gurobi Optimizer.
You'll find instructions for setting up your Gurobi license in this document, as well as a list of supported platforms, and Release Notes and guidelines for converting existing Gurobi code to run with this new version. Once you have finished browsing this document, you should refer to the Detailed Release Notes, the Quick Start Guide, the Example Tour, the Reference Manual, or the Remote Services Reference Manual to get started using the Gurobi Optimizer.
Gurobi Optimizer 9.5 uses the same licenses as versions 9.0 and 9.1, so if you already have a Gurobi 9 license, there's no need to obtain a new one. Otherwise, you will need to visit the Gurobi License Center. If you are a commercial user under maintenance, you should see your Gurobi 9 license under Current Gurobi Licenses. If you would like to request a free academic license, you can do so from the Free Academic License page. Once you have a license on the Gurobi web site, you will need to follow the instructions for installing a license in the Quick Start Guide.
Platform | Operating System | Compiler | Notes |
---|---|---|---|
Windows 64-bit (win64) | Windows 10, 11, Windows Server 2012 R2, 2016, 2019, 2022 | Visual Studio 2017 | Use gurobi_c++md2017.lib (e.g.) for C++ |
Windows 10, 11, Windows Server 2012 R2, 2016, 2019, 2022 | Visual Studio 2019 | Use gurobi_c++md2019.lib (e.g.) for C++ | |
Linux® x86-64 64-bit (linux64) | Red Hat® Enterprise Linux 7 (and the corresponding CentOS distribution), 8 | GCC >= 4.8 | Use libgurobi_g++5.2.a for newer C++ compilers |
SUSE® Enterprise Linux 12, 15 | |||
Ubuntu® 18.04, 20.04 | |||
Amazon Linux 2 | |||
macOS 64-bit universal2 (macos_universal2) | 10.15 (Catalina), 11 (Big Sur), 12 (Monterey) | Xcode 12/13 | |
AIX® 64-bit (power64) | AIX 7.1, 7.2, 7.3 | XL C/C++ 9 | Due to limited Python support on AIX, this port does not include the Interactive Shell or the Python libraries. |
Language | Version |
---|---|
Python | 2.7, 3.7, 3.8, 3.9, 3.10 |
MATLAB | R2019a-R2022a |
R | 4.2 |
JDK | 8, 11, 17 |
.NET | Core 3.1, 6.0 |
In addition to performance enhancements, Gurobi 9.5 adds the following new features:
If you use Python matrix variable objects (MVar) or matrix constraint objects (MConstr), indexing has changed slightly. When accessing a single element, Gurobi 9.5 will now return the corresponding variable or constraint object rather than an array of shape (1,). See the section on Indexing of MVar and MConstr objects in the detailed release notes for details.
Beyond this, programs that were originally written for version 9.1 of the Gurobi Optimizer generally won't require any code changes to use version 9.5. If you'd like to use the new features, some code changes are required. We have deprecated some methods, which may require you to make changes to your code in a future version. Details are available in the detailed release notes.
Note that this software is covered by the Gurobi End User License Agreement. By completing the Gurobi installation process and using the software, you are accepting the terms of this agreement.
Thank you for using Gurobi products!
© 2022 Gurobi Optimization. All Rights Reserved.