Java 线性编程工具/库
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/260442/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Linear Programming Tool/Libraries for Java
提问by dacracot
I'd like to set up a large linear programming model to solve an interesting problem. I would be most comfortable in Java. What tools/libraries are available?
我想建立一个大型线性规划模型来解决一个有趣的问题。我会在 Java 中最舒服。有哪些工具/库可用?
采纳答案by thoroughly
I used lp_solvewith success. It looks like there is a native Java API, but I've only used the text file interface. It supports the semi-standard MPS and LP file formats, which I found more convenient for trying out different solvers (such as glpsol).
我成功地使用了lp_solve。看起来有一个本地Java API,但我只使用了文本文件接口。它支持半标准的 MPS 和 LP 文件格式,我发现这对于尝试不同的求解器(例如glpsol)更方便。
回答by Zach Scrivena
回答by J?rg
Currently, google digs up this Java Linear Programming libs:
目前,谷歌挖掘了这个 Java 线性规划库: