← Latest papers
🤖 AI

Constituency Optimisation Through Hamiltonian Representation Of Mandates (COTHROM): Algorithmic Redistricting of Irish Election Boundaries

This paper introduces COTHROM, a novel computational framework that applies statistical physics and multi-criterion decision analysis to algorithmically optimize Irish electoral redistricting under the PR-STV system by balancing competing constitutional objectives through a Potts Hamiltonian model.

Original authors: Ruaidhrí Campion, Matthew Fenlon, Joshua Cooney Mercedal, Casey Farren-Colloty, Eliza Somerville, Michael A. J. Mitchell

Published 2026-06-23
📖 5 min read🧠 Deep dive

Original authors: Ruaidhrí Campion, Matthew Fenlon, Joshua Cooney Mercedal, Casey Farren-Colloty, Eliza Somerville, Michael A. J. Mitchell

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine Ireland's map as a giant jigsaw puzzle made of thousands of tiny pieces called "Electoral Divisions." Every few years, the government has to redraw the lines that group these pieces together into larger "constituencies" so people can vote for their representatives.

The rules for this puzzle are strict but also vague. The Constitution says:

  1. Fairness: Every person should have roughly the same number of votes (Proportional Representation).
  2. Shape: The pieces should be packed tightly together, not stretched out like a snake (Compactness).
  3. Borders: Try not to cut through county lines (like not splitting a county in half).
  4. Connectivity: All pieces in a constituency must touch each other.

The problem is that these rules often fight each other. If you make a constituency perfectly fair in population, you might have to slice through a county line. If you keep the county lines perfect, the population might become unbalanced. Currently, humans draw these maps by hand, making judgment calls on how to balance these fights.

The Paper's Solution: COTHROM
The authors created a computer program called COTHROM (Constituency Optimisation Through Hamiltonian Representation Of Mandates) to solve this puzzle automatically. Here is how they did it, using some fun analogies:

1. The "Magnetic" Map (The Physics Analogy)

Instead of thinking of the map as a political problem, the authors treated it like a physics problem. Imagine every tiny puzzle piece (Electoral Division) is a tiny magnet.

  • Each magnet wants to belong to a specific group (constituency).
  • The "rules" of the election (fairness, shape, borders) act like magnetic forces.
    • If a group is too big or too small, the magnets feel a "push" to rearrange.
    • If a group is stretched out, the magnets feel a "pull" to snap back into a tight ball.
    • If a group crosses a county line, the magnets feel a "friction" penalty.

The computer calculates the total "energy" of the map. A map with bad boundaries has high energy (like a tense spring), and a good map has low energy (like a relaxed spring). The goal is to find the state where the map is most "relaxed."

2. The "Cooling" Process (Simulated Annealing)

How do you find the best arrangement among billions of possibilities? You can't just check them all.
The authors use a technique called Simulated Annealing, which is like cooling molten metal.

  • Hot: Imagine the magnets are vibrating wildly (high temperature). They jump around randomly, trying out crazy, messy map shapes. This helps the computer escape "bad" local solutions (like a map that looks okay but isn't the best).
  • Cooling Down: Slowly, the computer lowers the temperature. The magnets stop jumping so wildly and start settling into stable positions.
  • Frozen: By the time it's cold, the magnets have settled into the most efficient, lowest-energy arrangement possible.

3. The "Menu of Trade-offs" (Pareto Optimality)

Here is the tricky part: The law doesn't say how much to value fairness versus county borders. Should we care 50% about fairness and 50% about borders? Or 90% fairness?
Instead of guessing one "perfect" balance, the authors ran the computer many times with different "weights" (like turning a dial).

  • They didn't just give you one map.
  • They gave them a menu of the best possible maps (called a Pareto Front).
  • On this menu, every map is a "non-dominated" solution. This means: "If you want more fairness, you must accept less respect for county borders. If you want more respect for borders, you must accept less fairness."
  • This makes the trade-offs visible. It shows the decision-makers exactly what they are giving up to get something else.

4. What They Found (The Cork Test)

They tested this on County Cork.

  • They compared their computer-generated maps against the actual legal maps drawn by the Electoral Commission in 2023.
  • The Result: For almost every way of weighing the rules, the computer found maps that were better than the human-drawn ones. The computer maps had less population imbalance and were more compact, while still respecting the rules.
  • Note: The authors admit their computer didn't account for things like "community feelings" or specific rivers, which humans consider. But purely on the mathematical rules of the Constitution, the computer won.

Why This Matters

The paper argues that this method makes the process transparent and fair.

  • No Hidden Judgments: Currently, humans draw lines and say, "This is fair." No one can prove if a better map exists.
  • Auditability: With this code, anyone can see the math. You can say, "If we value county borders this much, here is the best possible map."
  • Reproducibility: Anyone can run the same code and get the same result, removing the guesswork from redistricting.

In short, the authors built a "magnetic puzzle solver" that shows us exactly how hard it is to balance the rules of Irish elections, proving that computers can find better, more mathematically perfect maps than the current manual process.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →