Decision Optimization

Decision Optimization

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

 View Only
  • 1.  How to Use the cplex and docplex non community versions

    Posted Wed November 04, 2020 03:35 AM
    Hi,

    I have used a Bluedemo instance to check the functionality of docplex python scripts.
    If you go to default installed Cplex Optimization studio in the bluedemo instance and checked the below path
     
    Help -> About IBM ILOG Cplex Optimization Studio-> Build id is 0 (Normally if it is community edition it will show here as it is.)
    and version is 12.8

    Which means I can solve the problems with more than 1000 variables and constraints.I dd checked that sample OPL problems with more than 1000 variables solved correctly.

    My question is Imagine I wrote a sample docplex code which contains more than 1000 variables or constraints,

    I used pip install cplex and pip install docplex and then just importing to the model.(import docplex)

    It provides an error saying promotional edition cannot handle models with more than 1000 variables (cplex error 1016,problem size limits exceeded).

    How can I call the cplex engine in Bluedemo (Which has the capability of solving complex problems) and solve this python script.I think there is something wrong with my installation packages or configuring the paths or something.
    Can someone advise .Thanks for your support.

    Regards
    Suresh

    ------------------------------
    Suresh Abeyweera
    ------------------------------

    #DecisionOptimization


  • 2.  RE: How to Use the cplex and docplex non community versions

    Posted Wed November 04, 2020 12:12 PM
    Dear Suresh,

    You can purchase the non community edition of IBM ILOG CPLEX  Optimization Studio (COS) at https://www.ibm.com/products/ilog-cplex-optimization-studio. In particular, a development license available for 200$/mo might interest you.
    If you are a teacher/student, please have a look at https://community.ibm.com/community/user/datascience/blogs/xavier-nodet1/2020/07/09/cplex-free-for-students

    I hope this helps,

    Cheers,

    ------------------------------
    Renaud Dumeur
    ------------------------------



  • 3.  RE: How to Use the cplex and docplex non community versions

    Posted Wed November 04, 2020 09:54 PM
    Hi,
    I am not sure whether you have gone thorough my email content. Sorry if the problem heading have directed you to think on different angle of the problem.To be specific I have already non community edition in Bluedemos.I need to know how I can use that solver engine in solving through python.Is there any configuration to be done in order to use that engine when solving through docplex python.


    ------------------------------
    Suresh Abeyweera
    ------------------------------