Decision Optimization

Decision Optimization

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


#Analytics
#DecisionOptimization
#DecisionOptimization
 View Only
  • 1.  How to run Cplex Studio on mac?

    Posted 04/23/12 05:13 PM

    Originally posted by: BenjaminBiegel


    Hi

    I have installed CPLEX Studio on my MacBook Air and how have a folder CPLEX_Studio_AcademicResearch122.

    I want to use CPLEX in Matlab but somehow have to 'install' it so that it enters Matlab's path. There is a hint that I should look in the provided readme.html file but it only describes Windows/Unix setup. How should I do that on my mac?

    Thanks in advance :)
    Benjamin
    #CPLEXOptimizers
    #DecisionOptimization


  • 2.  Re: How to run Cplex Studio on mac?

    Posted 04/23/12 05:41 PM

    Originally posted by: Eumpfenbach


    Not a mac guy, but I believe you just navigate to the path CPLEX_Studio_AcademicResearch122\cplex\matlab\(your version).

    With this as your working directory, type test = Cplex() and see if it creates a cplex object.

    If this is not the case, the IBM guys will help you.
    #CPLEXOptimizers
    #DecisionOptimization


  • 3.  Re: How to run Cplex Studio on mac?

    Posted 04/23/12 06:36 PM

    Originally posted by: BenjaminBiegel


    Thanks a lot for your reply!

    In the folder

    Undefined function 'cplexlink122' for input arguments of type 'double' ILOG/CPLEX_Studio_AcademicResearch122/cplex/matlab there indeed are various m files. There is a folder called '@Cplex' that contains a Cplex.m file.

    If I type test = Cplex() as you suggested, I get an error
    Undefined function 'cplexlink122' for input arguments of type 'double'.

    What I really want is to use the Cplex solver for Yalmip. I tried adding the folder mentioned above to the Matlab path but still Yalmip is not able to find the solver.

    Any suggestions on that?

    Thanks again :)
    Benjamin
    #CPLEXOptimizers
    #DecisionOptimization