about the use cplex for solving LP in matlab

3 vues (au cours des 30 derniers jours)
yekdane  khattara
yekdane khattara le 21 Déc 2013
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

Réponses (1)

Johan Löfberg
Johan Löfberg le 29 Jan 2014
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 commentaire
yekdane  khattara
yekdane khattara le 29 Jan 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

Connectez-vous pour commenter.

Catégories

En savoir plus sur Introduction to Installation and Licensing dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by