Decision Optimization

Decision Optimization

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

 View Only
Expand all | Collapse all

Undefined function 'cplexlink122' for input arguments of type 'double'

  • 1.  Undefined function 'cplexlink122' for input arguments of type 'double'

    Posted Sat December 18, 2010 05:27 PM

    Originally posted by: SystemAdmin


    Hi,I am using Matlab 2010b and when I use CPlex in the Matlab, it reports:
    >> x = cplexlp(c,A,b)
    ??? Error using ==> cplexlp at 148
    Undefined function or method 'cplexlink122' for input arguments
    of type 'double'.

    I already "addpath C:\ILOG\CPLEX_Studio_Preview122\cplex\matlab\x86_win32" and my windows7 is 64-bit and also my Matlab 2010b is also 64-bit version.
    Dose anybody can help me out?
    Thank you.
    #CPLEXOptimizers
    #DecisionOptimization


  • 2.  Re: Undefined function 'cplexlink122' for input arguments of type 'double'

    Posted Sun December 19, 2010 09:12 AM

    Originally posted by: John Cui


    Could you please run "which cplexlink122" in your MATLAB command line, and tell me the result, I doubt your matlab cannot find it.

    John Cui
    #CPLEXOptimizers
    #DecisionOptimization


  • 3.  Re: Undefined function 'cplexlink122' for input arguments of type 'double'

    Posted Mon December 20, 2010 11:29 AM

    Originally posted by: SystemAdmin


    I used wrong version. My Matlab is 64-bit so I should use 64-bit of CPlex.
    #CPLEXOptimizers
    #DecisionOptimization