Initializing help system before first use

Mosel Run Time Library

The Mosel Run Time (xprm_rt) Library provides a set of functions that may be used to load models in the form of BIM files, execute them and access model objects.

Programs using this library must include the header file xprm_rt.h that defines the following types:

XPRMmodel:
reference to a model stored in core memory
XPRMdsolib:
reference to a dynamic shared object descriptor
XPRMattrdesc:
reference to an attribute descriptor
XPRMmpvar:
reference to a decision variable
XPRMlinctr:
reference to a linear constraint
XPRMset:
reference to a set
XPRMlist:
reference to a list
XPRMarray:
reference to an array
XPRMproc:
reference to a procedure or function

The following basic types are also defined for completeness:

XPRMinteger:
integer value (C type int)
XPRMreal:
real value (C type double)
XPRMboolean:
Boolean value (C type int: 0 = false, 1 = true)
XPRMstring:
text string value (C type const char *)

Note that all text strings handled by functions of this library are encoded in UTF-8. It is therefore required to convert text strings to alternate encodings when exchanging data with other libraries not working with UTF-8. In particular the C library supports either wide characters (wchar_t type) or the default system encoding (that depends on the localisation of the system). These encoding conversions can be achieved with the help of the XPRNLS library (please refer to the XPRNLS Reference Manual for further details).