rajshah4 / linear-optimization-fantasy-football

Using lpSolve library to find perfect DraftKings lineup

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

linear-optimization-fantasy-football

Function to build an optimal fantasy football team. See file 2016week8sun.csv for example input data.

Useful for post hoc analysis. Can also be used to construct optimal lineups based on projected points.
Optional parameter to delete players (usually outliers that were projected very low, or to iterate through next best lineups)
Optional parameter to set minimum salary

About

Using lpSolve library to find perfect DraftKings lineup


Languages

Language:R 100.0%