This post introduces how to install Gurobi and Python on Windows OS. It’s critical to finish the final assessment of the second course of Operations Research. These steps are easy, just need a little bit of patience.
Overview
Download Gurobi
You need to register a membership first. No worries, it is free.
Download Python
Now, you can see two installation files in your download folder.
Install Python
Double-click python-3.10.4-amd64.exe
Install Gurobi
Double-click Gurobi-10.0.1-win64.msi
Check Installation
Open your CMD
Type the following command, if you see the results. You’re done.
It’s okay not to enter the license key because we can use a free license to do this homework.
Install gurobipy
Type following command
pip install gurobipy==10.0.1
Test it by A simple example from the page.https://pypi.org/project/gurobipy/10.0.1/
If you can see this. All the setups are done, congratulations!