I'd be interested in PHP-specific solutions, or general reading, on this "knapsack-like" problem.
I have a series of numeric values /s/, and a few values /t/ which need to be matched against entries from /s/. The values in /t/ are sums of one or several values from /s/. How to quickly identify the combinations of /s/-values which potentially result in a given /t/ sum? --~--~---------~--~----~------------~-------~--~----~ NZ PHP Users Group: http://groups.google.com/group/nzphpug To post, send email to [email protected] To unsubscribe, send email to [EMAIL PROTECTED] -~----------~----~----~----~------~----~------~--~---
