Good linear programming library for C#? [closed]

亡梦爱人 提交于 2019-12-29 08:36:31

问题


I'm looking for a linear programming solver for C#. In the other words I'm looking for a library for C# that solves linear programming problems.

I need an easy to use library (so I can learn how to use it quickly), but it would be nice if it supported some features as automatic absolute values conversion (so I don't have to program the conversion myself). It is important that the library should be for free (not necessarily open source).

Good documentation is huge advantage for me. 10%-20% worse performance is not critical for my project.

Thanks for your answers


回答1:


Math.NET

Read C# linear algebra library

EDIT: Check out http://en.wikipedia.org/wiki/Linear_programming#Solvers_and_scripting_.28programming.29_languages

This one might be what your looking for though. Says it works with .Net
http://lpsolve.sourceforge.net/5.5/




回答2:


You can use WNLIB, but it's plain C so you have to wrap it in a DLL library and then use it with C#.



来源:https://stackoverflow.com/questions/3363143/good-linear-programming-library-for-c

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!