Azzera filtri
Azzera filtri

call cplex from matlab

36 visualizzazioni (ultimi 30 giorni)
Yasmin Tamimi
Yasmin Tamimi il 27 Apr 2011
How can I call cplex from matlab? And what versions of matlab and cplex should I have inorder to do so?

Risposta accettata

yekdane  khattara
yekdane khattara il 21 Dic 2013
Modificato: Walter Roberson il 28 Mag 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 Commenti
Del
Del il 3 Gen 2014
Modificato: Walter Roberson il 24 Dic 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 :)
Priya Ranganathan
Priya Ranganathan il 24 Dic 2017
Thank you!

Accedi per commentare.

Più risposte (1)

Khyathi Mishra
Khyathi Mishra il 4 Apr 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 Commento
Pavan chandra Mandava
Pavan chandra Mandava il 11 Lug 2021
Do you know which version of matlab is compatible with Cplex 12.10 Thhank you

Accedi per commentare.

Categorie

Scopri di più su Introduction to Installation and Licensing in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by