CPLEX 12.7.1 was released in April 2017, and I wouldn't expect it to work with MATLAB R2020a. Actually, not even the latest CPLEX release, 12.10, is supported on that MATLAB version, which was released after CPLEX. For details of what third-party software supported with CPLEX, please refer to
https://www.ibm.com/support/pages/node/324909.This being said, you can try CPLEX 12.10 with MATLAB R2020a and see what that gives. I would recommend, though, to first try the examples delivered with CPLEX. Their default location is
/Applications/CPLEX_Studio1210/cplex/examples/src/matlab
and you will find the documentation for the MATLAB connector (how to set it up -- this may be the issue you have, and description of the examples) at
https://www.ibm.com/support/knowledgecenter/SSSA5P_12.10.0/ilog.odms.cplex.help/CPLEX/MATLAB/topics/cplex_matlab_overview.html.------------------------------
Xavier
------------------------------
Original Message:
Sent: Thu June 11, 2020 03:58 PM
From: Raina Thomas
Subject: Matlab Tutorial unable to use CPLEX 12.7.1
I have been trying to use this phenomapping tutorial, which uses CPLEX optimization studio. The tutorial was originally run with CPLEX Optimization studio 12.7.1, so I have been trying to use that version ( I previously tried to run with with the 12.10 version, and while the script did run, the solver failed to return any solutions which I did not understand). The tutorial asks me to paste the path to the CPLEX solver, however when I run the tutorial script, I get this error.
------------------------------
Raina Thomas
------------------------------
#DecisionOptimization