1 |
On Mon, Nov 02, 2009 at 09:49:06PM +0100, Penguin Lover Erik squawked: |
2 |
> Is there some simple little program to solve assignment problems? |
3 |
> Suppose that someone bought k meat (160), m fish (30) and n milk (15) |
4 |
> for 700. So it should solve the equation k * 160 + m * 30 + n * 15 = |
5 |
> 700. (A solution happens to be k = 4, m = 2, n = 0. An additional |
6 |
> condition could be that he bought at most 6 items; k + m + n <= 6. That |
7 |
> would eliminate solutions like k = 4, m = 0, n = 4.) |
8 |
|
9 |
An odd question deserves an odd answer: try Metafont. Donald Knuth |
10 |
implemented in it a general linear equation solver / inequality |
11 |
optimizer, though learning the syntax can be a little bit tricky. |
12 |
|
13 |
W |
14 |
|
15 |
-- |
16 |
Do you think paper grow on trees? |
17 |
~Sarah Grant. To Tal Zamir, after Prof Cutts commented on Tal's |
18 |
requesting the third copy of one handout... |
19 |
Sortir en Pantoufles: up 1060 days, 23:36 |