9

Github GitHub - apwheele/PatrolRedistrict: Patrol Redistricting with workload co...

 3 years ago
source link: https://github.com/apwheele/PatrolRedistrict
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

Patrol Redistricting in Python

This is my work on using a p-median model to redistrict patrol areas in Carrollton, TX. In particular, this incorporates workload inequality constraints into the p-median model.

The final published paper is:

Wheeler, Andrew P. (2019) Creating optimal patrol areas using the P-median model. Policing: An International Journal 42(3): 318-333.

You can also access a pre-print version here or on SSRN.

The Jupyter notebook shows how to use the python pulp library to set up the linear programming problem. And ArcGIS and the network extension to get the travel time distances and weights needed to optimize areas.


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK