开发者

Java - LP solvers dynamic link error

I am having problems with linear progra开发者_如何学Pythonmming solvers on a project I am working on. Firstly I tried using Ajanta, but this won't solve the class of problems I needed to solve. So I tried GLPK and lp_solve, but It seems I can't make Windows understand where the dynamic libraries are.

I put the stub (the .dll that links the code with java) and the actual code of the libraries (it seems usual that they come separated) on C:\Windows\System32 and I checked the following:

- The path variable is correctly set for searching on this directory.

- I correctly linked the java library with my program.

- I checked the dependencies with Dependency Walker and this program finds everything. (http://www.dependencywalker.com/)

I am working on Windows 7 with JRE/JDK 6 update 26. I am coding on Eclipse, also.

What I am doing wrong?


I am currently coding with Apache Commons. The package Math includes a Simplex solver class, which I reccomend. I leave this here for people who may find it useful.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