DOcplex Python modeling API
DOcplex is a native Python API for modeling and solving optimization problems. It is composed of two modules:
- Mathematical Programming Modeling for Python using docplex.mp
- Constraint Programming Modeling for Python using docplex.cp
How can I use the DOcplex modeling API?
The API is available by default in Watson Studio as part of the Python environment. You can check the version of DOcplex that's available by adding a cell to a notebook and typing:
python import docplex docplex.__version__
then running the cell. You see the version of DOcplex as output.