EconPapers    
Economics at your fingertips  
 

Exact Solution of the Knapsack Problem

Hans Kellerer (), Ulrich Pferschy () and David Pisinger ()
Additional contact information
Hans Kellerer: University of Graz, Department of Statistics and Operations Research
Ulrich Pferschy: University of Graz, Department of Statistics and Operations Research
David Pisinger: University of Copenhagen, DIKU, Department of Computer Science

Chapter 5 in Knapsack Problems, 2004, pp 117-160 from Springer

Abstract: Abstract Assume that a set of n items is given, each item j having an integer profit p j and an integer weight w j . The knapsack problem asks to choose a subset of the items such that their overall profit is maximized, while the overall weight does not exceed a given capacity c. Introducing binary variables x j to indicate whether item j is included in the knapsack or not the model may be defined: (5.1) $$ {\rm{(KP)}}\,{\rm{maximize}}\;\sum\limits_{j = 1}^n {{p_j}{x_j}} $$ (5.2) $$ {\rm{subject}}\;{\rm{to}}\;\sum\limits_{j = 1}^n {{w_j}{x_j}} \le c,$$ (5.3) $$ {x_j} \in \left\{ {0,1} \right\},\;j = 1,...,n.$$

Keywords: Dynamic Programming; Knapsack Problem; Cardinality Constraint; Core Problem; Dynamic Programming Recursion (search for similar items in EconPapers)
Date: 2004
References: Add references at CitEc
Citations:

There are no downloads for this item, see the EconPapers FAQ for hints about obtaining it.

Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.

Export reference: BibTeX RIS (EndNote, ProCite, RefMan) HTML/Text

Persistent link: https://EconPapers.repec.org/RePEc:spr:sprchp:978-3-540-24777-7_5

Ordering information: This item can be ordered from
http://www.springer.com/9783540247777

DOI: 10.1007/978-3-540-24777-7_5

Access Statistics for this chapter

More chapters in Springer Books from Springer
Bibliographic data for series maintained by Sonal Shukla () and Springer Nature Abstracting and Indexing ().

 
Page updated 2026-08-12
Handle: RePEc:spr:sprchp:978-3-540-24777-7_5