List Of Knapsack Problems

The knapsack problem is one of the most studied problems in combinatorial optimization, with many real-life applications.

For this reason, many special cases and generalizations have been examined.

Common to all versions are a set of n items, with each item having an associated profit pj and weight wj. The binary decision variable xj is used to select the item. The objective is to pick some of the items, with maximal total profit, while obeying that the maximum total weight of the chosen items must not exceed W. Generally, these coefficients are scaled to become integers, and they are almost always assumed to be positive.

The knapsack problem in its most basic form:

maximize
subject to

Direct generalizations

One common variant is that each item can be chosen multiple times. The bounded knapsack problem specifies, for each item j, an upper bound uj (which may be a positive integer, or infinity) on the number of times item j can be selected:

maximize List Of Knapsack Problems 
subject to List Of Knapsack Problems 
List Of Knapsack Problems  integral for all j

The unbounded knapsack problem (sometimes called the integer knapsack problem) does not put any upper bounds on the number of times an item may be selected:

maximize List Of Knapsack Problems 
subject to List Of Knapsack Problems 
List Of Knapsack Problems  integral for all j

The unbounded variant was shown to be NP-complete in 1975 by Lueker. Both the bounded and unbounded variants admit an FPTAS (essentially the same as the one used in the 0-1 knapsack problem).

If the items are subdivided into k classes denoted List Of Knapsack Problems , and exactly one item must be taken from each class, we get the multiple-choice knapsack problem:

maximize List Of Knapsack Problems 
subject to List Of Knapsack Problems 
List Of Knapsack Problems  for all List Of Knapsack Problems 
List Of Knapsack Problems  for all List Of Knapsack Problems  and all List Of Knapsack Problems 

If for each item the profit and weight are equal, we get the subset sum problem (often the corresponding decision problem is given instead):

maximize List Of Knapsack Problems 
subject to List Of Knapsack Problems 
List Of Knapsack Problems 

If we have n items and m knapsacks with capacities List Of Knapsack Problems , we get the multiple knapsack problem:

maximize List Of Knapsack Problems 
subject to List Of Knapsack Problems  for all List Of Knapsack Problems 
List Of Knapsack Problems  for all List Of Knapsack Problems 
List Of Knapsack Problems  for all List Of Knapsack Problems  and all List Of Knapsack Problems 

As a special case of the multiple knapsack problem, when the profits are equal to weights and all bins have the same capacity, we can have multiple subset sum problem.

Quadratic knapsack problem:

maximize List Of Knapsack Problems 
subject to List Of Knapsack Problems 
List Of Knapsack Problems  for all List Of Knapsack Problems 

Set-Union Knapsack Problem:

SUKP is defined by Kellerer et al (on page 423) as follows:

Given a set of List Of Knapsack Problems  items List Of Knapsack Problems  and a set of List Of Knapsack Problems  so-called elements List Of Knapsack Problems , each item List Of Knapsack Problems  corresponds to a subset List Of Knapsack Problems  of the element set List Of Knapsack Problems . The items List Of Knapsack Problems  have non-negative profits List Of Knapsack Problems , List Of Knapsack Problems , and the elements List Of Knapsack Problems  have non-negative weights List Of Knapsack Problems , List Of Knapsack Problems . The total weight of a set of items is given by the total weight of the elements of the union of the corresponding element sets. The objective is to find a subset of the items with total weight not exceeding the knapsack capacity and maximal profit.

Multiple constraints

If there is more than one constraint (for example, both a volume limit and a weight limit, where the volume and weight of each item are not related), we get the multiple-constrained knapsack problem, multidimensional knapsack problem, or m-dimensional knapsack problem. (Note, "dimension" here does not refer to the shape of any items.) This has 0-1, bounded, and unbounded variants; the unbounded one is shown below.

maximize List Of Knapsack Problems 
subject to List Of Knapsack Problems  for all List Of Knapsack Problems 
List Of Knapsack Problems , List Of Knapsack Problems  integer for all List Of Knapsack Problems 

The 0-1 variant (for any fixed List Of Knapsack Problems ) was shown to be NP-complete around 1980 and more strongly, has no FPTAS unless P=NP.

The bounded and unbounded variants (for any fixed List Of Knapsack Problems ) also exhibit the same hardness.

