Clear Filters
Clear Filters

about the use cplex for solving LP in matlab

3 views (last 30 days)
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

Answers (1)

Johan Löfberg
Johan Löfberg on 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 Comment
yekdane  khattara
yekdane khattara on 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

Sign in to comment.

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!