Gurobi Optimizer 安装记录-9.1.1
最近需要使用 Gurobi Optimizer 这个商业优化器做一个项目;下面对安装Gurobi的过程进行简要记录:
- 需要注册Gurobi账号;最好使用学校邮箱;https://www.gurobi.com/academia/academic-program-and-licenses/
- 进行下载Gurobi Optimizer:https://packages.gurobi.com/9.1/gurobi9.1.1_linux64.tar.gz
- 下载README 文件;https://www.gurobi.com/wp-content/uploads/2020/12/README.txt
Your first step in using version 9.1.1 of the Gurobi Optimizer is to download the appropriate distribution for your platform: Gurobi-9.1.1-win64.msi: 64-bit Windows installer gurobi9.1.1_linux64.tar.gz: 64-bit Linux distribution gurobi9.1.1_mac64.pkg: 64-bit Mac OS distribution gurobi9.1.1_power64.tar.gz: 64-bit AIX distribution If you have installed a previous version of the Gurobi Optimizer, we recommend that you uninstall it before installing this version. For Windows and Mac users, you can simply double-click on the installer once you have downloaded it. It will guide you through the installation process. For Linux and AIX users, you will first need to choose an install location (we recommend /opt for a shared installation). You can then copy the Gurobi distribution to that location and do a 'tar xvfz gurobi9.1.1_linux64.tar.gz' (e.g.) to extract the Gurobi files. Please check our supported platform list (in the Release Notes or on our web site) to make sure that your operating system is supported. Once the Gurobi files have been installed, your next step is to consult the Release Notes and the Gurobi Quick Start guide. The Release Notes are accessible from the following locations: Windows: c:\gurobi911\win64\ReleaseNotes.html Linux: /opt/gurobi911/linux64/ReleaseNotes.html Mac: /Library/gurobi911/mac64/ReleaseNotes.html AIX: /opt/gurobi911/power64/ReleaseNotes.html The Quick Start Guide provides instructions for obtaining and installing your Gurobi Optimizer license. The Release Notes contain information about this release, as well as a link to the Quick Start Guide. If you already have a Gurobi Version 9 license (in file 'gurobi.lic'), and you would like to store it in the default location, you should copy the file to c:/gurobi911 on Windows, /opt/gurobi911 on Linux or AIX, or /Library/gurobi911 on Mac. Note that, due to limited Python support on AIX, our AIX port does not include the Interactive Shell or the Python interface. We also don't provide an R interface on AIX.
- 参考安装目录doc目录下的quickstart_linux.pdf文件,进行配置;
- 配置好anaconda运行环境:https://www.cnblogs.com/xuyaowen/p/python-anaconda-cheatsheet.html