
Create
Design Project Gallery
Lineup Optimization
- Program: Computer Science
- Course: EN.601.513 Group Undergraduate Project
- Year: 2026
Project Description:
We created a lineup optimization system that models an MLB batting order as a Markov chain over twenty four base out states. Each batter’s contribution is quantified through Baserunner-Dependent Net Run Production (BRP), a four-batter window metric that captures the context-dependent value missed by traditional statistics such as OPS or wRC+. An exhaustive search over all 9! = 362,880 permutations identifies the optimal batting order, which is then compared against actual manager decisions across the full MLB schedule.


