Warning Wrong Onlyif Symbol
- Type
Selection
- Range
The settings listed below
- Default
Strict_warning_default
In AIMMS the symbol |
just stands for the “such that” operator, and should not be used for the
“only if” operator, for which the symbol reads $
. This option determines what happens during
the compilation of expressions that use the |
symbol for the ONLYIF operator instead of $
.
This situation is ignored, reported as a warning, or interpreted as an error, depending on the following settings:
|
Do not issue a warning. |
|
Issue a warning and post it to the global error and warning collector. |
|
Take action depending on the option ‘Common warning default’. |
|
Issue a warning and post it to the nearest error handler. |
|
Take action depending on the option ‘Strict warning default’. |
|
Issue an error. |
|
In a developer system same as Error, in a deployment system same as Warning_handle |
|
In a developer system same as Error, in a deployment system same as Off |
|
In a developer system same as Warning_handle, in a deployment system same as Off |
Note
If this option has the value ‘Off’ or ‘Warning’, then
|
as symbol for “only if” is translated to$
.With the option Maximal Number of Warnings Reported you can set the maximal number of warnings that are shown in errors/warnings and message window.
Learn more about