Error in the token server version 10 and 12
回答済みHello,
I'm one of developers of a Gurobi application with academic license. We were using Gurobi Token Server v. 10.02 for Linux x64. Today it stopped working, a request from the Pulp Gurobi API results in an exception:
File "src/gurobipy/_model.pyx", line 152, in gurobipy._model.Model.__init__
File "src/gurobipy/gurobi.pxi", line 40, in gurobipy._core.gurobi._getdefaultenv
File "src/gurobipy/env.pxi", line 112, in gurobipy._core.Env.__init__
gurobipy._exception.GurobiError: Request denied: license not valid for Gurobi version 13
We definitely have Gurobi version 10.02. I've also tried running the token server 12.03 to make sure it's not the issue of it being too old, but to no avail. Apparently our installation stopped being correctly recognized as an older version.
Our license file contains:
TYPE=TOKEN
VERSION=12
EXPIRATION=2026-03-19
and it was working correctly several hours ago.
-
Hello Antoni,
Thank you for contacting our team. Based on the error message:
Request denied: license not valid for Gurobi version 13and the fact that your license is for version 12, I recommend updating your license and token server installation to V13. In the meantime, you could downgrade your gurobipy installation to version 12.0.3 so that it works with the old license. Here are some helpful links:
- How do I update my academic license to the latest Gurobi version?
- How do I update my token server to a newer version?
- How do I update my Gurobi installation to a newer version?
If you continue to have trouble, please click the “Get Help” button at the top of the page for additional assistance, navigating through to open a request with our team if needed.
0 -
I will also add, in case it is relevant, that the version of gurobipy in your Python environment dictates what you are solving with, and is completely separate to any full installation of the Gurobi Optimizer you have on your machine - these things do not talk to each other.
- Riley
0
サインインしてコメントを残してください。
コメント
2件のコメント