Re: Newbie Sorting Question
- From: Jean-Claude Arbaut <jean-claude.arbaut@xxxxxxxxxxx>
- Date: Mon, 20 Jun 2005 12:45:03 +0200
On 20/06/2005 12:35, Chris Paterson wrote:
> Hi,
>
> I have a block of 100 random numbers adding up to 100 in value. I would
> like to group this data into 4 blocks of approximately equal size and
> value - ie. 25 and 25
>
> Bit stuck. I am looking for what sort of methods I could use to do this
> (I am using VB and Excel97).
Looks like a knapsack problem. You may write a recursive function to solve
this, it's not very difficult.
.
- References:
- Newbie Sorting Question
- From: Chris Paterson
- Newbie Sorting Question
- Prev by Date: Newbie Sorting Question
- Next by Date: Re: Re : The benefits of recursive programming
- Previous by thread: Newbie Sorting Question
- Index(es):
Relevant Pages
|