Gurobi: Difference between revisions

Jump to navigation Jump to search
95 bytes added ,  5 months ago
m
no edit summary
mNo edit summary
mNo edit summary
Line 153: Line 153:
  python3.11
  python3.11


=== HowTo Install Gurobi for Python ===
=== How To Install Gurobi for Python ===


As explained at the bottom of [[https://support.gurobi.com/hc/en-us/articles/360044290292-How-do-I-install-Gurobi-for-Python|How-do-I-install-Gurobi-for-Python]] the previous recommended approach for installing gurobi for python with setup.py has been deprecated as of version Gurobi 11.  For continuity a modified version of the instruction (usable under StdEnv/2023) is provided in the following section for Gurobi 10 and older.  Following this a new section is provided showing how to install gurobi for python from a wheel for version Gurobi 11 and greater.
As mentioned near the bottom of this official document [[support.gurobi.com/hc/en-us/articles/360044290292-How-do-I-install-Gurobi-for-Python|How-do-I-install-Gurobi-for-Python]] the previously recommended method for installing Gurobi for Python with <code>setup.py</code> has been deprecated to be only usable with Gurobi 10 versions (and older)Therefore a new section has been added below which shows howto simultaneously download a compatible binary wheel from [[pypi.org/project/gurobipy|pypi.org]] and simultaneously convert it into a format usable with a newly recommended command to install Gurobi for Python with Gurobi 11 versions (and newer).


=== Gurobi Versions 10.0.3 (and older) === <!--T:10-->
=== Gurobi Versions 10.0.3 (and older) === <!--T:10-->
cc_staff
1,857

edits

Navigation menu