I am working on a project and I need to use integration. Is there a module with a predefined method for integration? Or should a numerical method be used?
Re-reading the question, I realized that we are probably talking about two different things: there is no mathematical function for integration directly in Mosel, but I would suggest to check what functionality is available from R or Matlab.
What type of integration are you looking for, embedding a Mosel model into something else, or calling some other program from within Mosel?
Both ways are possible:
1. Integrating a Mosel model into a host application: this is usually done via the "Mosel Libraries"; APIs for C, Java, .NET, VB are available, you will find examples following these links:
* If the Mosel model is not running on the same machine as the host application, you would use the XPRD libraries instead of the standard Mosel Libraries.
2. Calling other programs from Mosel
* Mosel publishes its "Native Interface" through which you can add external functionality that is available in the form of a C/C++ library directly into the language, see examples at https://examples.xpress.fico.com/example.pl#mosel_dso
Readily available modules ("DSO") that come with the Mosel distribution include access to the solvers of the Xpress suite (eg, modules mmxprs, mmxnlp, mmrobuts, kalis); data handling (eg, mmodbc, mmoci, mmsheet, mmxml); and various others (eg, matlab, r, zlib, mmssl)
* You can use system calls within a Mosel model to invoke binaries.
Retrieving data ...