Originally posted by: SGrogan
So I am trying to use CPLEX with Python and Pycharm. I got the sample projects to work, but when it came to running a large lp, I get the error :
Default row names c1, c2 ... being created.
CPLEX Error 1016: Promotional version. Problem size limits exceeded.
Traceback (most recent call last):
File "C:/Users/seang/PycharmProjects/cplex_test/cplex_test.py", line 68, in <module>
main()
File "C:/Users/seang/PycharmProjects/cplex_test/cplex_test.py", line 23, in main
cpx.solve()
File "C:\Program Files\Python35\lib\site-packages\cplex\__init__.py", line 1110, in solve
_proc.lpopt(self._env._e, self._lp)
File "C:\Program Files\Python35\lib\site-packages\cplex\_internal\_procedural.py", line 687, in lpopt
check_status(env, status)
File "C:\Program Files\Python35\lib\site-packages\cplex\_internal\_procedural.py", line 303, in __call__
raise CplexSolverError(error_string, env, status)
cplex.exceptions.errors.CplexSolverError: CPLEX Error 1016: Promotional version. Problem size limits exceeded.
The error is obvious, but when I try to do the same lp in C++ api in VisualStudio and calling CPLEX in the command prompt and reading the LP, there is no error.
Does promotional version apply to python? am I calling something incorrectly?
Using CPLEX 12.8.0, Python 3.5.4 64 bit, and PyCharm 2018.1.2
Python 3.5.4 (v3.5.4:3f56838, Aug 8 2017, 02:17:05) [MSC v.1900 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license" for more information.
Welcome to IBM(R) ILOG(R) CPLEX(R) Interactive Optimizer 12.8.0.0 with Simplex, Mixed Integer & Barrier Optimizers
PyCharm 2018.1.2 (Professional Edition) Build #PY-181.4668.75, built on April 25, 2018
#CPLEXOptimizers#DecisionOptimization