Community Spring Cleaning week is here! Join your fellow Maveryx in digging through your old posts and marking comments on them as solved. Learn more here!

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.

BRAIN TEASER: Spatial Geography Optimization

jmal
6 - Meteoroid

I have a data set that contains a list of 100 cities within the US (Target). I also have a list of all the zip codes in the US with they're associated populations (Universe). With that information, I've managed to calculate the total population within 100 miles of all the cities.

 

However, if I am limited to choosing only 10 cities in my target list, how do I know which 10 cities to pick to maximize population reach? Meaning, is there a way to calculate an optimized model that favors trade areas with the highest populations, trade areas with the least overlap, etc.?

CityMap.png

1 REPLY 1
blawrence
5 - Atom

for n iterations:

    Sum city populations from zip code dataset

    Rank cities based on zip code dataset

    Select the top populated city

    Remove it's zip codes from the zip code dataset

 

Labels