An extension of a greedy heuristic for the knapsack problem (Q1178644)

From MaRDI portal
Revision as of 11:44, 15 May 2024 by ReferenceBot (talk | contribs) (‎Changed an Item)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
scientific article
Language Label Description Also known as
English
An extension of a greedy heuristic for the knapsack problem
scientific article

    Statements

    An extension of a greedy heuristic for the knapsack problem (English)
    0 references
    26 June 1992
    0 references
    A new heuristic for the knapsack problem which may be formulated in the following way is analyzed: Find nonnegative integers \(x_ 1,\dots,x_ n\) such that \(a_ 1x_ 1+\cdots+a_ nx_ n\leq b\) and \(p_ 1x_ 1+\cdots+p_ nx_ n\) is maximized where \(p_ 1/a_ 1\geq p_ 2/a_ 2\geq\cdots\geq p_ n/a_ n\). This heuristic \(H_ 2\) gets the maximal value by allocating \(b\) only to activities 1, 2 with, perhaps, some residual. The residual is then allocated to activities 3, 4 in an optimal manner, leaving, perhaps, a residual, etc. It extends the well-known greedy heuristic \(H_ 1\) which first allocates activity 1 in an optimal way, then activity 2, etc. It is shown that neither one of these two heuristics dominates the other. Furthermore, the performance of \(H_ 2\) is analyzed and necessary and sufficient conditions for \(H_ 2\) to be optimal are given.
    0 references
    heuristic
    0 references
    knapsack problem
    0 references
    greedy heuristic
    0 references
    0 references
    0 references

    Identifiers