IBM Cplex installation, problem with License
 | | |
|
TOPIC: IBM Cplex installation, problem with License
|
|
IBM Cplex installation, problem with License 1 Year, 7 Months ago
|
Karma: 0
|
|
I have installed IBM CPLEX for my research work.
I followed the procedure as described on the IBM portal.
I set the ILOG_LICENSE_FILE path to point to my license file 'access.ilm'.
I run the command 'cplex' from ../ILOG/CPLEX_Studio_AcademicResearch122/cplex/bin/ and get the cplex prompt. So I guess the license is accepted. Also I made the license file have suitable permissions.
I added the ../ILOG/CPLEX_Studio_AcademicResearch122/cplex/matlab folder to my MATLAB path and get the toolbox in the Toolboxes list.
In the matlab command window I also get the help content when I type 'help cplexlp'.
From the folder ../ILOG/CPLEX_Studio_AcademicResearch122/cplex/examples/x86-64_sles10_4.1/static_pic I type './lpex1 -r' and get some stats on the terminal.
So I presume my installation is correct.
But when I try executing a simple Matlab program from the matlab terminal I get an error '??? Error using ==> Cplex.Cplex at 353
CPLEX Error 32201: ILM Error 16: CPLEX: license file not found or unreadable.'
Obviously something is not correct with the setup and I cannot run my program. Can you suggest me what has to be done to rectify this ?
when I do yalmiptest
| sdpvar/set methods| N/A| No problems detected (YALMIP)|
| LP| N/A| Unknown problem in solver (try using 'debug'-flag in sdpsettings) (Error using ==> cplexlp at 148
CPLEX Error 32201: ILM Error 16: CPLEX: license file not found or unreadable.
)|
| LP| N/A| Unknown problem in solver (try using 'debug'-flag in sdpsettings) (Error using ==> cplexlp at 148
CPLEX Error 32201: ILM Error 16: CPLEX: license file not found or unreadable.
)|
| QP| N/A| Unknown problem in solver (try using 'debug'-flag in sdpsettings) (Error using ==> cplexqp at 150
CPLEX Error 32201: ILM Error 16: CPLEX: license file not found or unreadable.
)|
| QP| N/A| Unknown problem in solver (try using 'debug'-flag in sdpsettings) (Error using ==> cplexqp at 150
CPLEX Error 32201: ILM Error 16: CPLEX: license file not found or unreadable.
)|
| SOCP| N/A| Unknown problem in solver (try using 'debug'-flag in sdpsettings) (Error using ==> cplexqcp at 540
CPLEX Error 32201: ILM Error 16: CPLEX: license file not found or unreadable.
)|
| SOCP| N/A| Unknown problem in solver (try using 'debug'-flag in sdpsettings) (Error using ==> cplexqcp at 540
CPLEX Error 32201: ILM Error 16: CPLEX: license file not found or unreadable.
)|
| SOCP| N/A| Unknown problem in solver (try using 'debug'-flag in sdpsettings) (Error using ==> cplexqcp at 540
CPLEX Error 32201: ILM Error 16: CPLEX: license file not found or unreadable.
)|
Thanks and Regards,
Peter
|
|
|
|
|
|
|
Re: IBM Cplex installation, problem with License 1 Year, 7 Months ago
|
Karma: 32
|
|
Well, clearly not YALMIP related, so test some simple problem without YALMIP, and talk with the support guys from ILOG. Wrong license file, license file corrupt, installing 64bit version on mac 64 bit which runs 32bit matlab,...
|
|
lofberg
Platinum Boarder
Posts: 2280
|
|
|
|
|
Re: IBM Cplex installation, problem with License 1 Year, 7 Months ago
|
Karma: 0
|
|
Thank you very much.
You were correct, I guess the problem was with the license file I used. May be it was corrupted. Not sure though. I downloaded the license file again and it worked.
Thanks and Regards,
Peter.
|
|
|
|
|
|
|
Re: IBM Cplex installation, problem with License 1 Year, 7 Months ago
|
Karma: 32
|
|
Good to hear. I was going to reply that it maybe is related to the fact that your output above displays 12.2, whereas the latest version of cplex is 12.3 (make sure you run 12.3, it has some crucial fixes, and if you run 12.3, make sure you run the latest release of YALMIP if you use that)
|
|
lofberg
Platinum Boarder
Posts: 2280
|
|
|
|
|
Re: IBM Cplex installation, problem with License 1 Year, 7 Months ago
|
Karma: 0
|
|
Thanks for the reply.
I shall certainly upgrade now.
Thanks and Regards,
Peter.
|
|
|
|
|
|
|
 | | |
|