Skip to content

nateschor/Linear-Baseball

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Linear-Baseball

Use Linear Programming to solve the following MLB optimization problem:

Objective: Based on the 2021 season, maximize each team's total Jeff Bagwell War

Constraints:

  • only 25 players allowed per team
    • 5 starting pitchers
    • 7 relief pitchers
    • 2 catchers
    • 5 infielders (at least 1 1B, 1 2B, 1 3B, and 1 SS)
    • 5 outfielders (at least 1 LF, 1 CF, and 1 RF)
    • 1 designated hitter
  • each team can only spend as much as they actually spent in 2021

The output will be the 25 players for each of the 30 teams (750 players in total, likely repeats) as well as their total war and salary

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published