Uninteresting comment. You see critical, speculative comments that offer no technical insight on Hacker News all the time. I also doubt the article was read. Demonstrating actual effort and understanding would be more interesting.
This is a basic LP problem that you'll come across in a textbook.
By contrast, you effectively said, "Heh, I've seen fancier models. BTW, you can just plug your stuff into Google."
Well, yeah, for something so rudimentary. Use a library. Nothing to see here.