A Bin Packing like problem



Hello;
I need an advice on a problem i'm trying to solve.
Assume that we have a big fixed integer and some other integers. What
algorithm you would suggest for the closest total of those integers.
As an example;
Assume we have a big int 300 and we have other integers 10 - 39 - 31 -
84 etc.
We shall select some integers and then sum them up to get close to 300
as possible. We don't need to use all integers.

Thank you...

.



Relevant Pages

  • Re: Looking for a good number theory book with lots of theorems.
    ... I think this is very nice book especially for those who have a good computer science background (who of course did study a course in analysis and design of algorithm) ... but my advice this the book you should look for. ... Prev by Date: ...
    (sci.math)
  • Re: clustering?
    ... Are you asking for advice on how to ... structure the API, or are you asking how to use use a certain ... Prev by Date: ...
    (comp.ai)
  • trial version of software - serial number
    ... Does anyone know of any resources on creating trial version of your software ... I'm sure its some kind of algorithm ... Thanks for any advice! ... Prev by Date: ...
    (microsoft.public.dotnet.general)
  • Re: FP-style map over set
    ... advice on how to implement an algorithm, you have to specify the data structure that you want the algorithm to operate on. ... Or are you also asking for advice on how to implement the set ADT? ...
    (comp.lang.functional)
  • Re: rec.games.roguelike.development FAQ
    ... it's a pretty old FAQ that people in the community have ... I think it's more appropriate for the FAQ to talk about the design ... process than to give advice at the algorithm level. ...
    (rec.games.roguelike.development)

Loading