Dear AMPL users,
my question is not directly realted with AMPL, I am using Java to access CPLEX optimizers. Recently, we switched from CPLEX 9.1 to 11.0, and the fprograms working just fine with CPLEX 9.1 started to give this error:
java.lang.UnsatisfiedLinkError: no cplex110 in java.library.path
java.library.path must point to the directory containing the CPLEX shared library
try invoking java with java -Djava.library.path=...
Exception in thread "main" java.lang.UnsatisfiedLinkError: CPXopenCPLEX
at ilog.cplex.Cplex.CPXopenCPLEX(Native Method)
at ilog.cplex.CplexI.init(CplexI.java:5094)
at ilog.cplex.CplexI.<init>(CplexI.java:512)
at ilog.cplex.IloCplex.<init>(IloCplex.java:8403)
at main.main(main.java:17)
any idea what may cause this?
Haluk
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "AMPL Modeling Language" group.
To post to this group, send email to
ampl@... To unsubscribe from this group, send email to
ampl-unsubscribe@... For more options, visit this group at http://groups.google.com/group/ampl?hl=en
-~----------~----~----~----~------~----~------~--~---