call cplex from matlab
13 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Yasmin Tamimi
le 27 Avr 2011
Commenté : Pavan chandra Mandava
le 11 Juil 2021
How can I call cplex from matlab? And what versions of matlab and cplex should I have inorder to do so?
0 commentaires
Réponse acceptée
yekdane khattara
le 21 Déc 2013
Modifié(e) : Walter Roberson
le 28 Mai 2018
add the path who you are installed cplex
>> addpath ('C:\Program Files\IBM\ILOG\CPLEX_Studio_Academic123\cplex\matlab\x64_win64')
and save the path
>>savepath
and same way for running the examples
>>addpath ('C:\Program Files\IBM\ILOG\CPLEX_Studio_Academic123\cplex\examples\src\matlab')
>>savepath
3 commentaires
Del
le 3 Jan 2014
Modifié(e) : Walter Roberson
le 24 Déc 2017
Never mind! I used
>>addpath(' C:\Program Files\IBM\ILOG\CPLEX_Studio126\cplex\matlab\x64_win64')
instead of
>>addpath C:\Program Files\IBM\ILOG\CPLEX_Studio126\cplex\matlab\x64_win64
and everything worked perfectly fine :)
Plus de réponses (1)
Khyathi Mishra
le 4 Avr 2021
You must have IBM CPLEX OPTIMIZATION STUDIO 12.10 version
the versions released after that doesnt have files related to interfacing matlab with cplex.
1 commentaire
Pavan chandra Mandava
le 11 Juil 2021
Do you know which version of matlab is compatible with Cplex 12.10 Thhank you
Voir également
Catégories
En savoir plus sur Get Started with MATLAB dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!