- delegate LSPValue localsolver.modeler.LSPFunctor(LSPModeler modeler, IList<LSPValue> arguments)¶
External modeler function delegate. To use your own external functions in the modeler you have to follow these steps:
Implement the delegate.
Finally, if you want to make this function available in your LSP code, you have to assign it to a module variable with
Note: This delegate should only be implemented to expose functions used during the modeling process. You should not use this delegate to create a function that will be called during the resolution as an external function. In this case, you should use the solver API directly to create the function (see LSExternalFunction Delegate)