Electoral College Optimization

The US Constitution establishes an indirect system to elect the president and vice president. People elect a college (a group) of electors that then elects the president. This used to be a non-issue and non-event for ages up until in November of 2000 the election was so close in Florida that it required waiting for a few weeks and a Supreme Court decision to decide the winner. Another eventful election happened in 2016 (sans the Supreme Court intervention).

The map shows the 2016 election result by state; in blue, states won by the Democratic candidate, and in red, states won by the Republican[1].

The system

Very briefly and high level: electors are assigned to states, one for each senator and one for each representative. Washington DC, which is not a state, gets 3 electors. There are in total 538 electors and a ticket needs a simple majority of 270 votes to win.

The problem

Most states (all but two, Nebraska and Maine [2]) have chosen to assign all electors from the state to the ticket with the most votes. This is known as a winner-take-all (WTA) system.

Since every state gets a number of representatives proportional to its population but a fixed number of 2 senators, very small states get a disproportionately high number of electors relative to their population. The extreme cases: California gets an elector for every 670,000 people and Wyoming gets one per 180,000 people. So, yes, a Wyomingite (yes, a voter in Wyoming, and yes I looked up that one) carries almost 4 times the value of a Californian voter.

The opportunity

Given all of the above, one can quickly realize that it is possible to get enough electors into the college without needing to win the “popular vote”. As mentioned this effectively happened in two of the last five presidential elections. One could take this realization further and try to win the electoral college with the lowest possible number of votes. I will explore this further.

Assumptions

I am doing this for fun and to maybe make more evident how much it is wrong with this, so I am making some simplifying assumptions:

  • all states are WTA states (sorry Nebraska and Maine, you are doing the right thing though, or close to it)
  • I am using population and votes indistinctly. So I am assuming the proportion of the population, registered voters, and voters are about the same across states (it is complicated because electors are assigned to states according to the population but only actual voters define the WTA)

A simplistic approach

Very simply sorting the states ascending on their people-to-elector ratio (column 4) from Wyoming to California we get[3]:


District Population Electors P/E
Wyoming 563,626 3 187,875.33
District of Columbia 601,723 3 200,574.33
Vermont 625,741 3 208,580.33
North Dakota 672,591 3 224,197.00
Alaska 710,231 3 236,743.67
Rhode Island 1,052,567 4 263,141.75
South Dakota 814,180 3 271,393.33
Delaware 897,934 3 299,311.33
New Hampshire 1,316,470 4 329,117.50
Montana 989,415 3 329,805.00
Maine 1,328,361 4 332,090.25
Hawaii 1,360,301 4 340,075.25
Nebraska 1,826,341 5 365,268.20
West Virginia 1,852,994 5 370,598.80
Idaho 1,567,582 4 391,895.50
New Mexico 2,059,179 5 411,835.80
Nevada 2,700,551 6 450,091.83
Utah 2,763,885 6 460,647.50
Kansas 2,853,118 6 475,519.67
Arkansas 2,915,918 6 485,986.33
Mississippi 2,967,297 6 494,549.50
Iowa 3,046,355 6 507,725.83
Connecticut 3,574,097 7 510,585.29
South Carolina 4,625,364 9 513,929.33
Minnesota 5,303,925 10 530,392.50
Alabama 4,779,736 9 531,081.78
Oklahoma 3,751,351 7 535,907.29
Kentucky 4,339,367 8 542,420.88
Oregon 3,831,074 7 547,296.29
Colorado 5,029,196 9 558,799.56
Washington 6,724,540 12 560,378.33
Louisiana 4,533,372 8 566,671.50
Wisconsin 5,686,986 10 568,698.60
Tennessee 6,346,105 11 576,918.64
Maryland 5,773,552 10 577,355.20
Arizona 6,392,017 11 581,092.45
Indiana 6,483,802 11 589,436.55
Massachusetts 6,547,629 11 595,239.00
Missouri 5,988,927 10 598,892.70
Georgia 9,687,653 16 605,478.31
Virginia 8,001,024 13 615,463.38
Michigan 9,883,640 16 617,727.50
New Jersey 8,791,894 14 627,992.43
Pennsylvania 12,702,379 20 635,118.95
North Carolina 9,535,483 15 635,698.87
Ohio 11,536,504 18 640,916.89
Illinois 12,830,632 20 641,531.60
Florida 18,801,310 29 648,321.03
Texas 25,145,561 38 661,725.29
New York 19,378,102 29 668,210.41
California 37,253,956 55 677,344.65
Generated by wpDataTables

