Last updated: Jul 05, 2024
You can import models into a Decision Optimization experiment.
Procedure
To import a model:
- From the Build model
view, select Import
model in the Model wizard. If you previously started to create a model, to return to the Model wizard, click the Replace icon . Your current formulation is deleted (all tabs are deleted). Alternatively, click the Import icon (only the current tab is deleted).
- Choose the model type (Python, OPL, CPLEX, or CPO). You can import a Python model from an existing notebook in your project or from an external file.If you import an existing notebook from your project and this notebook is running on a Jupyter customized environment, you must create a new environment for your Decision Optimization experiment. Then in this new environment, you can import the same set of libraries.
- Click Add files.
Results
When you have imported your model, you can then edit it and solve it by clicking the Run button.