Decision Optimization

Decision Optimization

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


#Analytics
#DecisionOptimization
#DecisionOptimization
 View Only
  • 1.  Shared library (dylib) on OS X

    Posted 10/22/13 09:40 PM

    Originally posted by: mlubin


    Hello,

    We've been working on a CPLEX interface for the Julia programming language, and have run into an issue on OS X. Julia can interface with dynamically compiled C callable libraries. On linux distributions, a dynamic library (libcplex125.so) is provided in the binaries directory; however, we're unable to find a corresponding dynamic library (dylib file) in the OS X distribution. Is one available? Is it in a different location?

     

    Thanks,

    Miles


    #CPLEXOptimizers
    #DecisionOptimization


  • 2.  Re: Shared library (dylib) on OS X

    Posted 10/24/13 06:29 AM

    Linking applications with libcplex125.so (instead of libcplex.a) is at the moment not officially supported. It should work but is just not officially supported. The only officially supported usage of that shared object is from the CPLEX Java connector. That is the reason why on MacOS there is no libcplex125.dylib. Instead there is only libcplex125.jnilib.
    What you can do is to create a symbolic link or (copy) called "libcplex125.dylib" and let that point to "libcplex125.jnilib". That should do the trick (but is still not officially supported).

    Another option is of course to just create your own .dylib from libcplex.a.


    #CPLEXOptimizers
    #DecisionOptimization


  • 3.  Re: Shared library (dylib) on OS X