Re: Packing problem
- From: "news.skynet.be" <bob@bob>
- Date: Tue, 31 Jan 2006 18:53:05 +0100
<gwlucky@xxxxxxxxxx> wrote
> Two questions:
>
> One item per bin?
> Define what you mean by "variance".
>
> Interesting problem.
>
Example:
Number of bins: 3
Item lengths: 10,10,7,6,6,5,4,3,3,2
My silly heuristic then comes op with the following distribution:
Bin 1: 10+5+3=18
Bin 2: 10+6+3=19
Bin 3: 7+6+4+2=19
Mean = (1/3)(18+19+19) = 18.667
Variance = (1/3)[(18-18.667)^2+(19-18.667)^2+(19-18.667)^2]
I guess my silly heuristic might even not be that silly (it's the optimal
solution in this case), but this simple problem has probably been
extensively covered somewhere...
.
- Follow-Ups:
- Re: Packing problem
- From: gwlucky
- Re: Packing problem
- References:
- Packing problem
- From: news.skynet.be
- Re: Packing problem
- From: gwlucky
- Packing problem
- Prev by Date: Re: Packing problem
- Next by Date: Re: Help with recursion
- Previous by thread: Re: Packing problem
- Next by thread: Re: Packing problem
- Index(es):
Relevant Pages
|
|