You can access the input and output data you defined in the experiment UI by using the following dictionaries.
For Python DOcplex models, the data that you imported in the Prepare dataview in the experiment UI is accessible from the input dictionary. To
access your imported data you must define each table with the following syntax
inputs['tablename']. For example, in this line of code, food is an entity that is
defined from the table called diet_food:
food = inputs['diet_food']
Copy to clipboardCopied to clipboard
Similarly, to show tables in the Explore solution view of the experiment UI you must specify them using the syntax
outputs['tablename']. For example,
outputs['solution'] = solution_df
Copy to clipboardCopied to clipboard
defines an output table that is called
solution. The entity solution_df in the Python model defines this
table.