How to incorporate academic license in Colab for windows?
AnsweredGurobi is already installed in my system.
How do I proceed after this?
-
Official comment
This post is more than three years old. Some information may not be up to date. For current information, please check the Gurobi Documentation or Knowledge Base. If you need more help, please create a new post in the community forum. Or why not try our AI Gurobot?. -
Hi!
It appears you are not running on Windows. This seems to be a Jupyter Notebook cell with a Jupyter kernel running on Linux. Please note that the pip installation comes with a (size-restricted) license, so it's not always necessary to get a full license via grbgetkey.
If you do need a full license, you need to install the full Gurobi package for your system or install the conda package. Then, the license tools grbgetkey and grbprobe are available.
Please also see this article for more information: How do I install Gurobi for Python? – Gurobi Support Portal
Cheers,
Matthias0 -
Actually, I am running this code on Windows using Colab cloud. And I am not able to incorporate my existing Gurobi license there to run the code. The same code runs in my offline Jupyter notebook platform.
PS: I have already installed Gurobi in my system.
0 -
Hi Biswajit!
The main feature of Colab notebooks is that they are running on Google-hosted servers so users do not need to install anything on their own machines. Unfortunately, this also means, that you cannot use your personal Gurobi license in Google Colab notebooks because these licenses are bound to your machine.
You could start your own Colab kernel and use this in a notebook but this would defeat the main purpose of Colab notebooks and be not much different from running a local Jupyter notebook.
I hope this explanation makes sense and clears up the confusion.
Cheers,
Matthias0
Post is closed for comments.
Comments
4 comments