HNHacker News
TopNewBestAskShowJobs

nukedukem

3 karma · joined July 5, 2012

submissionscomments
nukedukem··on Minimize your cloud costs with GLPK and Haskell
Maximize[...], Minimize[...], LinearProgramming[...] thats it... But Mathematica costs money.

Example:

Minimize[{x + 2 y, -5 x + y == 7 && x + y >= 26 && x >= 3 && y >= 4}, {x, y}] LinearProgramming[{1, 2}, {{-5, 1}, {1, 1}}, {{7, 0}, {26, 1}}, {{3, Infinity}, {4, Infinity}}]