about the use cplex for solving LP in matlab

2 visualizzazioni (ultimi 30 giorni)
yekdane  khattara
yekdane khattara il 21 Dic 2013
Commentato: yekdane khattara il 29 Gen 2014
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

Risposte (1)

Johan Löfberg
Johan Löfberg il 29 Gen 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 Commento
yekdane  khattara
yekdane khattara il 29 Gen 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

Accedi per commentare.

Categorie

Scopri di più su Get Started with MATLAB in Help Center e File Exchange

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by