Decision Optimization

Decision Optimization

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


#Analytics
#DecisionOptimization
#DecisionOptimization
 View Only
  • 1.  Error in Cplex.m Matlab Connector

    Posted 11/14/13 02:50 PM

    Originally posted by: hllsen


    Hi there,

    (Since I don't know how to submit a bug, I'm writing it here)

    In the Cplex connector for MATLAB  (CPLEXOptimizationStudio\cplex\matlab\x64_win64\@Cplex\Cplex.m) there are errors which causes errors in MATLAB whenever the "More Help" link of the tooltip (pop-up function helper) is clicked. Also, because of the same error, the "help" function of MATLAB cannot find the help files belonging to Cplex.methods (e.g., "help Cplex.addRows").

    Basically, the changes I made are as follows:

    • deleted some "   end%end of .... " which does not belong to any function at all.
    • added " methods "  declaration at line 247
    • added an 'end' to subsref(cpx, s) function definition.

    The resulting file is attached. I do hope it will be value to someone.

    Cheers,

    h.

    Edit: I get the following warning however "doc Cplex" ,"doc Cplex.addRows", "help Cplex" now properly works.
    Warning: P-file C:\Program Files\IBM\ILOG\CPLEX_Studio1251\cplex\matlab\x64_win64\@Cplex\Cplex.p is older than M-file
    C:\Program Files\IBM\ILOG\CPLEX_Studio1251\cplex\matlab\x64_win64\@Cplex\Cplex.m.
    C:\Program Files\IBM\ILOG\CPLEX_Studio1251\cplex\matlab\x64_win64\@Cplex\Cplex.p may be
    obsolete and may need to be regenerated.


    #CPLEXOptimizers
    #DecisionOptimization


  • 2.  Re: Error in Cplex.m Matlab Connector

    Posted 11/18/13 08:26 AM

    Thanks a lot for reporting this bug and providing a fix for it.

    There is no official channel for non-commercial customers to report bugs, so this Forum is the best way to do that. I have filed a bug report for this offending behavior.

    Thank you again!


    #CPLEXOptimizers
    #DecisionOptimization