(The table can be sorted by any column and the whole table will be shown by selecting “All” from the dropdown)

Taking the states in this order I start with Wyoming and I get 3 electors from a state with 563,626 people and I keep going down. Next is DC with another 3 electors and 601,723 people so a candidate getting those two states would get 6 electors from a population of 563,626+601,723=1,165,349. We keep adding electors and people until we get the needed 270 electors. We get to 271 electors by winning the top 40 states, the last one being Georgia with its 16 electors and 9,687,653 people. Yes, winning 40 states sounds like a lot but those 40 states are home to only 134,885,053 people, a mere 43% of the population! A candidate could win the electoral college by strategically losing the popular vote 43 to 57…

Shortcomings of the simplistic approach

Something to note is that in this case, the 40th state got us to 271 electors when we really needed 270 to secure a win (a very tight win). So we can wonder whether it is possible to get a better set of states that add up to 270 electors but fewer than 134,885,053 electors. One way to achieve this is to find a state with one fewer elector than Georgia (picking on Georgia only because it was the last state to squeeze in) but also at least one fewer resident.

And there is at least one such state: North Carolina, with 15 electors and 9,535,483 residents, 152,170 fewer people than Georgia. So we could replace Georgia with North Carolina and get a “better solution”: a set of states with fewer people that still let you win the electoral college.

Future work

In reality, there could be many other sets of states that also yield 270 electors and also are better than our simplistic solution. To find them and, more importantly, to find the best overall solution we should model this problem in mathematical form and formulate it as an optimization problem to be solved with mathematical programming.

I will do just that in a future post under the electoralcollege tag.

PS I noticed that the solution involves winning 40! states, another question to ask would be to see what the smallest number of states needed to win to get to 270 electors really is (guessing… 12 states?). What are other possible questions to ask?

PS2 I am using this post to learn how to add interactive tables to WordPress, I don’t like how pasted Excel tables look like. I am using TablePress. Also learning how to add maps, using SimpleMaps for this. Any better options?

Footnotes

[1] Interestingly enough, the colors were originally the opposite (red for Democrats and blue for Republicans, in the 19th century) and they remained like that for a long time until probably the mentioned election in 2000 (incredibly recent!) when all TV networks finally used the now accepted code of red for Republicans and blue for Democrats.

[2] Nebraska and Maine assign the two electors they get for their two senators as WTA and the electors they get for their representatives are voted at the representative district level. In 2016 Democrats won the 2 WTA electors in Maine but they split with Republicans for the 2 district-level electors, so Democrats won Maine 3 to 1.

[3] Change the column display o show all data, sort by the last column, and go down the table adding up the electors: with the first state you have 3, then with two 6, etc. When you get to at least 270 you stop and those are the states that allow you to win with the least population.

Balloons 728x90 Made Easy
Things that I use, like, and am affiliated with:
Google Fi offers great cell phone service in 120 countries, get $20 off using the link. Get discounted phones with service activation and no contract.
Uber and Lyft are offering discount rates on your first rides using the links.
AirBnB where you can be home anywhere in the world; get up to $55 off with the link.
I never spend money before I check Mr Rebates, Raise, Ebates or Honey to get cashbacks, rebates, discounts, coupons or cheaper gift cards.
Personal Capital is a free online financial tool that allows you to see all your money-related accounts and analyze allocation, performance, risk, fees, etc and decide and plan accordingly. Get $20 for opening an account with the link
This blog is hosted at Hostgator

One thought on “Electoral College Optimization”

Leave a Reply