Best Allocation Algorithm

Posted by shaju on Stack Overflow See other posts from Stack Overflow or by shaju
Published on 2010-04-22T08:36:50Z Indexed on 2010/04/22 21:33 UTC
Read the original article Hit count: 466

Filed under:

Hi,

I am looking for a best allocation algorithm for the below scenario.

We have requirement for say 18 pieces. I have the stock in my shelf as follows.

Bin A - 10 Bin B - 6 Bin C - 3 Bin D - 4

Algorithm should propose the bins in the following order

Bin A(10) , Bin D (4), Bin C (3)

Real scenario we have n number of bins with different quantities.We need to find the optimal combination. Objective is to maxmize the allocation quantity.

Can you please help.

Regards, Shaju

© Stack Overflow or respective owner

Related posts about algorithm