If you have recently installed a new license but Gurobi still shows that it is using an old license, then Gurobi is not able to find the path to the new license file. To resolve this, please follow these steps:
-
Make sure you have installed the new license file.
If you have not installed your new Gurobi License file,
-
- Go to www.gurobi.com.
- Navigate to Downloads & Licenses > Your Gurobi Licenses.
- Click on the installation icon for the correct License ID in the table.
-
Follow the Installation instructions to run the grbgetkey
command.
-
-
Make sure Gurobi can find your new license file.
First, check to see which license file Gurobi is using by running the following in your command window or terminal:
gurobi_cl --license
You should see a line that showsUsing license file /path/to/license/file/gurobi.lic
Please open this license file and check that the License ID matches your new license. If not, please replace this file with your new license file or change the license file location.This procedure will not work if the command-line tool, i.e., gurobi_cl, is pointing to the new installation while the Gurobi old license file is still in use. In this case, check for old licenses in GRB_LICENSE_FILE as well as the default directories:
Windows: C:\gurobi, C:\gurobi1200 (for 12.0.0), and your home directory Linux: /opt/gurobi, /opt/gurobi1200 (for 12.0.0), and your home directory macOS: /Library/gurobi, /Library/gurobi1200 (for 12.0.0), and your home directory
-
Test your license.
To do this, walk through the steps in How do I test my Gurobi license?
Comments
0 comments
Article is closed for comments.