Decision Optimization

Decision Optimization

Delivers prescriptive analytics capabilities and decision intelligence to improve decision-making.


#Analytics
#DecisionOptimization
#DecisionOptimization
 View Only
  • 1.  Install problem od CPLEX 12.2

    Posted 08/16/10 03:06 AM

    Originally posted by: DouglasC


    Hi

    I have just installed CPLEX 12.2 under the academic license initiative. I have also copied the license key to the default directory (i.e. C:/ILOG/ILM).

    All runs okay - but I have two (possibly related) problems.

    1) When I say it runs okay, this is when running it from the Adminstrator user (I am using XP) where the software was installed from. When I log into a non-admin user, CPLLEX does not appear in the list of programs (e.g. Start->All Programs etc.). I can run it by navigating to the relevant directory (C:\ILOG\CPLEX_Studio_AcademicResearch122\opl\oplide) and double clicking on oplide.exe. This does start the IDE.

    2) When I run from the non-admin user, the models will not run, saying "no access key found for this project". This, I think, is saying it cannot access the access.ilm file as I did not have the same problem (in the admion user) when I first installed but I solved it by creating the lecense key.

    So, two (possibly related) questions.

    1) When installed, why is not CPLEX available to all users via the Start menu?

    2) Why is my access key not being recognised?

    Thanks for any help.

    G
    #CPLEXOptimizers
    #DecisionOptimization


  • 2.  Re: Install problem od CPLEX 12.2

    Posted 08/16/10 11:06 AM

    Originally posted by: SystemAdmin


    > DouglasC wrote:
    >
    > 1) When installed, why is not CPLEX available to all users via the Start menu?

    Probably because it was installed from the admin account. If you expand C:\Documents and Settings, you'll see subtrees for "All Users", the admin account, your account and any other accounts. Although the software installs in C:\Program Files, the menu links are installed in one of those trees according to (a) which account was used to install the software and (b) whether or not the installer gives you the option to select "All Users" or "just me" (some installers do, some don't).
    >
    > 2) Why is my access key not being recognised?

    I haven't run the 12.2 academic installer on Windows (yet -- it's on my to-do list), but my first guess would be that it sets an environment variable that shows the path to the access.ilm file. Like Docs and Settings, environment variables are divided into one group for all users and one group for just the current account. If the installer does set the path to access.ilm in an environment variable, it may be set for just the admin account.

    To get CPLEX in the start menu for your account, just expand Documents and Settings, look for the CPLEX folder under the Start Menu folder under the admin account, and either move it to the corresponding location under "All Users" or, if you don't want everyone else getting it, copy the CPLEX folder and put the copy in the corresponding location under your account.

    As far as the path to access.ilm goes. log in on the admin account, open a DOS prompt and type 'set' (enter). It should list all your environment variables. Look for one that has the path to access.ilm. If you find it, right-click My Computer, and click Properties, Advanced, Environment Variables (sequence approximate, as I'm on a Linux box at the moment). You should have two panes, one with environment variables everyone gets and one with environment variables specific to the logged in account. If the path to access.ilm is set in the lower (account-specific) pane, copy the setting and add it to the upper (all users) pane, after which you can delete it from the lower pane. Then Ok your way back to civilization, log in as you, and see if it's fixed.

    /Paul

    Mathematicians are like Frenchmen: whenever you say something to them, they translate it into their own language, and at once it is something entirely different. (Goethe)
    #CPLEXOptimizers
    #DecisionOptimization