The errors
ERROR 10009: License expired yyyy-mm-dd
ERROR 10009: Request denied: license expiredindicate that either your license has expired or Gurobi is finding an old expired license.
Log in to your Gurobi account and check the expiration date for your license under the License tab.
If your license expiration date has already been extended, retrieve an updated license file.
- For WLS and Cloud licenses, log in to your Web License Manager and Cloud Manager, respectively, and download the updated license file.
- For all other licenses:
- If the target machine will remain the same:
- Go to https://portal.gurobi.com
- Navigate to the Licenses tab.
- Click on the Download icon of the appropriate license record. When hovering the cursor over such icon, the following text should appear: "Show installation instructions for this license".
- Click on the button DOWNLOAD LICENSE that appears on the bottom-right of the pop-up window.
- Verify that the property EXPIRATION shows the correct date on the downloaded file.
- Replace the old gurobi.lic file(s) in your system with the new one. Whenever possible, place it on one of the default directories mentioned below.
- If the license needs to be transferred to another machine, re-run the grbgetkey command for your license. Please see How do I retrieve and set up a Gurobi license? for detailed instructions for each license type.
- Note that your license may be subject to a transfer limit.
- If the target machine will remain the same:
If your license expiration date has NOT been extended:
- Commercial users: please contact us through Gurobot to request an update to your license.
-
Academic users:
- Named-User or Free Online licenses can be renewed by following the instructions in How do I renew my free Individual Named-User Academic or free Online Course license?.
- Academic WLS licenses can be extended through the Web License Manager. For more details, see "ERROR 10009: License has expired" for an Academic WLS license.
Please note it can take up to 15-30 minutes for a previously expired WLS license to work after the expiration date is extended.
Once you have retrieved an updated license file, place it at one of the default locations or set the environment variable GRB_LICENSE_FILE to point to the non-default location of the file. See Where do I place the Gurobi license file (gurobi.lic)?.
Also, delete all expired license files on your system. Check for old licenses in the system environment variable GRB_LICENSE_FILE as well as the default directories:
- Windows: C:\gurobi, C:\gurobi1301 (for 13.0.1), and your home directory
- Linux: /opt/gurobi, /opt/gurobi1301 (for 13.0.1), and your home directory
- macOS: /Library/gurobi, /Library/gurobi1301 (for 13.0.1), and your home directory