Decision Optimization

Decision Optimization

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

 View Only
  • 1.  CPLEX Limits on Academic Initiative Install

    Posted Wed February 28, 2018 02:37 PM

    Originally posted by: ashilgard


    Hi,

     
    I've installed the student version of CPLEX but am still getting the following error: CPLEX Error  1016: Promotional version. Problem size limits exceeded.
    Is there anything I can do to fix this?

    #CPLEXOptimizers
    #DecisionOptimization


  • 2.  Re: CPLEX Limits on Academic Initiative Install

    Posted Wed February 28, 2018 04:24 PM

    For the academic initiative, there should not be any limits on recent versions (to get the latest version see here). Which version are you using? Do you have multiple versions installed and perhaps the wrong one is in your PATH?

     


    #CPLEXOptimizers
    #DecisionOptimization


  • 3.  Re: CPLEX Limits on Academic Initiative Install

    Posted Wed February 28, 2018 04:34 PM

    Originally posted by: ashilgard


    no, i installed for the first time yesterday using the newest version and had this issue immediately


    #CPLEXOptimizers
    #DecisionOptimization


  • 4.  Re: CPLEX Limits on Academic Initiative Install

    Posted Wed February 28, 2018 04:50 PM

    What is the name of the installer file that you used? What do you see if you run the CPLEX interactive? For example, here's the welcome message you would typically see:

    $ ./cplex
    
    Welcome to IBM(R) ILOG(R) CPLEX(R) Interactive Optimizer 12.8.0.0
      with Simplex, Mixed Integer & Barrier Optimizers
    5725-A06 5725-A29 5724-Y48 5724-Y49 5724-Y54 5724-Y55 5655-Y21
    Copyright IBM Corp. 1988, 2017.  All Rights Reserved.
    
    Type 'help' for a list of available commands.
    Type 'help' followed by a command name for more
    information on commands.
    
    CPLEX>
    

    In case you're not familiar with the interactive, you would just type "quit" (without quotes) followed by Enter to exit.

     


    #CPLEXOptimizers
    #DecisionOptimization


  • 5.  Re: CPLEX Limits on Academic Initiative Install

    Posted Wed February 28, 2018 06:09 PM

    Originally posted by: ashilgard


    Hi, I can run the interactive, is there any way to use this to accept a python program? or to check if my version is size constrained? thanks


    #CPLEXOptimizers
    #DecisionOptimization


  • 6.  Re: CPLEX Limits on Academic Initiative Install

    Posted Wed February 28, 2018 08:12 PM

    If you don't see "Community Edition" in the welcome message for the interactive then you do indeed have the academic version installed. However, it sounds like you probably have the Community Edition version of the CPLEX Python API installed in your python environment; it should only be possible to get the error you mentioned above with the Community Edition. If you're using anaconda, for example, it's possible this was included by default. When you install CPLEX Optimization Studio, the CPLEX Python API is *not* installed automatically into your system python (or any python for that matter). You should be able to install your academic version over the top of the community edition, by following the documentation here.

     

    You are not giving us any details here so it's hard to be more specific (e.g., what operating system are you using? What version of Python are you using? What does the full traceback from your Python program look like?).


    #CPLEXOptimizers
    #DecisionOptimization


  • 7.  Re: CPLEX Limits on Academic Initiative Install

    Posted Thu March 01, 2018 12:11 PM

    Originally posted by: ashilgard


    Hi, thanks, the problem was exactly as above. I had used anaconda to install the python cplex package but was unaware there was an existing version of cplex that is installed with anaconda. When I uninstalled this package and reinstalled from the CPLEX folder setup.py it works. Thanks so much.


    #CPLEXOptimizers
    #DecisionOptimization