New Algorithm Solves Complex Packing Problems Better Than Ever
This could make shipping, scheduling, and resource allocation faster and cheaper.
The quadratic knapsack problem seeks a subset of items with maximum total linear and pairwise profit under a capacity limit. Most QKP heuristics rank items by profit-to-weight ratio, but the article shows on benchmark instances that this ranking can steer search away from best known solutions, and that on an almost full knapsack a local optimum can be separated from a better solution by an exchange where every single swap loses profit. SSGA-P, a steady-state genetic algorithm with pair exchange, addresses both effects: its initial population uses greedy solutions built with a grid of exponents between 0.5 and 3 on item weights, and its pair exchange combines an improving capacity-violating swap
- The new algorithm, SSGA-P, solves the quadratic knapsack problem more reliably than previous methods, finding optimal or near-optimal solutions in almost all tests.
- It introduces two key techniques: multi-ratio seeding (starting with diverse initial solutions) and pair exchange (swapping items in pairs to improve solutions).
- On benchmark tests, it improved 20 best known solutions and matched the rest, showing real progress in solving complex optimization problems.
Why It Matters
Better algorithms for complex selection problems can lead to cost savings and efficiency in logistics, finance, and resource allocation.