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.
About cookies on this siteOur websites require some cookies to function properly (required). In addition, other cookies may be used with your consent to analyze site usage, improve the user experience and for advertising.For more information, please review your cookie preferences options. By visiting our website, you agree to our processing of information as described in IBM’sprivacy statement. To provide a smooth navigation, your cookie preferences will be shared across the IBM web domains listed here.