Welcome to the IBM® Decision Optimization CPLEX Modeling for Python. Licensed under the Apache License v2.0.
With this library, you can quickly and easily add the power of optimization to your application. You can model your problems by using the Python API and solve them on the cloud with the IBM® Decision Optimization on Cloud service or on your computer with IBM® ILOG CPLEX Optimization Studio.
This library is composed of 2 modules:
- IBM® Decision Optimization CPLEX Optimizer Modeling for Python - with namespace docplex.mp
- IBM® Decision Optimization CP Optimizer Modeling for Python - with namespace docplex.cp
Solving with CPLEX locally requires that IBM® ILOG CPLEX Optimization Studio V12.7.1 or V12.8 is installed on your machine.
Solving with the IBM® Decision Optimization on Cloud service requires that you register for an account and get the API key.
This library is numpy friendly.
pip install docplex