Hi,
it is very unfortunate that IBM have decided not to release a matlab interface to CPLEX
20.1.0.0. Many existing projects relied on the matlab interface to cplex and such a big change could have been communicated more clearly and with more advance notice so an alternative could be prepared.
Regarding your suggested alternatives, I have some comments and questions...
- keep using CPLEX 12.10
- Will this work with renewal of (academic) licenses? e.g. If a person renews an optimisation studio licence, can they elect to download CPLEX 12.10 and keep using that? For how long?
- call OPL from Matlab :
https://github.com/AlexFleischerParis/howtowithopl/blob/master/callfrommatlab.M
https://github.com/mjbays/MATLAB-OPL-Interface
With a matlab-OPL-cplex interface, is there any way to avoid writing and reading flat files? There would be a major performance drop if not.
With a matlab-MPS-cplex interface, is there any way to avoid writing and reading flat files?
Tomlab's matlab interface is excellent, however there do not seem to be free academic licenses for it that last longer than a few weeks.
- use the MATLAB connector from CPLEX 12.10 and export the mps file with
Again, same limitation of MPS as above?
People who use matlab are going to increasingly move toward gurobi and other solvers that continue to develop their matlab interfaces.
If IBM are not willing to maintain the matlab interface to CPLEX, why not make it one of your open source projects and facilitate the community to maintain it?
https://www.ibm.com/opensource/Regards,
Ronan
------------------------------
Ronan Fleming
------------------------------
Original Message:
Sent: Tue December 29, 2020 02:56 AM
From: ALEX FLEISCHER
Subject: No MATLAB Interface for 20.1?
Hi
Is it correct that there is no MATLAB interface for 20.1.0.0?
==> Yes
If so, are there any plans to add it at a later date, or is 12.10 the end of the line for MATLAB interface for CPLEX?
==> Do not hesitate to log a wish in Aha to have this back : https://ibm-data-and-ai.ideas.aha.io/?project=CPLEX
(Database connectivity in OPL was removed in CPLEX 12.7 and is back in 20.1 thanks to many Aha votes)
In the meantime, many options:
- keep using CPLEX 12.10
- call OPL from Matlab :
https://github.com/AlexFleischerParis/howtowithopl/blob/master/callfrommatlab.M
https://github.com/mjbays/MATLAB-OPL-Interface
Or you can also
- use the MATLAB connector from CPLEX 12.10 and export the mps file with
The parameter ExportModel (or exportmodel) takes a file name as an argument.
The default is the empty string (""). For example, opt =
cplexoptimset('exportmodel', 'myModel.lp'); can be used to set the name of
the exported model.
then call CPLEX from Matlab through a command line call
regards
------------------------------
[Alex] [Fleischer]
[EMEA CPLEX Optimization Technical Sales]
[IBM]
Original Message:
Sent: Sat December 26, 2020 01:13 PM
From: Mark Stone
Subject: No MATLAB Interface for 20.1?
I don't see MATLAB listed under
Detailed System Requirements
Prerequisitises --> Development Tools
Is it correct that there is no MATLAB interface for 20.1.0.0? If so, are there any plans to add it at a later date, or is 12.10 the end of the line for MATLAB interface for CPLEX?
------------------------------
Mark Stone
------------------------------
#DecisionOptimization