This example demonstrates using Xpress Executor to solve a Mosel model, with a client-side NodeJS program
that starts a remote execution, waits for completion, and outputs the results.

You must have node.js and npm installed on your local machine.

To use, follow these steps:
  1. Provision yourself an Xpress Executor component in DMP
  2. Compile model/blend3c.mos
  3. Upload the model from model/blend3c.bim to the Xpress Executor component's configuration page
  4. Open nodejs/blendxe.js in Notepad or your favourite editor
  5. Update the DMP_XE_REST_ENDPOINT, DMP_SOLUTION_CLIENT_ID, DMP_SOLUTION_SECRET and DMP_MANAGER_URL variables
     to the correct values for your Xpress Executor component
  6. In the 'js' folder, run 'npm install' to download the prequisite modules from the Internet
  7. In the 'js' folder, run 'node blendxe.js'



