Decision Optimization

Decision Optimization

Delivers prescriptive analytics capabilities and decision intelligence to improve decision-making.


#Analytics
#DecisionOptimization
#DecisionOptimization
 View Only

UnsatisfiedLinkError when using CPLEX (from Java) in Ubuntu 10.04 64 bit

  • 1.  UnsatisfiedLinkError when using CPLEX (from Java) in Ubuntu 10.04 64 bit

    Posted 06/02/10 10:17 AM

    Originally posted by: PrasadKK


    Hi,
    I get an UnsatisfiedLinkError from the native CPLEX API when I'm calling from Java. This happens only in a particular environment
    Ubuntu 10.04, with x64 Centos 5.3

    We are using CPLEX 9.0

    java.lang.UnsatisfiedLinkError: CPXRegisterLicense
    at ilog.cplex.Cplex.CPXRegisterLicense(Native Method)
    at ilog.cplex.CplexI.registerLicense(CplexI.java:3837)
    at ilog.cplex.IloCplex.registerLicense(IloCplex.java:14062)
    <snip/>

    The Cplex library is loaded correctly - as IloCplex is being called. From this page
    http://www-01.ibm.com/support/docview.wss?rs=4151&context=SS6QGS&context=SSBUUG&q1=supported+platforms&uid=swg27017341&loc=en_US&cs=utf-8&lang=en&S_CMP=rnav&S_CMP=rnav
    I see that Ubuntu is not listed as a supported platform for CPLEX. Is this error due to that?
    Are there any specific libraries that CPLEX tries to load that I requires special setting in the environment?

    Please help. Thanks in Advance
    • Prasad

    #CPLEXOptimizers
    #DecisionOptimization