Python does not identify the academic version of CPLEX.
I am using Linux, Ubuntu. I have Python 3.6. I installed CPLEX studio 12.9 (academic version installed via the file cplex_studio129.linux-x86-64.bin
that I downloaded from ibm.biz/CPLEXonAI
) installed at \opt
directory.
I also installed the file setup.py
that is available in /opt/ibm/ILOG/CPLEX_Studio129/cplex/python/3.7/x86-64_linux
, using the terminal.
With all those, when I run my code in PyCharm, or in Terminal, I get: CPLEX Error 1016: Community Edition. Problem size limits exceeded. Purchase at https://ibm.co/2s0wqSa.
I found some similar questions, with helps suggesting to do correct the PYTHONPATH
, but I could not understand what to do actually.