The errors
ERROR 10009: License expired yyyy-mm-dd ERROR 10009: Request denied: license expired
indicate 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, 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 licence type.
If your license expiration date has NOT been extended,
- academic users
- for Named-User or Free Online license, please see How do I renew my free Individual Named-User Academic or free Online Course license?
- for "self-serve" Academic WLS license, please see How do I resolve an "ERROR 10009: License has expired" for an Academic WLS license?
- commercial users
- please contact us through the Gurobi Help Center to request an extension or a new license.
Please note it can take up to 15-30 minutes for a WLS licence extension to sync and be ready to work.
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:\gurobi1103 (for 11.0.3), and your home directory
- Linux: /opt/gurobi, /opt/gurobi1103 (for 11.0.3), and your home directory
- macOS: /Library/gurobi, /Library/gurobi1103 (for 11.0.3), and your home directory