TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: Fantasy Sports Solved through Dynamic Programming

19 pointsby bjplessover 11 years ago

6 comments

kylebrownover 11 years ago
I made a python tool for doing this a couple of weeks ago. It solves the &quot;knapsack problem with multiple constraints&quot;, using the OpenOpt knapsack module. Find the maximum sum of FPPG (fantasy points per game), with the constraints of $60k (fantasy) salary sum, and player positions.<p>It didn&#x27;t work very well though, my generated NBA picks finished in the bottom 50% on FanDuel. For the next iteration, I&#x27;m going to try optimizing for MPG (minutes per game).<p>Fantasy betting has the benefit of a legal loophole, so it&#x27;s growing much quicker than traditional sportsbook line betting.
acconradover 11 years ago
Ha, I used to work at StarStreet - Rotogrinders has a similar tool, and you can bet people have intense spreadsheets to help them make their decisions; how has this tool been performing in the NBA season?
kohanzover 11 years ago
Congrats on launching! Nice looking site, too. Was this a scratch-your-own-itch type of project? Did you do it on the side? I&#x27;d be interested to hear where it came from and where it&#x27;s headed.
评论 #7272408 未加载
triplenineteenover 11 years ago
This looks really nice. I wrote something similar for personal use during the NFL season. Selfishly, I hope no one finds out about this.
评论 #7272669 未加载
wtpiuover 11 years ago
your optimal lineup for today has danilo as a SF, projected to get 27+ points, but he hasn&#x27;t played a game all season, and is out tonight... which makes me wonder...<p>what data are you using to project averages? 2012-2013 season?
评论 #7272924 未加载
hoopismover 11 years ago
Nice work. My brother has been doing this manually for sometime... useful tool.
评论 #7272299 未加载