Scholion.ai

When the Greedy Solution Solves a Class of Knapsack Problems

M. J. Magazine, G. L. Nemhauser, L. E. Trotter, Jr.

Operations Research · 1975 · Volume 23 · Issue 2

DOI: 10.1287/opre.23.2.207

Abstract

This paper analyzes a heuristic for the knapsack problem that recursively determines a solution by making a variable with smallest marginal unit cost as large as possible. Recursive necessary and sufficient conditions for the optimality of such “greedy” solutions and a “good” algorithm for verifying these conditions are given. Maximum absolute error for nonoptimal “greedy” solutions is also examined.

Enable JavaScript for citation tools and additional paper interactions.