You can solve Python DOcplex models in a Decision
Optimizationexperiment.
The Decision
Optimization environment currently supports Python
3.11 and 3.10
(deprecated). The default version is Python 3.11. You can modify this
default version on the Environment tab of the Run
configuration pane or from the Overview information pane. For more
information, see Changing default environments and adding Python extensions for additional Python libraries.
The basic workflow to create a
Python DOcplex model in Decision
Optimization, and examine it under different scenarios, is
as follows:
Create a project.
Add data to the project.
Add a Decision
Optimizationexperiment (a scenario is created by default in the
experiment UI).
Select and import your data into the scenario.
Create or import your Python model.
Run the model to solve it and explore the solution.
Copy the scenario and edit the data in the context of the new scenario.
Solve the new scenario to see the impact of the changes to data.