Special thanks to BenBrostoff. I currently use data from fantasyfootballanalytics.net as the criteria to optimize on.
Pre-reqs:
To run: Place dk-salaries.csv(from draftkings) and FFA-CustomRankings.csv( from fantasyfootballanalytics.net) in ./data folder
./optimize.py
Arguments can also be passed to run the optimizer multiple times while eliminating previous solutions. For instance, to run three different iterations and generate three different optimal rosters:
./optimize.py -i 3
To do:
- More data
- More constraints
- Support Different Start Times from one salary csv
- Different tuned solvers for specific DFS game types ie. GPP , H2H
- Optimal Bankroll Management and game mix