Set up Gurobi Licenses
Once received the licenses, register / log into the User Portal.
The licenses are associated with the email / account.
Go to the licenses in the Portal.
User Portal -> Licenses
Floating Use license -> Show installation instructions
Install Gurobi on this machine (see Software Installation Guide).
1.Download and install the software
2.Install the Gurobi license on Token server
Go to the server that you want to use as the Token Server and RUN from terminal:
grbgetkey 'a hash key'
It shows:
info : grbgetkey version xxx
info : Platform is win64 (windows) - Windows 11.0
info : Contacting Gurobi license server...
...
info : Saving license file...
info : License xxx written to file C:\gurobi\gurobi.lic
The main content of the gurobi.lic file is pointing to the tokenserver
...
TOKENSERVER=YOUR_SERVER_URL
...
On the token server, kick off the token service:
grb_ts.exe
From another machine, use the gurobi.lic file to connect to the token server, and run optimization code.
WLS License -> Open License in Web License Manager
Download the license .lic file
The file is like:
WLSACCESSID="a hash key"
WLSSECRET="a hash key"
LICENSEID="an id"
Then ready to use it. No need for setting a token server.
It will connect to a global gurobi token server.