Warning Round
Type: Selection
Range: The settings listed below
Default: Common_warning_default
This option determines what happens whenever AIMMS expects an integral value, but a fractional one is provided. Consider the following example:
p(i) := p(i + 1.5)
In that case AIMMS will issue the warning message: “The value 1.5 is too far (0.5) from its rounded value, see also the options warning_round and warning_round_tolerance.”
The option “Warning_Round” determines what will happen when AIMMS expects an integral value, but a fractional one is provided, 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
Warning round tolerance is the tolerance used on integrality; if the absolute difference between a fractional value and its rounded value is less than this tolerance, then that value is considered to be integer.
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