Version number is 8.0, license is for version 7.0 (Error Code 10009)

1,457 views
Skip to first unread message

afza...@usc.edu

unread,
Apr 26, 2018, 6:08:35 AM4/26/18
to Gurobi Optimization
I have installed the newest version of Gurobi optimizer (Version 8.0). I have also generated new academic license for the version 8. However, when I try to solve the model. it gives the below error:

Error code 10009: Version number is 8.0, license is for version 7.0 - license file '/home/home2/students/afzalikusha/gurobi.lic'

Can you kindly help me with this?

Thank you.

Regards
Hassan

Tobias Achterberg

unread,
Apr 26, 2018, 6:16:44 AM4/26/18
to gur...@googlegroups.com
Please check that the license file /home/home2/students/afzalikusha/gurobi.lic
is indeed the one that you downloaded. It should have an entry "VERSION=8".

Regards,

Tobias

Kostja Siefen

unread,
Apr 26, 2018, 8:32:34 AM4/26/18
to Gurobi Optimization
You are trying to use Gurobi 8.0 with a license key for an older release. After installing the latest release, you need to re-run grbgetkey to upgrade the license key file. 

License key files are backwards-compatible so make sure that you remove or replace any older license key file. 
Please also make sure that you do not accidentally use grbgetkey from an older release to install the license.

Kostja

afza...@usc.edu

unread,
Apr 27, 2018, 1:04:56 AM4/27/18
to Gurobi Optimization
Dear Dr. Siefan,

I have already run a new grbgetkey for version 8. The website is telling me that this license is for version 8, however when the license gets downloaded and I check the licence, the VERSION is 7.

 The problem is still there.

Can you can kindly help with this issue?

Best Regards

afza...@usc.edu

unread,
Apr 27, 2018, 1:04:56 AM4/27/18
to Gurobi Optimization
Dear Tobias,

Thank you for your response.

This is indeed the one I have downloaded, however the entry is VERSION=7.

I have attached the details of the license that I have obtained from the website. On the website it is showing me that the version is 8, however the one that has been downloaded for me is for VERSION 7.

I am confused here. Can you kindly help me with this?

Best Regards
Hassan
LicenseDetail.png

cherewaty

unread,
Apr 30, 2018, 1:54:49 PM4/30/18
to Gurobi Optimization
Hi y'all,
I'm experiencing the same problem with an academic license.

1. I installed Gurobi 8.
2. I generated a brand-new academic license at user.gurobi.com. It indicates in the UI that the version is 8.
3. I run grbgetkey for that license. The resulting gurobi.lic file says VERSION=7.
4. Whenever attempting to use Gurobi, I get "Gurobi Error: Version number is 8.0, license is for version 7.0"

Tobias Achterberg

unread,
Apr 30, 2018, 2:29:41 PM4/30/18
to gur...@googlegroups.com
Are you sure that you have used the grbgetkey program from the Gurobi 8.0 installation? Or
may it be that your old Gurobi 7 is still in your path, so that the grbgetkey from Gurobi
7 was used?

Regards,

Tobias

cherewaty

unread,
May 20, 2018, 10:56:43 AM5/20/18
to Gurobi Optimization
I got this resolved, just in case anyone else encounters it:

I had upgraded Gurobi in my Anaconda environment to version 8, but I still had version 7 installed outside of Anaconda (where I was trying to run grbgetkey). I manually downloaded and installed version 8 from http://www.gurobi.com/downloads/gurobi-optimizer so I had grbgetkey version 8 outside of Anaconda.

Franziska Wegner

unread,
Nov 2, 2018, 1:48:36 PM11/2/18
to Gurobi Optimization
I used the version specific script /Library/gurobi800/mac64/bin/grbgetkey <key> with that I get the correct information

mypc:bin name$ ./grbgetkey <key>
info  
: grbgetkey version 8.0.0, build v8.0.0rc0
info  
: Contacting Gurobi key server...
info  
: Key for license ID <id> was successfully retrieved
info  
: License expires at the end of the day on year-month-day
info  
: Saving license key...

otherwise I got something like 

Gurobi license key client (version 7.5.2)
Copyright (c) 2017, Gurobi Optimization, Inc.

-------------------------------
Contacting Gurobi key server...
-------------------------------

Key for license ID <id> was successfully retrieved.
export CMAKE_INCLUDE_PATH="/opt/X11/include:$CMAKE_INCLUDE_PATH"
License expires at the end of the day on year-month-day.

---------------------
Saving license key...
---------------------
...

that shows me basically that I am activating the license for Gurobi Version <= 7.5.2.

I updated the environment variable in ~/.profile to the current version and reloaded the profile file using source ~/.profile.

export GUROBI_HOME=/Library/gurobi800/mac64/

That's basically it.
Reply all
Reply to author
Forward
0 new messages