Typically we see this error when the license file found by Gurobi is of the wrong type. If the gurobi.lic file holds a line stating
Unknown type: WEBFLOATCS
then, you very likely downloaded the wrong license file, namely a Web License Service (WLS) license which is meant for containerized environment only.
To download the correct license please
- Login on our website www.gurobi.com.
- Navigate to Downloads & Licenses > Your Gurobi Licenses.
- Choose the license you would like to set up. This must be a license ID which is not a WEBFLOAT or WEBFLOATCS license type.
- Follow the instructions for the grbgetkey command listed on the license website.
If you don't see any licenses under Downloads & Licenses > Your Gurobi Licenses, you have to request a license first. If you are an academic user, please navigate to Downloads & Licenses > Academic Licenses to request a free academic license. If you are a commercial user, please navigate to Downloads & Licenses > Commercial Evaluation License.
If you already have downloaded a valid license but the incorrect WLS license is still used instead, then please make sure that the system environment variable GRB_LICENSE_FILE points to a valid Gurobi license. See Where do I place the Gurobi license file (gurobi.lic)? for more information.