IBMDecisionOptimization / docplex-examples

These samples demonstrate how to use the DOcplex library to model and solve optimization problems.
https://ibmdecisionoptimization.github.io/
Apache License 2.0
392 stars 228 forks source link

DOcplexLimitsExceeded: **** Promotional version. Problem size limits exceeded, CPLEX code=1016 #11 #57

Closed HengChheang closed 2 years ago

HengChheang commented 3 years ago

@vlkong I have encountered the problem associated with the model limitations using the community edition. I have installed the latest version with the academic Initiative edition, however, I find it hard to find to install it in anaconda. Could you please provide a new and clear step for installing and using this edition, please? any help would be appreciated. Thank you.

vlkong commented 3 years ago

Hello @HengChheang

On what platform are you on ?

If you have the Community edition limitation in your conda environment, then it means that you previously installed the cplex package. You can first try to uninstall it using (in a terminal window setup with your conda environment):

pip uninstall cplex

Then you install the unlimited cplex python wrappers with (replace 3.8 with your actual python version and of course x64_win64 with your platform:

cd COS_DIR/cplex/python/3.8/x64_win64
pip install .

If for any reasons these command fails, please attach the full output including the command you used.

Best regards,

HengChheang commented 3 years ago

Dear vlkong, Thanks for the information. I will try to follow your comments and get back to this issue if there is no error while installing the academic version. Respectfully,