Eliminate Decision Based on Rule

Procedure

  1. The function block attempts to match the respective Attribute Value element with a value for that attribute from the current item.
  2. For a matching Attribute Value, the function block compares
    • the respective Count and Rule elements, or
    • the respective release limits and release counts
    according to the respective Rule Type element (G, S, or P).
  3. If selecting the current item (incrementing the Count) would violate the rule, the comparison fails for that attribute and the item is either weighted or eliminated. The failure is saved as history data.
    If selecting the current item would not violate this rule, the function block attempts to match the next attribute name/value match.Notes
    • An elimination may be rolled back depending on the respective  danger flag setting in the Breakable array.
    Items remain in the range source unless they are eliminated.
    • To compare items that satisfy a named solve (query) or query expression, enter the reserved name SOLVE for this element in the Attribute Name array. (This is  instead of the name of an attribute). You can then enter a named query or query expression as the respective element in the Attribute Value array.
  4. The number of red cars selected has not yet reached the Upper Release % Limit defined for Color/Red.
  5. Selecting the red two-door would cause the percentage of four door cars selected to fall below its defined  Lower Release % Limit
  6. The red, two-door car is eliminated instead of being selected.