模糊DL问题“java.library.path中没有GurobiJni45” [英] Fuzzy DL problem "no GurobiJni45 in java.library.path"

查看:364
本文介绍了模糊DL问题“java.library.path中没有GurobiJni45”的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我是模糊本体的新手,必须使用需要安装Gurobi 4.6.1程序的FuzzyDL。安装程序并设置学术许可证并正确设置环境后,我发现我能够运行Gurobi shell。当我运行模糊测试文件(检查给定的测试以查看程序中的所有内容都设置正确)时,我看到以下错误:



Hi,
I am new in fuzzy ontology and have to use FuzzyDL which required installing Gurobi 4.6.1 program. After I installed the program and set the academic license and set the environment correctly, I see I am able to run the Gurobi shell. When I run the Fuzzy test file (to check the given test to see everything in program are set correctly) I see the following error:

C:\FuzzyDL>java -cp gurobi.jar;FuzzyDL.jar fuzzydl.parser.Parser ./test2.txt
Exception in thread "main" java.lang.UnsatisfiedLinkError: no GurobiJni45 in java.library.path
        at java.lang.ClassLoader.loadLibrary(Unknown Source)
        at java.lang.Runtime.loadLibrary0(Unknown Source)
        at java.lang.System.loadLibrary(Unknown Source)
        at gurobi.GurobiJni.<clinit>(GurobiJni.java:164)
        at gurobi.GRBEnv.<init>(GRBEnv.java:15)
        at gurobi.GRBEnv.<init>(GRBEnv.java:11)
        at fuzzydl.milp.MILPHelper.solveGurobi(MILPHelper.java:600)
        at fuzzydl.milp.MILPHelper.optimize(MILPHelper.java:86)
        at fuzzydl.knowledgeBase.optimize(knowlegdeBase.java:4407)
        at fuzzydl.MinSubSumesQuery.solve(MinSubsumesQuery.java:52)
        at fuzzydl.parser.parser.main(parser.java:65)



我在两台不同的计算机上安装程序而我有同样的问题。我真的不知道我还能做些什么。我很感激任何建议!



非常感谢,

Farhad。


I install the programs in 2 different computers and I have the same problem. I really don’t know what else I can do. I would appreciate any advice on this!

Many Thanks,
Farhad.

推荐答案

此外,如果您使用的是仅支持Gurobi 4.5版本的fuzzyDL版本,则可能会出现问题。如果您安装了较新的版本,例如Gurobi 5.0,它也会导致此错误。



但是,这应该在2013年发布的新版本中得到解决。
Also, there might be an issue if you are using a version of fuzzyDL that only supports version 4.5 of Gurobi. If you have a newer version installed, for instance, Gurobi 5.0, it will also cause this error.

This should, however, be solved in the new version released in 2013.


这篇关于模糊DL问题“java.library.path中没有GurobiJni45”的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