Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

There's no need to solve the distribution balancing problem with linear programming. You can just use a greedy algorithm where you repeatedly give probability mass from numbers with more than 10% to numbers with less.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: