Decision Optimization

Decision Optimization

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


#Analytics
#DecisionOptimization
#DecisionOptimization
 View Only
  • 1.  interfacing cplex and matlab

    Posted 02/26/12 06:08 PM

    Originally posted by: josh7


    Hello,
    I'd like to interface CPLEX 12 with matlab 7.9 (r2009b) on a mac. The help documentation on says to add the 'matlab' subdirectory within the cplex directories to the matlab path. After having done this, when I try to run cplexlp.m in matlab, I get the error

    ??? Error using ==> cplexlp at 148
    Attempt to add "cplexlink122" to a static
    workspace.
    See MATLAB Programming, Restrictions on
    Assigning to Variables for details.

    I think I'm missing some basic part of the installation procedure, but I can't seem to find it anywhere in the cplex help file. Thanks in advance.
    Josh
    #CPLEXOptimizers
    #DecisionOptimization


  • 2.  Re: interfacing cplex and matlab

    Posted 02/26/12 09:13 PM

    Originally posted by: John Cui


    First of all,
    could you please tell us which version cplex are you using? cplex 12.1? cplex12.2? cplex12.3? cplex12.4?
    And also, you are using 64bits mac? or 32 bits mac?

    John Cui
    #CPLEXOptimizers
    #DecisionOptimization


  • 3.  Re: interfacing cplex and matlab

    Posted 02/27/12 12:33 AM

    Originally posted by: josh7


    Oops - it's cplex 12.2, and it's a 64bit mac. Thanks,
    Josh
    #CPLEXOptimizers
    #DecisionOptimization


  • 4.  Re: interfacing cplex and matlab

    Posted 02/27/12 12:35 AM

    Originally posted by: John Cui


    Then this is the issue, we support 64bits mac from cplex 12.3.

    So could you please upgrade to cplex 12.3 or cplex 12.4.

    John Cui
    #CPLEXOptimizers
    #DecisionOptimization