Hacker News new | past | comments | ask | show | jobs | submit login

The vast majority of the code I wrote is setting up the problem (which has 15 vars and 27 constraints), not solving it. I.e., those list comprehensions are a way of writing 9 constraints on a single line.

To demonstrate mathematica is easier, you need to demonstrate that it's similarly easy to translate the problem from a verbal specification to an LP problem. Solving LP is the easy part.




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

Search: