Maintenance - We're currently working on things and you might experience some issues. Should be wrapped up soon!

This post has been de-listed

It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.

1
How can you find the clinching and elimination of baseball teams from the playoffs?
Post Flair (click to view more posts with a particular flair)
Post Body

Context

I'm a baseball fan. As the regular seasons comes to an end, some teams clinch their spot in the postseason and others are guaranteed to not make it. Most of the times I see that a team was eliminated (as an /r/baseball post) it was someone doing the problem by hand. I'm trying to find a generic algorithm, and one that can run in a reasonable amount of time. Maybe this is more of a programming problem, but I'm asking here since the math is pretty tough.

Problem

Major League Baseball has 30 teams split into two leagues (American League and National League), each split into three divisions (East, Central, West). Teams enter the playoffs when they a) have the best score in their division (winning the division) or b) have the best or second best score in their league among teams not winning their division (wildcard). Given the current standings and remaining schedule, find the teams that are assured a place in the playoffs and those that are assured elimination.

Alternatives

It's much easier from a probabilistic approach. This is what FanGraphs does. They simulate the rest of the reason (as coin flips or a more informed way) 10,000 times and then report the percentages. This is how teams can have a 100% post season chance on their site while not yet being mathematically locked in. It's just they made it in 10,000/10,000 simulations.

Attempts

I tried brute force, with at least considering remaining matchups as one number. Teams that play each other 7 times have 8 ways to share the wins, rather than 128 (2**7) unique orderings. Still, the combinatorial space is just way too high. I'd estimate 10**40 was the best I could do. The splitting of division winners and wildcards made narrowing the space beyond my abilities.

Prior Work

I found a paper, some slides and a blog post. All of them take the approach of looking at it as a max flow graph problem, which I think is the way to go. The downside is they all take on calculating not winning the division, a much easier problem! The wildcard is the wildcard.

Author
Account Strength
100%
Account Age
8 years
Verified Email
Yes
Verified Flair
No
Total Karma
110,891
Link Karma
17,774
Comment Karma
86,300
Profile updated: 15 hours ago
Posts updated: 8 months ago

Subreddit

Post Details

We try to extract some basic information from the post title. This is not always successful or accurate, please use your best judgement and compare these values to the post title and body for confirmation.
Posted
3 years ago