## Abstract

We consider a known variant of bin packing called cardinality constrained bin packing, also called bin packing with cardinality constraints (BPCC). In this problem, there is a parameter k≥2, and items of rational sizes in [0,1] are to be packed into bins, such that no bin has more than k items or total size larger than 1. The goal is to minimize the number of bins. A recently introduced concept, called the price of clustering, deals with inputs that are presented in a way that they are split into clusters. Thus, an item has two attributes which are its size and its cluster. The goal is to measure the relation between an optimal solution that cannot combine items of different clusters into bins, and an optimal solution that can combine items of different clusters arbitrarily. Usually the number of clusters may be large, while clusters are relatively small, though not trivially small. Such problems are related to greedy bin packing algorithms, and to batched bin packing, which is similar to the price of clustering, but there is a constant number of large clusters. We analyze the price of clustering for BPCC, including the parametric case with bounded item sizes. We discuss several greedy algorithms for this problem that were not studied in the past, and comment on batched bin packing.

Original language | English |
---|---|

Pages (from-to) | 213-229 |

Number of pages | 17 |

Journal | Theoretical Computer Science |

Volume | 942 |

DOIs | |

State | Published - 9 Jan 2023 |

### Bibliographical note

Publisher Copyright:© 2022 Elsevier B.V.

## Keywords

- Asymptotic approximation ratio
- Bin packing
- Price of clustering

## ASJC Scopus subject areas

- Theoretical Computer Science
- General Computer Science