GurobiPy 3.7 - When and Why has this not been done
AnsweredJust upgraded to python 3.7 on windows. See that gurobi py only supported to 3.6.
I would have thought that the 3.6 version would have worked on python 3.7 with minimal changes - so why has this not been done already. very poor show. I see Mac supports gurobipy 3.7
AMPL works FICOexpress works but gurobiPy
So is there an ETA on this ?
Or is there some sort of work around - eg manual change to source
Thanks in advance
-
What version of Gurobi optimizer are you using? Gurobi 8.1.1 supports python 2.7, 3.5, 3.6, and 3.7.
0 -
The latest 8.1.1
see this https://www.gurobi.com/documentation/8.1/quickstart_mac/the_gurobi_python_interfac.html link
"
gurobipy
can be used with Python 2.7, 3.6, or 3.7 on Mac OS."So it doesn't appear that it works on windows . Ive been told this will be fixed in version 9
This is confirmed by the fact that pip3.7 install gurobipy does not work -
ERROR: Could not find a version that satisfies the requirement gurobipy (from versions: none)
ERROR: No matching distribution found for gurobipyWorks fine on python 3.6
0 -
Actually, Python 3.7 should already be supported with Gurobi 8.1.1. See here. (You have been on the Mac page, but there is an equivalent one for Windows.)
0 -
Thanks silke
but why does the pip install not work .
I have a brand new separate version of python 3.7 downloaded two days ago.
0 -
Gurobi does not yet offer pip install. (It's on the roadmap though.)
You can install it with Anaconda or via the pysetup program in the Gurobi <installdir>/bin directory.
0 -
OK the gurobi py version on pypi is an old one - 2013 like version 5 . This works with 3.6 but not with 3.7.
I see you recommend to install with Anaconda but i dont want to install anaconda.
So can i download a python wheel or egg of the appropriate files and run setup.py install. or maybe a tar.gz zip file
Do you have a link to those files anywhere
0 -
ok you just answered my question - its in the gurobi directory . many thanks
0
Please sign in to leave a comment.
Comments
7 comments