When free_insertion is enabled, ungrouped orders can be inserted inside groups. Use free_insertion_exempt_groups property to specify groups where ungrouped orders should NOT be inserted. This is useful when you have groups like “asap” (must be served first) or “last” (must be served last) that should stay compact. For example, with free_insertion_exempt_groups: ["asap", "last"] , ungrouped orders can be inserted freely between other groups, but not inside the “asap” or “last” groups, and not between start and “asap” or between “last” and end when using in_direct_sequence relations with these groups. It is documented here.
1 Like