Initializing help system before first use

Compiler Options

You can configure how Mosel compiles source files in the Compiler Options dialog box.
Configure the following settings:
  • BIM File Output Folder:

    Configures the folder within the project where intermediate BIM files will be placed during compilation.

  • Debugging Information:

    Determines the information which is included in the generated BIM file. Can be one of the following options:

    • Remove private [option->object] names.

      Names of private variables, constraints, and subroutines are not saved into the BIM file.

    • Add debugging information.

      The -g command line flag is passed to the Mosel compiler. This option is required to locate a runtime error.

    • Add debugging and tracing information.

      The -G command line flag is passed to the Mosel compiler. This option is required to run the model with the debugger.

  • Private Declarations in Mosel are stripped on compilation by default.
    • Declarations are private by default unless explicitly prefixed with the public keyword. Any entities in your Mosel code that need to be visible to Xpress Insight must be declared public.
  • Implicit Declarations: Determines the behavior of the Mosel compiler when it encounters a symbol which was not explicitly declared in a declarations block. Can be one of the following options:
    • Allow implicit declarations.

      No command line flags are passed to the Mosel compiler. Implicit declarations are silently accepted.

    • Forbid implicit declarations.

      The -ni command line flag is passed to the Mosel compiler. Implicit declarations cause the compilation to fail with an error.

    • Warn about implicit declarations.

      The -wi command line flag is passed to the Mosel compiler. Implicit declarations are accepted but the compiler will print a warning.

  • Treat Warnings as Errors.

    If checked, the -we command line flag is passed to the Mosel compiler. Compiler warnings are handled like errors such that any warning will make the compilation fail.

  • Generate Doc Annotations.

    If checked, the -D command line flag is passed to the Mosel compiler. Documentation annotations are generated in the resulting BIM file. (By default, documentation annotations are ignored.)

  • Enable Xbim Extension.

    If checked, the -I command line flag is passed to the Mosel compiler. The xbim extension is enabled, causing additional symbol information to be stored in the generated BIM file (in particular array index names).

Note When a model is run from Xpress Workbench, the -g option is automatically added so that stack traces can be displayed if an error occurs. When a model is debugged from Xpress Workbench, the -G option is automatically added.

For more information about Mosel compiler options, see the Mosel 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.