Initializing help system before first use

Overview

All previous sections of this manual assume that you are working with a standard installation of Xpress on your local computer. However, a local installation of Xpress is not a requirement when working with Mosel. The examples in this part show how to use the Mosel remote invocation library XPRD for building applications requiring the Xpress technology that run from environments where Xpress is not installed—including architectures for which Xpress is not available.

XPRD is a self-contained library (i.e. with no dependency on the usual Xpress libraries) that relies on the Mosel Distributed Framework (module mmjobs, see Section Multiple models and parallel solving with mmjobs). The examples in this part are introductory examples of some of the most commun programming tasks when working with a remote installation of Xpress, namely

  • starting Mosel instances (locally or on remote hosts)
  • compiling, loading, running, and interrupting Mosel models remotely
  • redirection of standard streams
  • sending and receiving events
  • retrieving data from a Mosel model

Further examples, particularly of more advanced uses, are discussed in the whitepaper Multiple models and parallel solving with Mosel and also in the Advanced Evaluators' Guide. Both documents are provided with their examples as a part of the Xpress distribution. For a complete documentation of the XPRD library the reader is referred to the XPRD Reference Manual.

The first chapter (Chapter XPRD C) of this part introduces the C version of XPRD. The Java versions of the same examples are described in Chapter XPRD Java.