CPLEX for Python is now available on ANACONDA CLOUD.
IBM Decision Optimization is now available on the Anaconda Cloud (powered by Continuum Analytics)
The Decision Optimization workspace can be found here.
Anaconda is an open source high performance distribution of Python and includes over 100 of the most popular Python packages for data science (full list is provided here).
Anaconda Cloud is a package management service that makes it easy to find, access, store and share packages, and to keep up with updates made to the packages and environments you’re using.
With a one-line command, you can install:
– docloud, the DOcplexcloud Python connector.
– docplex, the CPLEX Modeling for Python, for both MP and CP, which can solve on DOcplexcloud or with a local installation of IBM engines.
– cplex, the Community Edition of the CPLEX 12.7 engines, with limited solving capabilities for free to solve on your laptop. (If you are within limits, then any CPLEX based code will run perfectly, otherwise it will fail with errors. Note that some of the docplex examples are above these limits, such as nurses and sport_scheduling examples).
These packages are available on Windows64, Mac64, and Linux64 for both Python 2.7 and 3.5.
To start the CPLEX Python experience, just type:
conda install -c IBMDecisionOptimization docplex cplex
and you will be able to run your Optimization model, for example from the online sample distribution.
If you are not familiar with conda, you can find help in this conda-cheatsheet.pdf for example.
Free versions of Anaconda can be downloaded here