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

Young Professional

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 and Environmental 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 and Environmental Planner

Get top-rated, practical training for planners

"Planetizen federal action tracker" logo superimposed over black and white image of US Capitol dome.

Planetizen Federal Action Tracker

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

October 7, 2026 - Zachary Whalen

The mayor of Baltimore speaks into a microphone in front of a rally for more state transportation funding from Maryland.

‘Going backwards:’ Baltimore mayor, students rally against state's transit funding plan

Maryland's proposed six-year plan provides no funding for Baltimore’s BMORE bus program and reduces its road maintenance funding.

October 2, 2026 - Baltimore Sun

A rendering of the waterfront development, which shows a lit-up stage by the waterfront and people walking about.

Detroit to transform waterfront with $2.2 billion investment

Developers will convert about 18 acres of unused parking lot space into civic spaces.

October 2, 2026 - ABC 7

A woman in the snowy woods wraps two children in blankets.

U.S.-Iran war may have ‘devastating’ impact on cost to warm homes

Vermont and Maine residents may see a 76% increase in the cost of warming their homes this winter.

4 hours ago - Grist

Construction worker uses a power saw to cut through metal.

Senate bill would ‘overhaul’ environmental permitting laws

Under the proposed act, government agencies would also not be able to suspend or rescind permits after granting them.

5 hours ago - Smart Cities Dive

A person crossing the street between two residential buildings in NYC.

Exemption applications for NYC’s pied-à-terre tax see 55% success rate

The city sent nearly 40% of its initial pied-à-terre tax warnings erroneously.

6 hours ago - The City Reporter