/docplex-examples

These samples demonstrate how to use the DOcplex library to model and solve optimization problems.

Apache License 2.0Apache-2.0

IBM® Decision Optimization Modeling for Python (DOcplex)

Welcome to the IBM® Decision Optimization 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 need IBM ILOG CPLEX Optimization Studio to solve the models.

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.8 or later is installed on your machine.

This library is numpy friendly.

Install the library

   pip install docplex

Get the documentation and examples

Get your IBM® ILOG CPLEX Optimization Studio edition

  • You can get a free Community Edition of CPLEX Optimization Studio, with limited solving capabilities in term of problem size.

  • Faculty members, research professionals at accredited institutions can get access to an unlimited version of CPLEX through the IBM® Academic Initiative.

Dependencies

These third-party dependencies are automatically installed with pip

License

This library is delivered under the Apache License Version 2.0, January 2004 (see LICENSE.txt).