Search code examples
optimizationmathematical-optimizationcplexdocplex

What are the limits of docplex (the cplex version of python) in terms of the number of variables and constraints?


I am solving an optimization problem in python using docplex(not docplex cloud API) with only 2 constraints and 92 variables (dvar in OPL). But even though I get this error:

docplex.mp.utils.DOcplexLimitsExceeded: **** Promotional version. Problem size limits exceeded, CPLEX code=1016

I would like to know if there is a student version for docplex, I was unable to find this information on the IBM website because as I understand there is a paid version for docplex cloud and not for docplex, and there is a student and paid version for IBM CPLEX ILOG Studio. What about docplex, is there any student version I can use?

Thank you in advance.

Regards.

EDIT: My problem got finally solved using Mr. @AlexFleischer answer(Thank you). Just a quick note for next students who want to use the IBM CPLEX ILOG Studio you will get this message:

Error

Your eligibility to order the following items is under review. You will be notified of your eligibility by email. Please retry your order at that time. IBM ILOG CPLEX Optimization Studio v12.8 - Student (CJ2IKML) - Download

It's actually not an "Error" as mentioned, it's a standard process where your institution is going to be checked by IBM to see if it's an eligible institution (it was an actual answer from an IBM employee). This process took two days for me in order to be able to download the student version. Also to install cplex and docplex don't use:

pip install cplex (or docplex)

instead use

python setup.py install

Regards


Solution

  • At https://community.ibm.com/community/user/datascience/blogs/xavier-nodet1/2020/07/09/cplex-free-for-students you'll get a free CPLEX for students. And inside you have all the APIs hence the docplex API.