For any fixed List Of Knapsack Problems , these problems do admit a pseudo-polynomial time algorithm (similar to the one for basic knapsack) and a PTAS.

Knapsack-like problems

If all the profits are 1, we will try to maximize the number of items which would not exceed the knapsack capacity:

maximize List Of Knapsack Problems 
subject to List Of Knapsack Problems 
List Of Knapsack Problems  List Of Knapsack Problems 

If we have a number of containers (of the same size), and we wish to pack all n items in as few containers as possible, we get the bin packing problem, which is modelled by having indicator variables List Of Knapsack Problems  container i is being used:

minimize List Of Knapsack Problems 
subject to List Of Knapsack Problems  List Of Knapsack Problems 
List Of Knapsack Problems  List Of Knapsack Problems 
List Of Knapsack Problems  List Of Knapsack Problems 
List Of Knapsack Problems  List Of Knapsack Problems 

The cutting stock problem is identical to the bin packing problem, but since practical instances usually have far fewer types of items, another formulation is often used. Item j is needed Bj times, each "pattern" of items which fit into a single knapsack have a variable, xi (there are m patterns), and pattern i uses item j bij times:

minimize List Of Knapsack Problems 
subject to List Of Knapsack Problems  for all List Of Knapsack Problems 
List Of Knapsack Problems  for all List Of Knapsack Problems 

If, to the multiple choice knapsack problem, we add the constraint that each subset is of size n and remove the restriction on total weight, we get the assignment problem, which is also the problem of finding a maximal bipartite matching:

maximize List Of Knapsack Problems 
subject to List Of Knapsack Problems  for all List Of Knapsack Problems 
List Of Knapsack Problems  for all List Of Knapsack Problems 
List Of Knapsack Problems  for all List Of Knapsack Problems  and all List Of Knapsack Problems 

In the Maximum Density Knapsack variant there is an initial weight List Of Knapsack Problems , and we maximize the density of selected items which do not violate the capacity constraint:

maximize List Of Knapsack Problems 
subject to List Of Knapsack Problems 
List Of Knapsack Problems  List Of Knapsack Problems 

Although less common than those above, several other knapsack-like problems exist, including:

  • Nested knapsack problem
  • Collapsing knapsack problem
  • Nonlinear knapsack problem
  • Inverse-parametric knapsack problem

The last three of these are discussed in Kellerer et al's reference work, Knapsack Problems.

References

Tags:

List Of Knapsack Problems Direct generalizationsList Of Knapsack Problems Multiple constraintsList Of Knapsack Problems Knapsack-like problemsList Of Knapsack ProblemsCombinatorial optimizationKnapsack problem

🔥 Trending searches on Wiki English:

ItalyNick JonasMay DayLara Flynn BoyleBeef (TV series)Parrondo's paradoxNetflix2023 Cricket World CupArtificial intelligenceAaron RodgersKeanu ReevesNew York CityVed (film)FacebookSwitzerlandGiannis AntetokounmpoJeff StellingBarry HumphriesBrittney GrinerTom BradyBook Review IndexRufus SewellTwisted Metal (TV series)Alexander MolonyPirates of the Caribbean (film series)Tony FinauNick HerbigCharles IIIJames Joseph DresnokStar WarsJioCinemaJesusFormula OneOlivia WildeCarlos Alcaraz2023 FIBA Basketball World CupList of UFC eventsGolden State WarriorsXXXMicrosoft WindowsAre You There God? It's Me, Margaret. (film)De'Aaron FoxTamerlan TsarnaevHereditary (film)Donte DiVincenzoRashee RiceJack BlackElizabeth IIJoey PorterJennifer LawrenceJane FondaPink (singer)Millie Bobby Brown2023 Formula 2 ChampionshipAlia BhattDonald TrumpKatee SackhoffKu Klux KlanBob OdenkirkVarginha UFO incidentShah Rukh KhanPinkerton (detective agency)Brett GoldsteinSweet Tooth (TV series)EFL League TwoRebecca BroussardList of American films of 2023Erling HaalandMarisa TomeiC (programming language)Vietnam War2023 Sudan conflictRavanasura (film)The Green Mile (film)LondonWikiRyan Mason🡆 More