Step 3: Enable debug mode (optional)
You can enable debug mode to validate the data sources created by the Optimization Engine. This writes the data sources as tables back to the data pool where they were drawn from (the data pool where you’re working with objects and events). The tables are named MILP_Input_[data source name]
. If you want to use these tables in a Studio app, such as in a validation view, you’ll need to create a dedicated object type to represent each input table.
Here’s how to enable debug mode in the Optimization Engine UI:
Go to the section Write input to data pool to debug on the Optimization Engine page.
In the field “Input tables to write”, add the names of the data sources you want to write back as tables.
Enable the debug mode toggle.
Next step: Step 4: Define constants