With the model converted, it can be run in Xpress Insight.
Now that the model is moving into
Xpress Insight, it is time to acknowledge
Xpress Insight's convention over configuration approach, and understand Xpress Insight's expected app directory structure.
To publish the model as an Xpress Insight app and run it:
In the Xpress Workbench project tab, move the foliodata.mos file to the source folder, and run the file.
One way to provide input data files to Xpress Insight is to put them in the model_resources folder. The shares.csv file resides in there.
You might see some other files at the top level, such as foliodata.bim and foliodata.zip—they are the compiled version of foliodata.mos and an app archive respectively. These files will be explained later, but for now, just ensure you have a model_resources folder containing shares.csv.
Choose Run > Run foliodata.mos from the main menu or press Ctrl-F5.
Click the Publish to Xpress Insight icon .
The first time you publish, you will need select your Xpress Insight Server. For Desktop users, Workbench automatically detect whether Insight server is running an Insight 5 version and expects users to have provided the Xpress Insight 5 REST API credentials in the OS storage, see Configuring an Xpress Insight Server-Desktop Edition Only.
If prompted, select Create a new app and click Publish, otherwise wait a few moments for your app to be sent to Xpress Insight.
Note: If the
Publish to Xpress Insight icon is not visible, click on the vertical tab on the right of the browser window labeled
Xpress Insight—this expands the
App panel.
Your app is compiled and sent to an
Xpress Insight instance—a message alert informs that the publishing event has occurred:
Xpress Insight Publish Success Message
Click on the Open in Xpress Insight link in the message alert—you will be transferred to a running Xpress Insight instance.
Click on the grey shelf of the Xpress Insight user interface (labeled Open Scenario Manager) to open the Scenario Manager. Select your app's default scenario (it is called Scenario 1) by clicking on it and clicking Add to put it on the shelf—A green tick appears next to selected Scenarios. Click CLOSE.
A pill representing
Scenario 1 appears on the grey shelf.
Click on the Scenario 1 pill and choose Load from the drop-down menu.
The scenario's data loads.
Click on the Scenario 1 pill again and choose Run.
The scenario executes.
Even without explicit user interface customization, you can explore your model's entities via the Xpress InsightEntity Explorer.
In the original, pre-Xpress Insight model, the model's results were displayed in the debugger. Having moved the model into Xpress Insight, notice that Xpress Insight registers which entities are input entities and which are results entities, and you can explore them together with other salient data items via the Entity Explorer.