The error message No Gurobi license found" is displayed when Gurobi cannot find a gurobi.lic license file.
Using a license file
If you already have a Gurobi license (academic or commercial), please be sure the license file is in the default location. Please see this guide for further information: Where do I place the Gurobi license file (gurobi.lic)?
Using parameters for license credentials
If you are using a client license for a floating site token server, Gurobi Instant Cloud, WLS (Web License Service), or a Compute Server/Cluster Manager, you may have chosen to pass the credentials as parameters to the Gurobi environment instead of using a gurobi.lic license file. This method is illustrated in the example mip1_remote.py. If this is the case, please check that you pass that environment as an argument when creating your mode, such as:
with gp.Model(env=env) as model:
# Formulate problem
model.optimize()
Comments
0 comments
Article is closed for comments.