Location Allocation
Copy link

Summary
Copy link

This tool chooses which of a set of candidate sites to open, and allocates demand to them, over travel times from the /time-filter endpoint. It offers the seven Esri location-allocation problem types, without needing a network dataset.

If any facility's search fails, the whole run fails, whatever the Robust Mode setting: a facility with no travel times would never be chosen, with nothing to show why.

Parameters
Copy link

Description
FacilitiesThe point layer of sites to choose between: candidates, sites that must be kept, and competitors
Facilities IDThe field identifying each facility in the output
Demand PointsThe point layer holding the demand to serve, such as customers, population centroids or delivery stops
Demand Points IDThe field identifying each demand point in the output
Travel ModeAny of the 13 transport modes the Custom tools offer
Departing / Arrivingdeparture - journeys leave each facility and travel to the demand (deliveries, emergency response). arrival - journeys leave the demand points and arrive at each facility (shops, clinics).
Time ZoneThe time zone the departure or arrival time is in
Departing / Arriving TimeThe departure or arrival time
Travel time (in minutes)The maximum journey time, up to 240. A demand point further than this from a facility can't be served by it.
Facility Role FieldA field saying what each facility is: candidate (may be chosen), required (always chosen) or competitor (never chosen; takes demand in the market share problems only). Blank means candidate.
Facility Attractiveness FieldA field giving how attractive each facility is, for the market share problems. Blank counts as 1.
Facility Capacity FieldA field giving how much demand weight each facility can take. Blank uses the Default Capacity.
Demand Weight FieldA field giving how much each demand point counts for, such as population or spend. Fractions are allowed; blank counts as 1.
Problem TypeWhat to optimise for (see below). Defaults to Minimize impedance (p-median).
Facilities To ChooseHow many facilities to end up with, including required ones. Defaults to 1.
Impedance TransformationHow travel time is weighted: linear (the default), power or exponential. The last two penalise long journeys harder.
Impedance ParameterThe exponent for power, or the rate for exponential. Must be above 0; defaults to 1.
Default CapacityThe capacity of a facility with no value in the Facility Capacity Field. Defaults to 100.
Target Market Share (%)The share of the market to capture, for Target market share. Defaults to 50.
Output Allocation Lines / Output Demand Points / Output Facility TableWhere to save the three outputs - all in the project geodatabase, with different names

The optional Transportation options and Snapping are described on Common parameters. There is no search range, because the solver needs exactly one travel time per pair.

Problem types
Copy link

The dialog greys out the inputs the chosen problem type doesn't use.

Problem typeGoalUses
Minimize impedance (p-median)The smallest total weighted travel time from every demand point to its nearest chosen facilityFacilities To Choose, impedance
Maximize coverageAs much demand weight as possible within the travel time of a chosen facilityFacilities To Choose
Maximize capacitated coverageThe same, but no facility takes more demand than its capacityFacilities To Choose, capacity
Maximize coverage, minimize facilitiesThe fewest facilities that cover as much as all of them together would-
Maximize attendanceThe most total attendance, where nearer demand counts for moreFacilities To Choose, impedance
Maximize market shareThe most demand captured, split between your facilities and competitors by attractiveness and travel timeFacilities To Choose, impedance, attractiveness
Target market shareThe fewest facilities that capture the target shareImpedance, attractiveness, Target Market Share

Output
Copy link

  • Output Allocation Lines - one straight line per allocation, joining a demand point to its facility (a join, not the route travelled), with demand_id, facility_id, role, travel_time and weight_allocated
  • Output Demand Points - every demand point with demand_id, facility_id, travel_time, demand_weight, weight_allocated and allocated (1 if a chosen facility serves it, 0 if none does)
  • Output Facility Table - one row per chosen facility (plus competitors in the market share problems) with facility_id, role, chosen, demand_count, demand_weight, weighted_cost and capacity_used_pct

In the market share problems a demand point can be split between facilities. The point layer shows the chosen facility with the largest share; the lines show the whole split.