Last updated: Oct 09, 2024
You can solve Python DOcplex models in a Decision Optimization experiment.
The Decision Optimization environment currently supports Python 3.10. The default version is Python 3.10. You can modify this on the Environment tab of the Run configuration pane or from the Overview information pane.
The basic workflow to create a Python DOcplex model inDecision Optimization and examine it under different scenarios is as follows:
- Create a project.
- Add data to the project.
- Add a Decision Optimization experiment (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.
![Workflow showing previously mentioned steps](/docs/api//content/DO/DODS_Notebooks/../DODS_Mdl_Assist/images/new_overviewcognitive-3.jpg?context=dph&locale=en)