gurobi下载
步骤1:下载gurobi
步骤2:添加License.lic
- license文件打开步骤见下面的方式

- 也可以直接打开文档 http://www.gurobi.cn/NewsView1.Asp?id=4,可以使用学校校园网和校园邮箱获取license.lic或者使用下面的方式获取,注意手写申请表中的个人签名并进行扫描不能直接Pdf不然个人签名没办法记录。

步骤3:激活license


步骤4:配置gurobi的环境


不使用powershell使用cmd也是可以的,再输入下面的代码块
Python setup.py install

然而,我出现了问题 The setup.py installation method has been removed, gurobipy should be installed using pip or conda. Please see https://support.gurobi.com/hc/en-us/articles/360044290292 for further information.,我的解决办法是在terminal终端下载gurobipyhttps://support.gurobi.com/hc/en-us/articles/360044290292-How-do-I-install-Gurobi-for-Python
Gurobi has updated its installation method, and you can no longer use setup.py for installation. Instead, you should use pip or conda to install the gurobipy package. Here are the steps you can follow to install Gurobi using these methods:
Using pip
-
Ensure you have Python and pip installed:
- You can check if Python is installed by running
python --versionorpython3 --version
- You can check if Python is installed by running

最低0.47元/天 解锁文章
1730

被折叠的 条评论
为什么被折叠?



