Willie Wong wrote: > On Mon, Nov 02, 2009 at 09:49:06PM +0100, Penguin Lover Erik squawked: > >> Is there some simple little program to solve assignment problems? >> Suppose that someone bought k meat (160), m fish (30) and n milk (15) >> for 700. So it should solve the equation k * 160 + m * 30 + n * 15 = >> 700. (A solution happens to be k = 4, m = 2, n = 0. An additional >> condition could be that he bought at most 6 items; k + m + n <= 6. That >> would eliminate solutions like k = 4, m = 0, n = 4.) >> > > An odd question deserves an odd answer: try Metafont. Donald Knuth > implemented in it a general linear equation solver / inequality > optimizer, though learning the syntax can be a little bit tricky. > > W > >
And maybe it will be easier to just do his own homework instead of letting a computer do it for him. I would like to see how he cheats on test day tho. Think he can bring his puter with him? Dale :-) :-)

