Can an Algorithm Cure Gerrymandering?

Mapping congressional districts functions at a dynamic intersection of geography, politics, and community. Can technology, as with so many other issues at this intersection, improve the current system?

1 minute read

June 9, 2014, 10:00 AM PDT

By James Brasuell @CasualBrasuell


"Brian Olson is a software engineer in Massachusetts who wrote a program to draw 'optimally compact' equal-population congressional districts in each state, based on 2010 census data. Olson's algorithm draws districts that respect the boundaries of census blocks, which are the smallest geographic units used by the Census Bureau. This ensures that the district boundaries reflect actual neighborhoods."

The article shares a few examples of the difference between Olson's "optimally compact" districts and the gerrymandered reality of congressional districts.

An interesting question raised by speculating on a new system for districting, is the question of "communities of interest": "As Jonathan Bernstein wrote last year, a community of interest could be defined based on rural/urban divides, shared cultural background, economic interest, ethnic background, demographic similarity, political boundaries, geographic boundaries and on and on." In other words, "You can define a 'community of interest' pretty much however you want," which introduces the kind legalistic arguments that can enable, you know, gerrymandering.

Tuesday, June 3, 2014 in The Washington Post - Wonkblog

portrait of professional woman

I love the variety of courses, many practical, and all richly illustrated. They have inspired many ideas that I've applied in practice, and in my own teaching. Mary G., Urban Planner

I love the variety of courses, many practical, and all richly illustrated. They have inspired many ideas that I've applied in practice, and in my own teaching.

Mary G., Urban Planner

Cover CM Credits, Earn Certificates, Push Your Career Forward

Logo for Planetizen Federal Action Tracker with black and white image of U.S. Capitol with water ripple overlay.

Planetizen Federal Action Tracker

A weekly monitor of how Trump’s orders and actions are impacting planners and planning in America.

June 11, 2025 - Diana Ionescu

Metrorail train pulling into newly opened subterranean station in Washington, D.C. with crowd on platform taking photos.

Congressman Proposes Bill to Rename DC Metro “Trump Train”

The Make Autorail Great Again Act would withhold federal funding to the system until the Washington Metropolitan Area Transit Authority (WMATA), rebrands as the Washington Metropolitan Authority for Greater Access (WMAGA).

June 2, 2025 - The Hill

Large crowd on street in San Francisco, California during Oktoberfest festival.

The Simple Legislative Tool Transforming Vacant Downtowns

In California, Michigan and Georgia, an easy win is bringing dollars — and delight — back to city centers.

June 2, 2025 - Robbie Silver

Color-coded map of labor & delivery departments and losses in United States.

The States Losing Rural Delivery Rooms at an Alarming Pace

In some states, as few as 9% of rural hospitals still deliver babies. As a result, rising pre-term births, no adequate pre-term care and "harrowing" close calls are a growing reality.

7 hours ago - Maine Morning Star

Street scene in Kathmandu, Nepal with yellow minibuses and other traffic.

The Small South Asian Republic Going all in on EVs

Thanks to one simple policy change less than five years ago, 65% of new cars in this Himalayan country are now electric.

June 15 - Fast Company

Bike lane in Washington D.C. protected by low concrete barriers.

DC Backpedals on Bike Lane Protection, Swaps Barriers for Paint

Citing aesthetic concerns, the city is removing the concrete barriers and flexposts that once separated Arizona Avenue cyclists from motor vehicles.

June 15 - The Washington Post