Disclaimer: for privacy's sake, I have changed this data to fit a story different than it's actual use case. Hopefully this feels more like a weekly challenge to help understand the need I have.
Problem: Santa is sick and needs his elves to deliver gifts.
In the workflow I have attached, one input contains a list of states, zip codes, and their populations. The other input has the director of elves. We need to give each elf a list of unique zip codes that they are assigned to visit to deliver gifts and we need for total population of houses to be as evenly balanced as possible across all of the elves. There are some nuances though that make this difficult to automate.
- Chimney-preferred zip codes can ONLY be assigned to chimney-abled elves
- All other zip codes can go to any elf
- Elf Managers should only have to visit ~1/3 of the total homes that the average chimney elf / door elf has
- They must stay within the zip codes of their assigned states
I've attached a workflow with some sample data in the style of a weekly challenge. I'd appreciate any help or guidance on the best way to approach this. I don't have experience with the tile or multi-field tile tools, but my gut says the best approach includes that and maybe some kind of iterative macro.