The error ERROR 10009: HostID mismatch indicates that the license file was generated for a machine with a different HostID. If the license file previously worked on the same machine, then something in the machine configuration has changed. These changes can include:
- For Windows systems: modifying the primary disk volume ID, which can be caused by formatting or replacing the boot drive.
- For Linux and macOS: modifying the primary network adapter; this may occur when attaching and detaching from some docking stations.
- For named-user licenses: running Gurobi under a different username.
- For WSL2: the MAC address changes upon rebooting; try using WSL1.
Note: When running Gurobi Optimizer on a virtual machine, some of these identifiers may change if you "copy" the virtual machine. To migrate a virtual machine to a new host, select the option in your virtualization system to "move" the virtual machine rather than "copying" or "cloning" it.
- How do I resolve an "ERROR 10009: License is for 8 cores, machine has XX"?
- How do I transfer my free academic or free trial license to a different computer?
- How do I obtain a free academic license for a cluster or a shared computer lab?
- How do I configure an AWS EC2 instance so the license file remains valid?