Most Popular Package Design and NP-Hard Problem

Authors

  • Yangjun Chen Department of Applied Computer Science, University of Winnpeg, Canada.
  • Bobin Chen Department of Applied Computer Science, University of Winnpeg, Canada.

DOI:

https://doi.org/10.9734/bpi/nramcs/v8/3788E

Keywords:

Data mining, single package design, trie, NP-hard, time complexity analysis, MINSAT

Abstract

Given a set of items, and a set of user preferences, we investigate the problem of designing a most popular package (or say, a pattern), i.e., a subset of items that maximizes the number of satisfied users. It is a typical problem of data mining. In this paper, we address this issue and propose an efficient algorithm for solving the problem based on a graph structure, called a p*-graph, used to represent the preference of a user, by which a lot of useless checks can be avoided. The time complexity of the algorithm is bounded by O(n2m3), where m is the number of items (or say, attributes) and n is the number of user preferences. Since the problem is essentially NP-hard, the algorithm discussed in this chapter in fact provides a proof of P = NP . CCS Concepts: \(\bullet\) Theory of computation \(\to\) Minimum satisfiability problem.

Published

2022-10-01

How to Cite

Yangjun Chen, & Bobin Chen. (2022). Most Popular Package Design and NP-Hard Problem. Novel Research Aspects in Mathematical and Computer Science Vol. 8, 74–89. https://doi.org/10.9734/bpi/nramcs/v8/3788E