Decision Optimization

Decision Optimization

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

 View Only
  • 1.  CPLEX ERRORS

    Posted Wed February 07, 2024 10:41 AM

    Hi everyone.

    I have installed the "Community edition" ILOG CPLEX Optimization Studio. I try to use the cplex solver through Pulp Python's Library using PyCharm. The CPLEX solvers are available for use ['CPLEX_CMD', 'CPLEX_PY']. However I get an error regarding license and Problem size limits.  The issue is that I have a very small problem to solve. So do I need any license for the community edition? Bellow the respective log file:

    Checking license ...
    C:\Program Files\IBM\ILOG\CPLEX_Studio_Community2211\cplex\bin\x64_win64\cpxchecklic.exe: Exiting with code 1


    Child process exited with code 1 [0x1]
    No license found. [0.11 s]
    CPLEX Error 1016: Community Edition. Problem size limits exceeded. Purchase at http://ibm.biz/error1016.

    Error termination, CPLEX Error 1016.
    Solution time = 0.11 sec.
    Deterministic time = 0.00 ticks (0.00 ticks/sec)

    CPLEX Error 1217: No solution exists.
    No changes made.
    Checking license ...
    C:\Program Files\IBM\ILOG\CPLEX_Studio_Community2211\cplex\bin\x64_win64\cpxchecklic.exe: Exiting with code 1


    Child process exited with code 1 [0x1]
    No license found. [0.05 s]
    CPLEX Error 1016: Community Edition. Problem size limits exceeded. Purchase at http://ibm.biz/error1016.

    Error termination, CPLEX Error 1016.
    Solution time = 0.05 sec.
    Deterministic time = 0.00 ticks (0.00 ticks/sec)


    CPLEX Error 1217: No solution exists.
    No file written.



    ------------------------------
    Nikolaos Papadopoulos
    ------------------------------


  • 2.  RE: CPLEX ERRORS

    Posted Thu February 08, 2024 03:48 AM

    The Community Edition is limited to 1000 variables and 1000 constraints, so if you have a very small problem you should check the model formulation.



    ------------------------------
    Luc Cusiel
    ------------------------------