Interesting Optimization Problem

Hi!

In an application, I have come across the following interesting problem.

There are 'n' integers x1, x2, x3, ... xn. (0 < n <= 60) and (200 <= xi <= 1800)

We have to arrange them in 'm' groups so that in each group, the sum of x's <= 1800.

Problem is to minimize 'm' (the number of groups that we have to form).

I shall be grateful if I can get any ideas on it. Time Complexity is not much
constraint so long as it remains within reasonable limits (the user doesn't have to wait too long for the answer).

Thanks
Last edited on
Google for "one-dimensional bin packing problem"
ok will do so, thanks jlborges
Topic archived. No new replies allowed.