Initializing help system before first use

userfuncDLL

userfuncDLL


Purpose
Create a user function implemented as a dynamic linked library.
Synopsis
function userfuncDLL(libfile:string, fctname:string):userfunc
Arguments
libfile 
Name of the dynamically linked library containing the implementation of the user function
fctname 
Name of the function inside the dynamic library
Return value
A userfunc object that can be used in the F functions to be embedded in formulas.
Further information
User functions allow extremely complex, recursive or non-algebraic expressions to be included in nonlinear formulae. As such they may make use of simulators or other black box evaluators. The actual parameters to a user function depend upon the way it is bound to the model by the F function. Please see the chapter 'User functions' of the Xpress NonLinear Reference Manual for more details. Dynamically linked libraries are supported on all platforms, and are usually the most computationally efficient way to implement user functions in mmxnlp.
Related topics
Module