Grouping Method

The Grouping solving method should be used whenever a problem involves multiple items to be grouped together in sets. By default, the number of different groups that Evolver creates will be equal to the number of unique values present in the adjustable cells at the start of an optimization. The default behavior can be altered by using the Group IDs field, discussed below.

For example, suppose a range of 50 cells contains only the values 1, 2, 3, and 4. (These values don’t have to be consecutive integers, but they usually are.) When those 50 cells are selected, and they are adjusted using the Grouping solving method, Evolver will assign each of the 50 cells to one of the four groups - 1, 2, 3, or 4. All of the groups are represented by at least one of the adjustable cells. It is like tossing each of the 50 cells in one of four “bins” and making sure there is at least one cell in each bin. Like the Order solving method, Evolver is arranging existing values, so there is no minimum-maximum range to define.

Please note: When using the Grouping solving method, no cells should be left blank, unless "0" should be considered one of the groups.

Figure 1 - Adjustable Cell Group Settings - Grouping

When using the Grouping solving method, there are two additional settings in the Adjustable Cell Group Settings dialog (Figure 1, right):

  • Group IDs (Optional) - This setting specifies a range of cells within the model that contain numeric group IDs.
  • Normally Evolver reads group IDs from the unique values within the adjustable cell range. For example, if the adjustable range is A1:D1, and it contains numbers 1, 1, 3, 2, then Evolver will use 1, 2, and 3 as group IDs. However, if there are more groups than there are adjustable cells, for example, it might be desirable to assign items represented by cells A1:D1 to groups numbered 1 to 5. In this case, the Group IDs setting specifies a range containing five cells with numbers 1 to 5 be used as group IDs during optimization.

  • All Groups Must Be Used - If this option is checked, every solution will have members from every group. For example, if the adjustable cells are A1:D1, and group IDs are 1, 2, and 3, then Evolver will not try a solution with 1 assigned to all four cells (with 2 and 3 missing).