Decision Optimization

 View Only
Expand all | Collapse all

CPLEX MATLAB installation issue

  • 1.  CPLEX MATLAB installation issue

    Posted Tue January 19, 2021 03:23 AM

    I'm a student currently looking to use the IBM CPLEX solver within MATLAB. I downloaded CPLEX from the IBM website using my student account.

    I'm currently having issues with setting up the CPLEX Matlab connector. Matlab currently tells me that CPLEX is not installed or the license server is down when I run commands using CPLEX.

    The general online instructions are to add the connecter by using the command in Matlab:

    addpath('<CPLEX_Optimization_Studio>/cplex/matlab/')

    However, when installed, there wasn't a folder entitled 'matlab' within the cplex folder, and so it can't be added to the MATLAB path.

    I'm not sure if there's an issue with the version of CPLEX that I installed, or if this is a common error that can occur during installation.

    Please let me know if there's a step I can take to fix this issue!






    #DecisionOptimization
    #Support
    #SupportMigration


  • 2.  RE: CPLEX MATLAB installation issue

    Posted Fri February 19, 2021 09:35 PM

    To use CPLEX with MATLAB, you need be on IBM ILOG CPLEX Optimization Studio version 12.10 or below. The support for MATLAB was dropped in the latest version. Here is a link to the detailed system requirements for CPLEX with MATLAB:

    https://www.ibm.com/software/reports/compatibility/clarity-reports/report/html/softwareReqsForProduct?deliverableId=BE7489907D6811E9BFD5252BC35BF06E&osPlatform=Windows

    If you need further discussion, please open a case if you are entitled. Otherwise, please discuss your question in Data Science Community https://community.ibm.com/community/user/datascience/communities/community-home/digestviewer?communitykey=ab7de0fd-6f43-47a9-8261-33578a231bb7&tab=digestviewer






    #DecisionOptimization
    #Support
    #SupportMigration