Skip to main content
IBM Developer
Sign In | Register dW
IBM Decision Optimization: on Cloud, for Bluemix...
  • Docs
  • Forum
  • News
  • GitHub
  • Support
  • Media Center
DOcplexcloud / Prescriptive Analytics / Python
< Previous   /   Next >

CPLEX for Python is now available on ANACONDA CLOUD.

VincentBeraudier / January 23, 2017

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

  • DOcplexcloud news

    • Bike sharing system optimization December 17, 2018
    • Optimization of business decisions – now a simple subscription away December 11, 2018
    • Use OPL with the R framework. October 26, 2018
    • CPLEX interface for CVXPY now available September 28, 2018
    • OPL and the Python ecosystem are now tied up! September 26, 2018
  • Other posts by category

    • CPLEX (5)
    • CPLEX Studio (13)
    • DOcplex (3)
    • DOcplexcloud (30)
    • DSX (6)
    • Excel (3)
    • Flex-Tier (4)
    • Java (2)
    • Machine Learning (1)
    • Prescriptive Analytics (9)
    • Python (12)
    • R (2)
    • Uncategorized (6)
RSS Feed
  • Report Abuse
  • Terms of Use
  • Third Party Notice
  • IBM Privacy
IBM