2024-10-06 12:29:57 发布
网友
当我试图使用Pulp在Jupyter笔记本上绘制线性规划方程时,我遇到了这个错误
Pulp
AttributeError: 'NoneType' object has no attribute 'actualSolve'
背景:
由于某些原因,使用easy_install安装纸浆时未安装默认解算器。我必须使用pip uninstall pulp卸载纸浆,然后使用pip install pulp重新安装 使用以下命令查看是否安装了任何解算器
pip uninstall pulp
pip install pulp
import pulp as pl solver_list = pl.listSolvers(onlyAvailable=True)
由于某些原因,使用easy_install安装纸浆时未安装默认解算器。我必须使用
pip uninstall pulp
卸载纸浆,然后使用pip install pulp
重新安装 使用以下命令查看是否安装了任何解算器相关问题 更多 >
编程相关推荐