Keywords:
In article <o1kqt3heoigj6tmv64qdh6t8q0nquti64g@[EMAIL PROTECTED]
>, Don Wiss
<donwiss@[EMAIL PROTECTED]
> wrote:
>On Sun, 16 Mar 2008 15:12:37 GMT, gwhite@[EMAIL PROTECTED]
(Doug White) wrote:
>
>>For inputs, there will be the desired postage, and a vector of available
>>stamp values. I figure you want to start with multiples of the highest
>>stamp value, and then work your way down in value(s) to minimize the
>>number of stamps. Other possible inputs could be the maximum number of
>>stamps acceptable and the "comparison tolerance" of how much over the
>>exact amount is OK.
>
>I have written something similar. It looks at a bunch of folders in a
>folder and finds the best fit that is just less than the size of the DVD
>that I want to burn them to. The logic I follow is a bit hard to explain
>here. It is in APL+Win 7.2. I don't think it will load under version 5.
So
>I've sent you PDF printouts of the two main functions. They are amply
>commented.
Thanks Don! I've got them, and will go through them and try to sort out
the underlying logic. It's a little different problem, but should be
similar enough to the stamp problem to be a help. The big difference is
that you wouldn't put multiple copies of a file on a DVD.
Doug White


|