about the use cplex for solving LP in matlab

Hello every one
I'm phd student and it's my first time using cplex for solving linear programming problem . So I installed it in my computer and I installed also the license file
After that I added the path where the ilogcplex is installed and I did the same way with the example and I checked it by , help cplex in matlab and the result good I had all the functions
But my problem is when i run an exemples i have this error
Undefined function or method 'cplexlink123' for input arguments of type 'Cplex' please can you tell me what is the problem located
thank you

Respuestas (1)

Johan Löfberg
Johan Löfberg el 29 de En. de 2014

0 votos

Late answer but anyway...
1. Why have you installed such an old version? 12.6 has been out for a long time now
2. This error typically occurs when people install a 32bit version of CPLEX on a 64bit system. To see what you should have, run the command mexext i MATLAB. If it says mexw64, you should install 64bit CPLEX, and mexw32 means you need 32bit version (Assuming you are on Windows)

1 comentario

yekdane  khattara
yekdane khattara el 29 de En. de 2014
thank you very much for the answer. and my problem was solved by installing a new version of matlab
did you solve before a linear program with matlab using the cplex labrery ?
thanks

Iniciar sesión para comentar.

Categorías

Más información sobre Get Started with MATLAB en Centro de ayuda y File Exchange.

Productos

Etiquetas

Preguntada:

el 21 de Dic. de 2013

Comentada:

el 29 de En. de 2014

Community Treasure Hunt

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

Start Hunting!

Translated by