Hey, I' m working here on a service allocation problem.
I am constricted by a certain number of potential facility locations (9) and a maximum capacity of each facility (100 connected demand points). In total I have 500 demand points. Now, I want to automatically select 5 optimal facility locations (out of the 9 potential locations), so that each facility has 100 demand points allocated. The selection should minimize the total travel distance between the facilities and demand points. As far as I found out, there is no way to do this with the network analyst, as there can be no max. capacity for facilities defined in the location-allocation tool. Is there any script or work-around that could do the job for me? Thanks for your help and best regards, Rafael
This functionality is implemented in 10.1 prerelease. You can contact Esri to enroll in the prerelease program.
We have added a new field to the Facilities feature class called "Capacity" and provided a new problem type called "Maximize Capacitated Covering" that uses the capacity field to limit the amount of demand weight that can be allocated to a facility. We also support a default capacity for all facilities that did not specify their capacity (as well as supporting varying facility capacities and varying demand weights). The new problem type first seeks to maximize the sum of demand weight that is allocated to facilities and then attempts to minimize the sum of weighted distance for all allocated demand points to the solution facilities.
Here's a screenshot of the location-allocation property page with the new problem type.
In fact this tool looks perfect for my task, thanks for your reply. Unfortunately I think I will not qualify for the Beta-Test, I am only a participant in the student-test program. Can you think of any other work around that could solve my problem with Version 10.0?
Is there no tool which can work with network distances (e.g. from an OD-Cost Matrix) instead of direct distances?
The partitioning tools do not use distance at all! And thus cannot be enhanced by network distances. It is based on a space-filling Peano curve.
Can you now me if it can at least solve my kind of problem? Than I would get into getting it to work.
The Allocation tools work for the case when the facility locations are known (for example existing school locations) and they have a capacity and there is a list of demand points (e.g., school going children) that need to be "allocated" to these existing locations honoring their capacity. These scripts will not tell you where to locate your facilities.
The only tool that will tell you where to place the facilities is Location-Allocation and in version 10 it does not have the capability to honor capacity. That has been added in 10.1 pre-release which will be out shortly.
You can look at location-allocation literature and see how to formulate it as a Linear Programming problem and then use the Allocation tool approach to solve it by computing the OD in ArcGIS, exporting the OD out to the LP package. But be warned that this approach will take time to develop/test and it will only solve small problems and may take a long time solving to give a good solution.