Table of contents

Python DOcplex models (Decision Optimization)

You can solve Python DOcplex models in the Decision Optimization model builder.

The Decision Optimization environment currently supports Python 3.7 and 3.8. The default version is Python 3.7. You can modify this in the Run configuration pane using the Run parameters.

The basic workflow to create a Python DOcplex model in Decision Optimization and examine it under different scenarios is as follows:

  1. Create a project.
  2. Add data to the project.
  3. Add a Decision Optimization experiment (a scenario is created by default in the experiment UI).
  4. Select and import your data into the scenario.
  5. Create or import your Python model.
  6. Run the model to solve it and explore the solution.
  7. Copy the scenario and edit the data in the context of the new scenario.
  8. Solve the new scenario to see the impact of the changes to data.
  9. Save a model ready for deployment in Watson Machine Learning.
Workflow showing previously mentioned steps

Learn more