Initializing help system before first use

Preparing Template Files for Mosel Deployment Wrappers

It is straightforward to execute Mosel models from applications written in C, C#, Java, VB.NET and VBA.

To assist with this, Xpress Workbench contains—for each of those languages—template source files that can load and execute a pre–compiled Mosel model.

To deploy a Mosel model in an application:

  1. Compile your Mosel model in Xpress Workbench.
  2. Open the File menu, click New then choose the appropriate Mosel deployment file template.
  3. Find the constant with the value test.bim near the top of the file and change its value to the name of your BIM file.
  4. Save the file then copy this source file and your BIM file into your project in Microsoft Visual Studio, Eclipse IDE or other development environment.
    Note Xpress Workbench cannot compile or run source files written in C, C#, Java, VB.NET or VBA. To compile and run the generated source file, use an IDE tool which supports these languages, such as those listed above.

For more information on how to interact with Mosel from C, C#, Java, VB.NET and VBA, see the Mosel User Guide and the Mosel Libraries Reference Manual.

© 2001-2020 Fair Isaac Corporation. All rights reserved. This documentation is the property of Fair Isaac Corporation (“FICO”). Receipt or possession of this documentation does not convey rights to disclose, reproduce, make derivative works, use, or allow others to use it except solely for internal evaluation purposes to determine whether to purchase a license to the software described in this documentation, or as otherwise set forth in a written software license agreement between you and FICO (or a FICO affiliate). Use of this documentation and the software described in it must conform strictly to the foregoing permitted uses, and no other use is permitted.