This example demonstrates using Xpress Executor to solve an MPS 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. Open the Xpress Executor component's configuration page and configure the component to solve MPS files
  3. Open nodejs/coco-mps-xe.js in Notepad or your favourite editor
  4. 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
  5. In the 'js' folder, run 'npm install' to download the prequisite modules from the Internet
  6. In the 'js' folder, run 'node coco-mps-xe.js'

  

