Generating a compiled model
Describes how to generate a binary version of a model file.
From the IDE, you can generate a compiled
model. A compiled model is a binary version of a .mod file.
Keeping your models as compiled files may help you protect your intellectual property because these binary files are not human-readable. You can also pass a compiled model file name as an argument to a method of the OPL interface libraries. See the Interfaces User’s Manual for more information.
From version 5.1 of OPL onwards,
compiled model files are detected automatically by oplrun,
interfaces related to IloOplModelSource,
interfaces related to IloOplRunConfiguration,
and scripting statements.
Note: You cannot export compiled
models. All export functions, such as LP/SAV/MPS export, or internal
data export, will raise exceptions.
The following result is displayed in the Command Prompt window.
