Decision Optimization

 View Only
  • 1.  problem with license file for ilog cplex (academic initiative)

    Posted Tue September 20, 2011 06:20 AM

    Originally posted by: SystemAdmin


    Hi,

    We have an access to the academic initiative version of ilog cplex. We downloaded all necessary files and made the setup. We downloaded the license key and followed all steps described in ILOG Quick Start Guide. In the downloading or installation processes, we did not change the default directories. We still have the following problem:

    Failed to initialize CPLEX environment
    CPLEX Error 32201: ILM error 16: license file not found or unreadable.

    What is the problem?

    Thanks in advance
    Ebru
    #CPLEXOptimizers
    #DecisionOptimization


  • 2.  Re: problem with license file for ilog cplex (academic initiative)

    Posted Tue September 20, 2011 06:28 AM

    Originally posted by: SystemAdmin


    What is your operating system?
    Did you set the environment variable ILOG_LICENSE_FILE to point to the license file? Did you check that the license file contains meaningful content?
    #CPLEXOptimizers
    #DecisionOptimization


  • 3.  Re: problem with license file for ilog cplex (academic initiative)

    Posted Mon September 26, 2011 10:22 AM

    Originally posted by: SystemAdmin


    Thanks for the answer.

    Operating system: The hard disk is divided into two parts, the operating system for one part is Mac and the other is Windows XP. We did download cplex to Windows XP part.

    >Did you set the environment variable ILOG_LICENSE_FILE to point to the license file?
    We did not change the default directory to which cplex is downloaded and installed. In such a case, do we still need to set the environmental variable?

    >Did you check that the license file contains meaningful content?
    We did copy to a text file what was sent from IBM as a license file. How can we check whether it does (or does not( contain meaningful content?

    Best regards
    Ebru
    #CPLEXOptimizers
    #DecisionOptimization


  • 4.  Re: problem with license file for ilog cplex (academic initiative)

    Posted Tue September 27, 2011 02:43 AM

    Originally posted by: SystemAdmin


    Yes, you still have to set the environment variable ILOG_LICENSE_FILE to point to the license file that you downloaded. You can test whether you set the variable correctly by opening the command prompt (DOS shell) and type
    echo %ILOG_LICENSE_FILE%
    type %ILOG_LICENSE_FILE%
    

    The first line should give you the location of the license file, the second line its content.
    #CPLEXOptimizers
    #DecisionOptimization


  • 5.  Re: problem with license file for ilog cplex (academic initiative)

    Posted Wed September 28, 2011 11:42 AM

    Originally posted by: SystemAdmin


    O.k. thanks, we will try it.

    Ebru
    #CPLEXOptimizers
    #DecisionOptimization


  • 6.  Re: problem with license file for ilog cplex (academic initiative)

    Posted Fri October 07, 2011 07:33 AM

    Originally posted by: SystemAdmin


    We solved our license problem. Because the source of the problem was quite unexpected to me, I wanted to share this issue. Apparently (we did not know it before), Windows adds the extension .txt to all files saved in notepad and that extension was hidden. To us, the name of the license file was access.ilm, but it was in fact access.ilm.txt. We could see this in Dos prompt.

    Thanks again
    Ebru
    #CPLEXOptimizers
    #DecisionOptimization


  • 7.  Re: problem with license file for ilog cplex (academic initiative)

    Posted Fri October 07, 2011 11:51 AM

    Originally posted by: SystemAdmin


    You should always disable this Windows feature. The main use for this feature is to hide malware. I guess everybody already received an email with an attachment like "interesting.doc.exe", and because Windows hides the known ".exe" extension you would double click the "interesting.doc" in the hope that Word pops up and shows the document. But instead, you have just installed the malware on your system...
    #CPLEXOptimizers
    #DecisionOptimization