Borrar filtros
Borrar filtros

call cplex from matlab

36 visualizaciones (últimos 30 días)
Yasmin Tamimi
Yasmin Tamimi el 27 de Abr. de 2011
Comentada: Pavan chandra Mandava el 11 de Jul. de 2021
How can I call cplex from matlab? And what versions of matlab and cplex should I have inorder to do so?

Respuesta aceptada

yekdane  khattara
yekdane khattara el 21 de Dic. de 2013
Editada: Walter Roberson el 28 de Mayo de 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 comentarios
Del
Del el 3 de En. de 2014
Editada: Walter Roberson el 24 de Dic. de 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 el 24 de Dic. de 2017
Thank you!

Iniciar sesión para comentar.

Más respuestas (1)

Khyathi Mishra
Khyathi Mishra el 4 de Abr. de 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 comentario
Pavan chandra Mandava
Pavan chandra Mandava el 11 de Jul. de 2021
Do you know which version of matlab is compatible with Cplex 12.10 Thhank you

Iniciar sesión para comentar.

Categorías

Más información sobre Introduction to Installation and Licensing en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by