Initializing help system before first use

Setting Mosel Restricted Mode (MOSEL_RESTR)

The value assigned to the parameter MOSEL_RESTR determines the actions an executing model is allowed to perform, such as file I/O and shell commands. The default settings has no restrictions.
Users can submit a compute job in several ways:
  • The Optimizer Console, Optimizer libraries, Mosel, and Xpress Workbench can be configured to transparently out-source optimization processing to a remote Insight Server.
  • Solver jobs can be submitted via the Compute Interface app's user interface.
  • Solver and Mosel jobs can be sent as requests to the web services REST API.

Computational effort for these jobs is offloaded to one or more execution workers which applies the configured setting for MOSEL_RESTR from the environment. If it is not set then it will default it to the value NoExecWDOnly.

In addition, any of the following security related environment variables that are not explicitly set in the environment default to an empty string.
  • MOSJVM_ALLOW: *
  • MOSEL_RWPATH:
  • MOSEL_EXECPATH
  • MOSEL_SSL: XPRESSDIR/ssl
  • MOSEL_ROPATH: XPRESSDIR/do/mmsvg.tgz

For more on the Mosel restricted mode, see Use in Mosel Restricted Mode.