Skip to main content
Log in

The Clever Shopper Problem

  • Published:
Theory of Computing Systems Aims and scope Submit manuscript

Abstract

We investigate a variant of the so-called Internet Shopping problem introduced by Blazewicz et al. (Appl. Math. Comput. Sci. 20, 385–390, 2010), where a customer wants to buy a list of products at the lowest possible total cost from shops which offer discounts when purchases exceed a certain threshold. Although the problem is NP-hard, we provide exact algorithms for several cases, e.g. when each shop sells only two items, and an FPT algorithm for the number of items, or for the number of shops when all prices are equal. We complement each result with hardness proofs in order to draw a tight boundary between tractable and intractable cases. Finally, we give an approximation algorithm and hardness results for the problem of maximising the sum of discounts

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3

Similar content being viewed by others

References

  1. Altmanová, K., Knop, D., Koutecký, M.: Evaluating and tuning n-fold integer programming. In: D’Angelo, G. (ed.) 17th International Symposium on Experimental Algorithms, SEA 2018, June 27-29, 2018, L’Aquila, Italy, vol. 103 of LIPIcs, Schloss Dagstuhl - Leibniz-Zentrum fuer Informatik, pp. 10:1–10:14 (2018)

    Article  MathSciNet  Google Scholar 

  2. Assmann, S., Johnson, D., Kleitman, D., Leung, J.-T.: On a dual version of the one-dimensional bin packing problem. J. Algorithms 5, 502–525 (1984)

    Article  MathSciNet  Google Scholar 

  3. Berman, P., Karpinski, M., Scott, A.D.: Approximation hardness of short symmetric instances of MAX-3SAT electronic colloquium on computational complexity (ECCC) (2003)

  4. Blazewicz, J., Kovalyov, M.Y., Musial, J., Urbanski, A.P., Wojciechowski, A.: Internet shopping optimization problem. Appl. Math. Comput. Sci. 20, 385–390 (2010)

    MATH  Google Scholar 

  5. Blazewicz, J., Bouvry, P., Kovalyov, M.Y., Musial, J.: Internet shopping with price sensitive discounts. 4OR 12, 35–48 (2014)

    Article  MathSciNet  Google Scholar 

  6. Blazewicz, J., Cheriere, N., Dutot, P.-F., Musial, J., Trystram, D.: Novel dual discounting functions for the internet shopping optimization problem: new algorithms. J. Sched. 19, 245–255 (2016)

    Article  MathSciNet  Google Scholar 

  7. Bodlaender, H.L., Jansen, B.M.P., Kratsch, S.: Kernelization lower bounds by cross-composition. SIAM J. Discrete Math. 28, 277–305 (2014)

    Article  MathSciNet  Google Scholar 

  8. Bulteau, L., Hermelin, D., Labarre, A., Vialette, S.: The clever shopper problem. In: Fomin, F.V., Podolskii, V.V. (eds.) Computer Science - Theory and Applications - 13th International Computer Science Symposium in Russia, CSR 2018, Moscow, Russia, Proceedings, vol. 10846 of Lecture Notes in Computer Science, pp. 53–64. Springer, Berlin (2018)

    Chapter  Google Scholar 

  9. Cesati, M.: Perfect code is W[1]-complete. Inf. Process. Lett. 81, 163–168 (2002)

    Article  MathSciNet  Google Scholar 

  10. Chatzigiannakis, I., Kaklamanis, C., Marx, D., Sannella, D. (eds.): 45th International Colloquium on Automata, Languages, and Programming, ICALP 2018, July 9-13, 2018, Prague, Czech Republic, vol. 107 of LIPIcs Schloss Dagstuhl - Leibniz-Zentrum fuer Informatik (2018)

  11. Edmonds, J.: Paths, trees and flowers. Can. J. Math., 449–467 (1965)

    Article  MathSciNet  Google Scholar 

  12. Eisenbrand, F., Hunkenschröder, C., Klein, K.: Faster algorithms for integer programs with block structure. In: Chatzigiannakis et al. [10], pp. 49:1–49:13

  13. Gabow, H.N.: A note on degree-constrained star subgraphs of bipartite graphs. Inf. Process. Lett. 5, 165–167 (1976)

    Article  MathSciNet  Google Scholar 

  14. Gonzalez, T.F.: Clustering to minimize the maximum intercluster distance, Theor. Comput. Sci. 38, 293–306 (1985)

    MathSciNet  MATH  Google Scholar 

  15. Hemmecke, R., Onn, S., Romanchuk, L.: N-fold integer programming in cubic time. Math. Program. 137, 325–341 (2013)

    Article  MathSciNet  Google Scholar 

  16. Jansen, K., Kratsch, S., Marx, D., Schlotter, I.: Bin packing with fixed number of bins revisited. J. Comput. Syst. Sci. 79, 39–49 (2013)

    Article  MathSciNet  Google Scholar 

  17. Karp, R.M.: Reducibility among combinatorial problems. In: Miller, R.E., Thatcher, J.W. (eds.) Proceedings of a Symposium on the Complexity of Computer Computations, The IBM Research Symposia Series, pp. 85–103, Plenum Press (1972)

  18. Knop, D., Koutecký, M., Mnich, M.: Combinatorial n-fold integer programming and applications. In: Pruhs, K., Sohler, C. (eds.) 25th Annual European Symposium on Algorithms, ESA 2017, September 4-6, 2017, Vienna, Austria, vol. 87 of LIPIcs, Schloss Dagstuhl - Leibniz-Zentrum fuer Informatik, pp. 54:1–54:14 (2017)

  19. Koutecký, M, Levin, A, Onn, S: A parameterized strongly polynomial algorithm for block structured integer programs, In: Chatzigiannakis et al. [10], pp. 85:1–85:14

  20. van Bevern, R., Komusiewicz, C., Niedermeier, R., Sorge, M., Walsh, T.: H-index manipulation by merging articles: models, theory, and experiments. Artif. Intell. 240, 19–35 (2016)

    Article  MathSciNet  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Anthony Labarre.

Additional information

Publisher’s Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

This article is part of the Topical Collection on Computer Science Symposium in Russia (2018)

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Bulteau, L., Hermelin, D., Knop, D. et al. The Clever Shopper Problem. Theory Comput Syst 64, 17–34 (2020). https://doi.org/10.1007/s00224-019-09917-z

Download citation

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s00224-019-09917-z

Keywords

Navigation