about the use cplex for solving LP in matlab

조회 수: 3 (최근 30일)
yekdane  khattara
yekdane khattara 2013년 12월 21일
댓글: yekdane khattara 2014년 1월 29일
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

답변 (1개)

Johan Löfberg
Johan Löfberg 2014년 1월 29일
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
yekdane  khattara
yekdane khattara 2014년 1월 29일
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

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Get Started with MATLAB에 대해 자세히 알아보기

태그

제품

Community Treasure Hunt

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

Start Hunting!

Translated by