Python DOcplex models

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

The Decision Optimization for Watson Studio environment currently supports Python 3.7.

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 model builder).
  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.
Workflow showing previously mentioned steps

Learn more