Warning Referenced Activities
- Type
Selection
- Range
The settings listed below
- Default
Common_warning_default
When an activity is referenced in one of the sequencing attributes of a sequential resource or in one of the level modification attributes of a parallel resource, but is not referenced in the attribute “activities” of that resource, AIMMS will issue a warning. Consider the following example:
Set mySet {
Index: i, j, k;
Definition: data { a, b, c, d, e, f, g, h, i, j, k };
}
Resource res {
Usage: sequential;
ScheduleDomain: Timeline;
Activities: act(i):ord(i)<5;
ComesBefore: (act('f'),act('g'));
}
AIMMS will issue the warning message:
The activity act('f') referenced in the attribute "comes before" of resource res, is not scheduled on that resource.
The option Warning_Referenced_Activities
determines how activities referenced in a sequencing or level modification attribute,
but not in the activities attribute, are reported, 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
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