Release notes for DOcplex Python API

Briefly presents the DOcplex Python API, which is delivered with the CPLEX Optimization Studio 22.1.0.

Improved performance for CPLEX models

The latest version of DOcplex Python API has greatly improved performance when building CPLEX models with 22.1.0.

Parameter sets for multiobjective optimization

Support for parameter sets for multiobjective optimization has been added to the DOcplex Python API in docplex.mp.

More information

For more information about the latest updates to DOcplex Python API, please see the DOcplex Python API Changelog.

About DOcplex

This version of CPLEX Optimization Studio ships with IBM Decision Optimization CPLEX Modeling for Python, also known as DOcplex.

The library is installed in [install_dir]/python/, and the documentation is installed in[install_dir]/doc/html/en-US/refdocplex.

DOcplex is a library composed of two modules:

  • Mathematical Programming Modeling for Python using docplex.mp (DOcplex.MP)
  • Constraint Programming Modeling for Python using docplex.cp (DOcplex.CP)

DOcplex is a native Python modeling library for optimization. It is compatible with the NumPy and pandas libraries and available from the PyPI or conda package managers. For more about DOcplex, see the DOcplex landing page.

To learn more about setting up a model to use a CP Optimizer local solver, see http://ibmdecisionoptimization.github.io/docplex-doc/cp/creating_model.html#solve-a-model-with-local-solver.