Download Gurobi Academic Version via this link: https://portal.gurobi.com/iam/login/
If you do not have an account, please kindly register using your school email account.
If you successfully register yourself and enter the portal, go to “Downloads” then “Gurobi Software”.
You will be directed to this website https://www.gurobi.com/downloads/gurobi-software/ . See Gurobi Optimizer, then x64 Windows, then Installer. Click “Gurobi-12.0.1-win64.msi”.
Follow the instructions and install Gurobi using “Gurobi-12.0.1-win64.msi”.
NOTE: Remember the folder where you install it!!!
Then, go back to your Gurobi portal again. Go to “Licenses”, click “Request”, choose “Named-User Academic”. In order to successfully do this, you need to connect with the internet in the University (Based on my experience). Otherwise, you cannot get the license. If you successfully generate the license, then copy the license.
Go to your command prompt (go to windows button, write command prompt), copy your license and click enter.
Follow the instruction step by step, you will be guided to which folder you want to save your license. You may create a dedicated folder where you want to save your license. Then, finish the procedure.
Note: Remember where (the path) you save the license!!!!
Copy the license to the Gurobi folder (To the created folder in Number 4)
Gurobi should have been successfully installed. To check this, again, open a command prompt using the procedure in Number 6, write the following command and click enter:
gurobi_cl --version
You will see the version of installed gurobi if you successfully installed it.
Then, download microsoft visual studio (community) here.
https://visualstudio.microsoft.com/vs/community/
Go to this video for the installation: https://www.youtube.com/watch?v=7dXfMowQIfE
Lastly, to create a project which can use Gurobi library, please follow the following instruction:
https://support.gurobi.com/hc/en-us/articles/360013194392-How-do-I-configure-a-new-Gurobi-C-project-with-Microsoft-Visual-Studio