The Internet Shopping Optimization Problem with Multiple Item Units (ISHOP-U): Formulation, Instances, NP-Completeness, and Evolutionary Optimization
Abstract
:1. Introduction
2. Problem State-of-the-Art
2.1. The original Internet Shopping Optimization Problem (ISHOP)
2.2. Internet Shopping Optimization Problem Sensitive to Price Discounts
2.3. Budgeted Internet Shopping Optimization Problem
2.4. Internet Shopping Optimization Problem with Delivery Constraints
2.5. Trusted Internet Shopping Optimization Problem
2.6. Internet Shopping Problem with Shipping Costs
2.7. Multiple Item Units in the State-of-the-Art
3. Proposed ISHOP with Item Units (ISHOP-U)
3.1. ISHOP-U Definition
3.2. ISHOP-U Is NP-Hard
- Show that ISHOP-U ∈ NP;
- Select a known NPC;
- Construct a polynomial transformation such that ISHOP-U;
- Prove that the transformed instances of to ISHOP-U remain as yes instance if the original instance is a yes instance;
- Prove that the can be computed in polynomial time.
Algorithm 1 Non-deterministic polynomial certificate construction. |
|
Algorithm 2 Polynomial certificate verification. |
|
4. ISHOP-U Numeric Example
5. Proposed Evolutionary Algorithms
5.1. Evolutionary Operators
5.1.1. Crossover
5.1.2. Mutation
Algorithm 3 Proposed mutation operator for the ISHOP with item units. |
|
5.1.3. Solution Repair
Algorithm 4 Proposed solution repair for the ISHOP with item units. |
|
5.2. Genetic Algorithm
5.3. Cellular Genetic Algorithm
6. Experimental Setup
6.1. Proposed Synthetic Benchmark
- The number of products and their required units;
- The number of stores;
- The maximum and minimum values for product costs;
- The maximum and minimum for the delivery costs.
6.2. Evolutionary Algorithms Tuning
6.3. Sensitivity Analysis
6.4. Convergence Analysis
6.5. Algorithms for Comparison
6.6. Statistical Validations
- : in this case, algorithm A outperforms B because their differences have a significant probability of being negative.
- : in this case, algorithm B outperforms A because their differences have a significant probability of being positive.
- : in this case, algorithm A and B are equivalent.
- When none of the above cases are true, the test does not have enough information, making an undecided statement.
7. Results and Discussion
8. Conclusions
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Conflicts of Interest
Abbreviations
CGA | Cellular Genetic Algorithm |
EA | Evolutionary Algorithm |
GA | Genetic Algorithm |
ISHOP | Internet Shopping Optimization Problem |
ISHOP-U | Internet Shopping Optimization Problem with item Units |
WCA | Water Cycle Algorithm |
§ | Statistically superior to WCA |
? | Statistical indecision to WCA |
Polynomial transformation |
References
- Dailey, N. 2022 is Expected to be the First Trillion-Dollar Year for Online Sales, Largely Thanks to the COVID-19 Pandemic. 2021. Available online: https://www.businessinsider.com/ecommerce-sales-first-trillion-dollar-year-2022-covid-pandemic-adobe-2021-3?r=US&IR=T (accessed on 5 April 2021).
- Błazewicz, J.; Kovalyov, M.; Musiał, J.; Urbański, A.; Wojciechowski, A. Internet shopping optimization problem. Int. J. Appl. Math. Comput. Sci. 2010, 20, 385–390. [Google Scholar] [CrossRef] [Green Version]
- Garey, M.; Johnson, D. Computers and Intractability: A Guide to the Theory of NP-Completeness; Freeman, W.H., Ed.; W. H. Freeman and Company: New York, NY, USA, 1979. [Google Scholar]
- Blazewicz, J.; Bouvry, P.; Kovalyov, M.Y.; Musial, J. Internet shopping with price sensitive discounts. 4OR 2014, 12, 35–48, Erratum in 4OR 2014, 12, 403–406. [Google Scholar] [CrossRef] [Green Version]
- Marszalkowski, J. Budgeted Internet Shopping Optimization Problem. In Proceedings of the 7th Multidisciplinary International Conference on Scheduling: Theory and Applications (MISTA 2015), Prague, Czech Republic, 25–28 August 2015; pp. 885–887. [Google Scholar]
- Chung, J.B. Internet shopping optimization problem with delivery constraints. J. Distrib. Sci. 2017, 15, 15–20. [Google Scholar] [CrossRef]
- Musial, J.; Lopez-Loces, M.C. Trustworthy Online Shopping with Price Impact. Found. Comput. Decis. Sci. 2017, 42, 121–136. [Google Scholar] [CrossRef] [Green Version]
- Huacuja, H.J.F.; Morales, M.Á.G.; Locés, M.C.L.; Santillán, C.G.G.; Reyes, L.C.; Rodríguez, M.L.M. Optimization of the Internet Shopping Problem with Shipping Costs. In Fuzzy Logic Hybrid Extensions of Neural and Optimization Algorithms: Theory and Applications; Castillo, O., Melin, P., Eds.; Springer International Publishing: Cham, Swizerland, 2021; pp. 249–255. [Google Scholar] [CrossRef]
- Sayyaadi, H.; Sadollah, A.; Yadav, A.; Yadav, N. Stability and iterative convergence of water cycle algorithm for computationally expensive and combinatorial Internet shopping optimisation problems. J. Exp. Theor. Artif. Intell. 2019, 31, 701–721. [Google Scholar] [CrossRef]
- Józefczyk, J.; Ławrynowicz, M. Heuristic algorithms for the Internet shopping optimization problem with price sensitivity discounts. Kybernetes 2018, 47, 831–852. [Google Scholar] [CrossRef]
- 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. 2016, 19, 245–255. [Google Scholar] [CrossRef] [Green Version]
- Sadollah, A.; Gao, K.; Barzegar, A.; Su, R. Improved model of combinatorial Internet shopping optimization problem using evolutionary algorithms. In Proceedings of the 2016 14th International Conference on Control, Automation, Robotics and Vision (ICARCV), Phuket, Thailand, 13–15 November 2016; pp. 1–5. [Google Scholar] [CrossRef]
- Sipser, M. Introduction to the Theory of Computation, 3rd ed.; Course Technology: Boston, MA, USA, 2013. [Google Scholar]
- Reeves, C.R. Genetic Algorithms. In Handbook of Metaheuristics; Gendreau, M., Potvin, J.Y., Eds.; Springer: Boston, MA, USA, 2010; pp. 109–139. [Google Scholar] [CrossRef]
- Alba, E.; Dorronsoro, B. Cellular Genetic Algorithms; Springer Science & Business Media: Berlin/Heidelberg, Germany, 2009; Volume 42. [Google Scholar]
- Alba, E.; Dorronsoro, B. The exploration/exploitation tradeoff in dynamic cellular genetic algorithms. IEEE Trans. Evol. Comput. 2005, 9, 126–142. [Google Scholar] [CrossRef] [Green Version]
- Kenneth Price, R.M.S.; Lampinen, J.A. The Differential Evolution Algorithm. In Differential Evolution: A Practical Approach to Global Optimization; Springer: Berlin/Heidelberg, Germany, 2005; pp. 37–134. [Google Scholar] [CrossRef]
- Santiago, A.; Terán-Villanueva, J.D.; Martínez, S.I.; Ornelas, F.; Ponce-Flores, M. Benchmark Instances for: The Internet Shopping Optimization Problem with Item Units (ISHOP-U): Formulation, Instances, NP-Completeness, and Evolutionary Algorithms. 2021. Available online: https://github.com/AASantiago/ISHOP-U-Instances (accessed on 5 April 2021).
- Carrasco, J.; García, S.; Rueda, M.; Das, S.; Herrera, F. Recent trends in the use of statistical tests for comparing swarm and evolutionary computing algorithms: Practical guidelines and a critical review. Swarm Evol. Comput. 2020, 54, 100665. [Google Scholar] [CrossRef] [Green Version]
- Benavoli, A.; Corani, G.; Demšar, J.; Zaffalon, M. Time for a Change: A Tutorial for Comparing Multiple Classifiers through Bayesian Analysis. J. Mach. Learn. Res. 2017, 18, 1–36. [Google Scholar]
- Benavoli, A.; Corani, G.; Mangili, F.; Zaffalon, M.; Ruggeri, F. A Bayesian Wilcoxon signed-rank test based on the Dirichlet process. In Proceedings of the International Conference on Machine Learning, PMLR, Bejing, China, 22–24 June 2014; pp. 1026–1034. [Google Scholar]
- Corder, G.W.; Foreman, D.I. Nonparametric Statistics for Non-Statisticians; John Wiley & Sons, Inc.: Hoboken, NJ, USA, 2011. [Google Scholar]
- Benavoli, A.; Corani, G.; Mangili, F.; Zaffalon, M. A Bayesian Nonparametric Procedure for Comparing Algorithms. In Proceedings of the International Conference on Machine Learning, PMLR, Lille, France, 7–9 July 2015; pp. 1264–1272. [Google Scholar]
- Santiago, A.; Ponce-Flores, M.; Terán-Villanueva, J.D.; Balderas, F.; Martínez, S.I.; Rocha, J.A.C.; Menchaca, J.L.; Berrones, M.G.T. Energy Idle Aware Stochastic Lexicographic Local Searches for Precedence-Constraint Task List Scheduling on Heterogeneous Systems. Energies 2021, 14, 3473. [Google Scholar] [CrossRef]
A | B | C | D | E | Delivery | |
---|---|---|---|---|---|---|
Store 1 | 18 | 39 | 29 | 48 | 59 | 10 |
Store 2 | 24 | 45 | 23 | 54 | 44 | 15 |
Store 3 | 22 | 45 | 23 | 53 | 53 | 15 |
Store 4 | 28 | 40 | 17 | 57 | 46 | 10 |
Store 5 | 24 | 42 | 24 | 47 | 59 | 10 |
Store 6 | 27 | 48 | 20 | 55 | 53 | 15 |
A | B | C | D | E | |
---|---|---|---|---|---|
Store 1 | 3 | 3 | 2 | 5 | 8 |
Store 2 | 4 | 6 | 8 | 7 | 4 |
Store 3 | 2 | 4 | 5 | 4 | 7 |
Store 4 | 8 | 7 | 8 | 6 | 2 |
Store 5 | 6 | 2 | 3 | 8 | 3 |
Store 6 | 7 | 8 | 9 | 3 | 2 |
A | B | C | D | E | |
---|---|---|---|---|---|
Units | 4 | 6 | 8 | 7 | 2 |
A | B | C | D | E | |
---|---|---|---|---|---|
Store 1 | 3 | 3 | 0 | 0 | 0 |
Store 2 | 0 | 0 | 8 | 0 | 2 |
Store 3 | 0 | 0 | 0 | 0 | 0 |
Store 4 | 0 | 3 | 0 | 0 | 0 |
Store 5 | 1 | 0 | 0 | 7 | 0 |
Store 6 | 0 | 0 | 0 | 0 | 0 |
GA | CGA | |
---|---|---|
Population size: | 100 | 100 |
MaxEvaluations: | 25,000 | 25,000 |
Selection: | Binary Tournament | Binary Tournament |
Neighborhood: | – | L5 |
Recombination: | , See Section 5.1.1 | , See Section 5.1.1 |
Mutation: | , See Algorithm 3 | , See Algorithm 3 |
GA | CGA | WCA | ||||
---|---|---|---|---|---|---|
Instance | IQR | IQR | IQR | |||
Small | 467.04 | 0.0 | 467.04 | 0.0 | 580.17 | 47.03 |
Small | 457.64 | 0.41 | 458.05 | 0.69 | 552.1 | 41.57 |
Small | 585.75 | 0.0 | 587.85 | 2.84 | 726.41 | 52.11 |
Small | 479.69 | 1.47 | 483.07 | 4.43 | 576.01 | 41.8 |
Small | 520.69 | 0.97 | 522.88 | 3.35 | 605.35 | 35.26 |
Medium | 3505.7 | 128.35 | 3709.77 | 133.44 | 4107.11 | 244.68 |
Medium | 4728.01 | 140.84 | 4943.86 | 134.12 | 5383.6 | 307.62 |
Medium | 5234.51 | 169.26 | 5486.86 | 166.02 | 5866.06 | 349.54 |
Medium | 4861.51 | 149.79 | 5111.59 | 152.31 | 5497.51 | 278.68 |
Medium | 5646.67 | 182.27 | 5934.77 | 168.39 | 6333.05 | 336.3 |
Large | 26,415.55 | 522.62 | 26,886.7 | 521.84 | 25,711.6 | 1042.82 |
Large | 22,002.78 | 469.4 | 22,462.82 | 494.01 | 21,675.88 | 1047.13 |
Large | 21,983.9 | 523.42 | 22,487.28 | 457.89 | 21,869.36 | 731.65 |
Large | 24,172.27 | 479.09 | 24,620.75 | 542.36 | 24,202.27 | 875.79 |
Large | 24,039.28 | 536.15 | 24,543.6 | 475.8 | 23,875.34 | 1000.51 |
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations. |
© 2022 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Ornelas, F.; Santiago, A.; Martínez, S.I.; Ponce-Flores, M.P.; Terán-Villanueva, J.D.; Balderas, F.; Rocha, J.A.C.; García, A.H.; Laria-Menchaca, J.; Treviño-Berrones, M.G. The Internet Shopping Optimization Problem with Multiple Item Units (ISHOP-U): Formulation, Instances, NP-Completeness, and Evolutionary Optimization. Mathematics 2022, 10, 2513. https://doi.org/10.3390/math10142513
Ornelas F, Santiago A, Martínez SI, Ponce-Flores MP, Terán-Villanueva JD, Balderas F, Rocha JAC, García AH, Laria-Menchaca J, Treviño-Berrones MG. The Internet Shopping Optimization Problem with Multiple Item Units (ISHOP-U): Formulation, Instances, NP-Completeness, and Evolutionary Optimization. Mathematics. 2022; 10(14):2513. https://doi.org/10.3390/math10142513
Chicago/Turabian StyleOrnelas, Fernando, Alejandro Santiago, Salvador Ibarra Martínez, Mirna Patricia Ponce-Flores, Jesús David Terán-Villanueva, Fausto Balderas, José Antonio Castán Rocha, Alejandro H. García, Julio Laria-Menchaca, and Mayra Guadalupe Treviño-Berrones. 2022. "The Internet Shopping Optimization Problem with Multiple Item Units (ISHOP-U): Formulation, Instances, NP-Completeness, and Evolutionary Optimization" Mathematics 10, no. 14: 2513. https://doi.org/10.3390/math10142513
APA StyleOrnelas, F., Santiago, A., Martínez, S. I., Ponce-Flores, M. P., Terán-Villanueva, J. D., Balderas, F., Rocha, J. A. C., García, A. H., Laria-Menchaca, J., & Treviño-Berrones, M. G. (2022). The Internet Shopping Optimization Problem with Multiple Item Units (ISHOP-U): Formulation, Instances, NP-Completeness, and Evolutionary Optimization. Mathematics, 10(14), 2513. https://doi.org/10.3390/math10142513