Decision Optimization

Decision Optimization

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


#Analytics
#DecisionOptimization
#DecisionOptimization
 View Only
  • 1.  Python/docplex models running on CPLEX Enterprise Server

    Posted 11/08/17 03:46 PM

    Originally posted by: Kevin Pauli


    We have CPLEX Enterprise Server running on premises, to which we are able to submit OPL jobs.  However we also need to be able to submit models implemented in Python with docplex.  Has anyone done this?


    #CPLEXOptimizers
    #DecisionOptimization


  • 2.  Re: Python/docplex models running on CPLEX Enterprise Server

    Posted 11/09/17 03:15 AM

    Hi,

    CPLEX Enterprise Server only runs OPL jobs

    But you could log a Request For Enhancement:

    http://www-01.ibm.com/support/docview.wss?uid=swg21659629

    If you need to run your docplex models behind the firewall you could have a look at DSX local :

    https://datascience.ibm.com/blog/introducing-ibm-data-science-experience-local/

    https://datascience.ibm.com/docs/content/DO/UpgradingDO.html

    regards


    #CPLEXOptimizers
    #DecisionOptimization


  • 3.  Re: Python/docplex models running on CPLEX Enterprise Server

    Posted 11/09/17 10:27 AM

    Originally posted by: Kevin Pauli


    Thanks.  Reading about DSX local I see it says:

    "DSX Local and Desktop users have access to the Community Edition of the CPLEX engines. This makes it possible to solve problems with up to 1000 constraints and 1000 variables, or with a search space of 1000 X 1000 for constraint programming problems."

     

    However, we would want to be able to solve larger problems, on prem, using Python/docplex.


    #CPLEXOptimizers
    #DecisionOptimization


  • 4.  Re: Python/docplex models running on CPLEX Enterprise Server

    Posted 11/09/17 10:36 AM

    Right and for that you may read:

    DSX Local ships with its own Decision Optimization private cloud service. This service requires a DOcplexcloud Local API key for use with larger models.

    regards


    #CPLEXOptimizers
    #DecisionOptimization


  • 5.  Re: Python/docplex models running on CPLEX Enterprise Server

    Posted 11/09/17 11:00 AM

    Originally posted by: Kevin Pauli


    Thanks, Alex.

     

    Unfortunately our corporate information security policy prohibits the transmission of our IP (including models and data) to a third party, so DOcplexcloud is out of the question.

     

    I have taken your suggestion and submitted Request for Enhancement at https://www.ibm.com/developerworks/rfe/execute?use_case=viewRfe&CR_ID=112842

     

    Anyone reading this who is the same boat, please go vote for it.  :(


    #CPLEXOptimizers
    #DecisionOptimization


  • 6.  Re: Python/docplex models running on CPLEX Enterprise Server

    Posted 11/09/17 11:11 AM

    Hi,

    I have tweeted your wish :

    https://twitter.com/AlexFleischer1/status/928655308049801219

    In

    DSX Local ships with its own Decision Optimization private cloud service. This service requires a DOcplexcloud Local API key for use with larger models.

    the key name has cloud but the key is local and the solve is local too, so nothing will happen in the cloud

    regards

    https://twitter.com/AlexFleischer1/status/928655308049801219


    #CPLEXOptimizers
    #DecisionOptimization


  • 7.  Re: Python/docplex models running on CPLEX Enterprise Server

    Posted 11/09/17 11:20 AM

    Originally posted by: Kevin Pauli


    Ah, I see, I misunderstood.  It is your own private DOcplexcloud!  Ok, we can investigate this avenue.  Thank you!!!

     

    One other thing while I have your attention, if you would be so kind...

    We have other data scientists who would prefer to use Java.  Is Java supported in DSX Local?


    #CPLEXOptimizers
    #DecisionOptimization


  • 8.  Re: Python/docplex models running on CPLEX Enterprise Server

    Posted 11/09/17 11:45 AM

    Hi,

    if you use java then I think

    CPLEX Enterprise Server https://www.ibm.com/developerworks/library/co-ind-ilog-cplex/index.html 

    or

    Decision Optimization Server Optimization Server

    make more sense

    regards


    #CPLEXOptimizers
    #DecisionOptimization


  • 9.  Re: Python/docplex models running on CPLEX Enterprise Server

    Posted 11/09/17 12:52 PM

    Originally posted by: Kevin Pauli


    Yes we are currently evaluating CPLEX Enterprise Server, we have it up and running.  

     

    I have seen that article, and I do see where it says there is a Java client library for talking with the CES server, but from what it describes, the model still has to be OPL.  I was wondering if there is a way to write the model itself in Java, and have it solved on CES.


    #CPLEXOptimizers
    #DecisionOptimization


  • 10.  Re: Python/docplex models running on CPLEX Enterprise Server

    Posted 11/09/17 12:56 PM

    Hi,

    with CES the entry point should be an OPL model but this can be a main flow control that calls java through external java call

    regards


    #CPLEXOptimizers
    #DecisionOptimization