安装和运行GLPK


14

我正在尝试做一些简单的线性编程问题,从我的经验来看,GLPK是一个很好的工具。

问题是,我完全不知道如何下载/安装/运行它!

任何帮助表示赞赏!

Answers:


9

搜索存储库以找到软件包:

sudo apt-cache search "glpk"

选择相关的软件包并使用以下命令安装它们:

sudo apt-get install package1 package2

对于OP:

sudo apt-get install glpk-utils libglpk-dev glpk-doc python-glpk

By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.