Re: Help in SQL to balance the values ... ?

From: Robert Klemme <shortcutter_at_googlemail.com>
Date: Mon, 24 Dec 2012 12:48:40 +0100
Message-ID: <ajqtooFhvbqU1_at_mid.individual.net>



On 12/24/2012 09:52 AM, Nova wrote:

> I know it is difficult to explain, the idea is I have F that have
> amount and I have M that have capacity, I want distribute the amount
> to capacity depend on the links. I write the logic by subtract the
> amount from capacity, in the last I have 10 capacity in M3 not used.
>
> I hope it clear.

Not really. Are you talking about
http://en.wikipedia.org/wiki/Knapsack_problem ?

Cheers

        robert Received on Mon Dec 24 2012 - 12:48:40 CET

Original text of this message