So far I’ve done heavy research on two redistricting algorithms, and have spent many hours writing an implementation of one of those algorithms. These two are the shortest splitline algorithm by Dr. Warren D Smith, a mathematician and researcher on election methods and a founder of the Center for Range Voting, and the Voronoi diagram redistricting algorithm by Sam Burden, Aaron Dilley, and Lukas Svec, University of Washington students and winners of the MAA Prize for the development of their algorithm.

Shortest Splitline
I started with my research and software development on the shortest splitline algorithm. My reason for this is that when I was searching for what algorithms exist, this one’s name came up far more than any other. I assumed that it was probably the best.
The basic concept of the algorithm is to take the entire state and iteratively split it in two based on population until you have the number of districts desired. Each split uses the shortest bisecting line possible. More precisely, the algorithm is to:
- Start with the boundary outline of the state.
- Let N=A+B where A and B are as nearly equal whole numbers as possible. (For example, 7=4+3.)
- Among all possible dividing lines that split the state into two parts with population ratio A:B, choose the shortest.
- We now have two hemi-states, each to contain a specified number (namely A and B) of districts. Handle them recursively via the same splitting procedure.
I mean no disrespect to Dr. Warren as he has contributed so much to the cause of better election methods, but based on my research, shortest splitline isn’t good enough for real world use.
Maybe I should start out by listing what I consider good qualities of a redistricting algorithm. (If anyone has any other criteria, I’d love to hear about it.)
First and foremost, the algorithm should be objective, requiring little if any human decision making. This should be pretty obvious. Shortest splitline excels here as it’s entirely automated.
The algorithm should result in districts that are compact, meaning that points within the district should be fairly close to each other. Shortest splitline results in lots of triangles and quadrilateral which are fairly compact. Circles would be optimally compact, but the polygons that shortest splitline produces are WAY better than the monstrous districts that gerrymandering legislators come up with.
The algorithm should result in districts that have a low district-to-convex-polygon ratio. What this means is that if you stretched a giant rubber band around the district, the district would fill the rubber band nicely. If the district were in the shape of a zigzag or a ‘C’ that wouldn’t be the case. The shortest splitline algorithm is optimal when it comes to its district-to-convex-polygon ratio because its districts contain no concavities.
Next (and this one is debatable), the algorithm should result in districts that respect communities of common interest (which I’ll abbreviate as CCIs from now on). Shortest splitline doesn’t respect CCIs at all. In many cases it draws lines directly through them. Some would say that CCIs should not be respected because that violates the objectivity of the algorithm and provides an opening for gerrymandering. While objectivity and CCI-respect certainly can compete with each other, I personally think that they don’t compete in all instances and there exists a good balance between the two objectives. Regardless of whether one thinks CCIs should be respected or not, for implementation of California’s Voters FIRST Act, that respect is required by the California Constitution.
Article 21, SEC. 2. (d)(4) The geographic integrity of any city, county, city and county, neighborhood, or community of interest shall be respected to the extent possible without violating the requirements of any of the preceding subdivisions. Communities of interest shall not include relationships with political parties, incumbents, or political candidates.
Lastly, and most importantly, the shortest splitline algorithm is unusable because its district lines are straight. Straight lines make for a beautiful looking map, but how are all the people whose homes sit on the border supposed to know what district they belong to? Ivan Ryan contributed an implementation of the algorithm. How his implementation works is it takes a large bitmap image of the state, calculates the population per pixel using census data, then draws boundaries using this pixel-level abstraction. The result is a beautiful map, but there’s no meaningful way for a household to know what pixel it is mapped to.
After realizing that shortest splitline is unusable, I stopped writing my own implementation and decided to do a lot more research on other algorithms.
Next post: Voronoi diagram redistricting!
UPDATE: After thinking about it more, I retract my criticism of shortest splitline’s straight lines. While it’s still true that straight lines are infeasible, the centroid of a census block can be determined and the entire census block can be within the district that the centroid is in. This will make the lines straight at a macroscopic level while being usable at the street level. I still maintain that the algorithm is incompatible with the California Constitution due to the lack of respect for CCIs.