CPLEX/MATLAB compatibility

38 views (last 30 days)
FM
FM on 7 Jul 2022
Edited: FM on 8 Jul 2022
In past years, I have succeeded in calling CPLEX 12.9 from MATLAB 2019a (or maybe 2015a/b, it's been so long). I recently upgraded to Matlab 2022a. It crashes immediately upon calling CPLEX. I tried to determine version compatibility from https://www.ibm.com/software/reports/compatibility/clarity/softwarePrereqsMatrix.html. It doesn't matter whether I choose CPLEX 12.9 or 20.1. The possible versions of MATLAB that I can check only go as high as 2019b.
Does this mean that compatibility between CPLEX and MATLAB versions later than 2019b are unknown?
I noted that the above site has a notice that it is deprecated. Is there a more updated site?
  3 Comments
FM
FM on 8 Jul 2022
Edited: FM on 8 Jul 2022
Fortunately, I'm only at CPLEX 12.9. However, the above site shows compatibility only with R2015b through R2018b. That means I was lucky with my previous CPLEX (whose version I don't recall) and R2015a/b (the version I don't recall).
I suspect that absence of support in the above table doesn't necessarily mean it won't work, but it will be subject to crashes. Terrible.
FM
FM on 8 Jul 2022
Edited: FM on 8 Jul 2022
Very odd, but not out of line with my closing comment above. I just ran it again, but from a fresh instance of Matlab, and it didn't crash. I have some unreliable behaviour to look forward to. At least it works....

Sign in to comment.

Answers (0)

Categories

Find more on Startup and Shutdown in Help Center and File Exchange

Products


Release

R2022a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!