CALicense::CanUseOptimizer
ADE User Guide > ADE Server Class Reference > CALicense
property bool CALicense::CanUseOptimizer
Indicates whether your ADE license allows your models to make use of the Optimizer. If you don’t have this ability, then models that use DefineOptimization or other functions that require the Optimizer edition functions cannot perform those optimizations within ADE. This flag makes it possible to detect that limitation before actually starting your application.
Data type
Boolean
Access
read
Example usage
CALicense license = new ADE.CALicense(); if (license.CanUseOptimizer) { ... }
See Also
Comments
Enable comment auto-refresher