How do I check Gurobi is using the right license
OngoingI recently got a full academic license due to large model size, I set Gurobi and the license and started using it (I am using Jupiter notebook and linux based kernel of the university server) so I do not have anything installed or running locally.
I am using Specifically the Web License Service. Everything was going well and I was able to solve my large models until I started getting the error ''
GurobiError: Model too large for size-limited license; visit https://www.gurobi.com/free-trial for a full license
even for same models that I was previously able to solve! I figured my Gurobi could be reading for some reason an old license??? but how can I check that in python or the linux kernel?
One more hint is that previously when my model is solved I get this notification
SOLVING Set parameter WLSAccessID Set parameter WLSSecret Set parameter LicenseID Academic license - for non-commercial use only - registered to xxx.XXX@xx.xx Being solved by Gurobi... Academic license - for non-commercial use only - registered to xxx.XXX@xx.xx Solution status: 2 Running time: 0.3497s
while now I get this :
SOLVING Being solved by Gurobi... Academic license - for non-commercial use only - registered to xxx.XXX@xx.xx Solution status: 2 Running time: 0.0068s
I would appreciate any help or insights about this issue.
-
Hi Amal - It looks like Gurobi is using the ;license from the pip installer. This Knowledge Base article might help How do I resolve a "Model too large for size-limited Gurobi license" error?
0 -
Hi,
I used that article indeed to solve the problem when I first faced it and was able to request and create WSL license and use it successfully.
However now all of the sudden my program started using pip installer instead even though I did not change anything (except my laptop which I assumed it wouldn't impact it since it is a WSL license not normal one) . Would it?
0
Please sign in to leave a comment.
Comments
2 comments