• Nem Talált Eredményt

In [11], a general packing algorithm is given for theGBP problem, with absolute approximation ratio 3, in the case where the graph which is to be packed is bipartite. Now we will present an improved algorithm with absolute approximation ratio 19/12 + 1 = 31/12 ≈ 2.5833, for this restricted case.

LetG(A, B, E)be the bipartite graph in question, whereV = A∪B is the set of points (also called items) of the bipartite graph, andE is the set of edges. Any pointv ∈V has a size, denoted by0 < s(v) ≤ 1. Moreover for anye(a, b)edge (a ∈ A, b∈ B) an integer lower bound will be denoted by d(a, b) ≥ 0. In this special case of the GBP problem, the goal is as follows: Let us pack the items into as small a number of bins as possible, in such a way that for any two items a ∈ A, b ∈ B, if they are packed into bins Bi andBj, respectively, the indices of their bins must satisfy|i−j| ≥ d(a, b), and the total size of items in any bin cannot exceed1. Let ddenote the maximum of the prescribed lower bounds, i.e. letd = max{d(a, b)|e(a, b)∈E}. (We suppose thatd≥1, otherwise there is no lower bound restriction.) In this section, letOP T be the number of bins in an optimum packing. Then it naturally follows thatOP T ≥LB1 =d+ 1.

Let OP TR denote the optimum value of the relaxed problem, where the lower bounds on the edges are neglected; i.e. we simply consider the packing problem of itemsA∪B. It trivially follows that OP T ≥ OP TR. Moreover if we apply ourBP P algorithm for the two sets of nodes after each other, Theorem 7.1.1 holds, henceF F D(A, B)≤ 1912 ·OP TR+ 2. Now we will introduce a very simple algorithm calledM asterwith the absolute approximation ratio of31/12. The number of bins created will also be denoted byM aster.

Algorithm Master

1. Pack items of A by bin packing algorithm F F D. The packing (and also the number of the bins used) will be be denoted by F F D(A). Now we pack items of B into new bins (independently of the packing of setA); let the packing of setB; and let the number of bins used be denoted byF F D(B). In this step, the lower bound constraints are totally neglected.

2. We leaved−1empty bins between the two packings; end.

Note that we are quite liberal when performing this Step 2. However, by applying Step 2, the packing of Master naturally will be feasible, so we do not need to deal with the lower bound restrictions. Roughly saying, Step 2 increases the absolute approximation ratio by1, as is shown in the following theorem.

Theorem 7.2.1 The absolute approximation ratio of the Master algorithm is at most31/12.

Proof. For any input, it follows that

M aster =F F D(A) +F F D(B) +d−1

=F F D(A, B) +d−1

≤19/12·OP TR+ 2 + (d−1)

= 19/12·OP TR+LB1 ≤31/12·OP T.

2

Bibliography

[1] L. Babel, B. Chen, H. Kellerer, and V. Kotov. Algorithms for on-line bin-packing problems with cardinality constraints,Discrete Applied Mathematics, 143(1-3):238–251, 2004.

[2] J. Balogh, J. B´ek´esi, and G. Galambos. New lower bounds for certain classes of bin packing algorithms,Theoretical Computer Science, 440-441:1–13, 2012.

[3] J. Balogh, J. B´ek´esi, G. Dosa, H. Kellerer, Zs. Tuza, Black and white bin packing, In: Thomas Erlebach, Giuseppe Persiano (Eds.), WAOA 2012, 10th Workshop on Approximation and Online Algorithms, Ljubljana, Slovenia, 13–14 September 2012, LNCS 7846, 131-144, 2013.

[4] J. Balogh, J. B´ek´esi, G. Dosa, L. Epstein, H. Kellerer, A. Levin, Zs. Tuza, Offline black and white bin packing,Theoretical Computer Science, 596, 92–101, 2015.

[5] J. Balogh, J. B´ek´esi, G. Dosa, L. Epstein, H. Kellerer, Zs. Tuza, Online Results for Black and White Bin Packing,Theory of Computing Systems, 56(1), 137-155, 2015.

[6] J. Balogh, J. B´ek´esi, G Dosa, J Sgall, R van Stee, The optimal absolute ratio for online bin packing, Proceedings of the Twenty-Sixth Annual ACM-SIAM Symposium on Discrete Al-gorithms (SODA), San Diego, 2015 (January), pp. 1425-1438, Book Code: PRDA15, Series:

Proceedings, Pages: 14

[7] A. Benko, G. Dosa, Zs. Tuza, Bin Covering with a general profit function: approximability results,Central European Journal of Operations Research, 21(4), 805-816, 2013.

[8] J. Balogh, J. B´ek´esi, G. Dosa, G. Galambos, Z. Tan, Lower Bound for3-Batched Bin Packing, manuscript, (2015)

[9] B.S. Baker, A new proof for the first-fit decreasing bin-packing algorithm, J. Algorithms, 6(1), 49–70, 1985.

[10] J. Boyar, G. Dosa, and L. Epstein. On the absolute approximation ratio for First Fit and related results.Discrete Applied Mathematics, 160, 1914-1923, 2012.

[11] Cs. Bujtas, Gy. Dosa, Cs. Imreh, J. Nagy-Gy¨orgy, Zs. Tuza, The Graph-Bin Packing Problem, International Journal of Foundations of Computer Science, 22(8), 1971-1993, 2011.

[12] P. Brucker, A. Gladky, H. Hoogeveen, M.Y. Kovalyov, C.N. Potts, T. Tautenhahn, S.L. van de Velde, Scheduling a batching machine,Journal of Scheduling, 1, 31–54, 1998.

[13] A. Caprara, H. Kellerer, and U. Pferschy. Approximation schemes for ordered vector packing problems, Naval Research Logistics, 50(1), 58–69, 2003.

[14] E.G. Coffmann, M.R. Garey, D.S. Johnson, Approximation algorithms for bin packing: A survey. In: D. Hochbaum (Ed.),Approximation algorithms for NP-hard problems, PWS Pub-lishing, Boston, 1997.

[15] E. G. Coffman, Jr., J. Csirik, G. Galambos, S. Martello, D. Vigo, Bin Packing Approximation Algorithms: Survey and Classification,Handbook of Combinatorial Optimization, Reference Work Entry, pp 455-531, Springer New York, (2013)

[16] J. Csirik and G.J. Woeginger. Online packing and covering problems. In A. Fiat and G.J.

Woeginger, editors, Online Algorithms: The State of the Art, Springer-Verlag, Berlin,Lecture Notes in Computer Science, 1442, 154-177, 1998.

[17] E.G. Coffman, Jr. and J. Csirik. Performance guarantees for one-dimensional bin packing. In T. Gonzales, editor,Handbook of Approximation Algorithms and Metaheuristics, Chapter 32, pages, 32-1-32-18. Taylor and Francis Books (CRC Press), 2006.

[18] E.G. Coffman, Jr., J. Csirik, and J.Y-T. Leung. Variants of classical one-dimensional bin packing. In T. Gonzales, editor,Handbook of Approximation Algorithms and Metaheuristics, Chapter 33, pages 33-1-33-13. Taylor and Francis Books (CRC Press), 2006.

[19] E.G. Coffman, Jr., J. Csirik, and J.Y-T. Leung. Variable-sized bin packing and bin covering.

In T. Gonzales, editor,Handbook of Approximation Algorithms and Metaheuristics, Chapter 34, pages 34-1-34-11. Taylor and Francis Books (CRC Press), 2006.

[20] G. Dosa, The tight bound of First Fit Decreasing bin-packing algorithm is F F D(I) ≤ 11/9 ≤ OP T(I) + 6/9, In Proc. 1st International Symp. on Combinatorics, Algorithms, Probabilistic and Experimental Methodologies (ESCAPE),Lecture Notes in Computer Sci-ences, 4614, 1–11, 2007.

[21] G. Dosa, R. Li, X. Han, Zs. Tuza, Tight absolute bound for First Fit Decreasing bin-packing:

F F D(L)≤11/9·OP T(L) + 6/9,Theoretical Computer Science, 510, 13-61, 2013.

[22] G. Dosa, Batched bin packing revisited, Journal of Scheduling, online published, 02 June 2015.

[23] G. Dosa and J. Sgall, First Fit bin packing: A tight analysis. In Proc. of the 30th Ann. Symp.

on Theor. Aspects of Comput. Sci. (STACS2013), LIPIcs 3, 538-549. Schloss Dagstuhl, 2013.

[24] G Dosa and J. Sgall, Optimal analysis of Best Fit bin packing, J. Esparza et al. (Eds.): ICALP 2014, Part I, Springer, Heidelberg,Lecture Notes in Computer Sciences, 8572, 429-441, 2014.

[25] G. Dosa, The tight absolute bound of First Fit in the parameterized case, Theoretical Com-puter Science, 596, 149–154, 2015.

[26] G. Dosa, L. Epstein, The tight asymptotic approximation ratio of First Fit for bin packing with cardinality constraints,Journal of Computer and System Sciences, under minor revision, 2016

[27] G. Dosa, L. Epstein, Online bin packing with cardinality constraints revisited, arXiv:1404.1056 [cs.DS]

[28] G. Dosa, L. Epstein, Colorful Bin packing, SWAT 2014, 14th Scandinavian Symposium and Workshops, Copenhagen, Denmark, July 2-4, 2014. Proceedings, Copenhagen, (Editors R.

Ravi, Inge Li Gotz), Lecture Notes in Computer Science, 8503, 170-181, 2014.

[29] G. Dosa, L. Epstein, The Convergence Time for Selfish Bin Packing, 7th International Sym-posium, SAGT 2014, Haifa, Israel, September 30–October 2, 2014. Proceedings (Algorith-mic Game Theory), ed: Ron Lavi, Lecture Notes in Computer Science, 8768, 37-48, 2014.

[30] G. Dosa, Y. He, Bin Packing problems with rejection penalties and their dual problems, Information and Computation, 204, 795-815, 2006.

[31] G. Dosa, Y. He, Scheduling with machine cost and rejection,Journal of Combinatorial Opti-mization, 12, 337-350, 2006.

[32] G. Dosa, C. Imreh, The generalization of scheduling with machine cost, Theoretical Com-puter Science, 510, 102-110, 2013.

[33] G. Dosa, Zs. Tuza, D. Ye, Bin packing with Largest In Bottom constraint, Tighter bounds and generalizations,Journal of Combinatorial Optimization, 26(3), 416-436, 2013.

[34] G. Dosa, Z. Tan, Zs. Tuza, Y. Yan, C. Sik-L´anyi, Improved Bounds for Batch Scheduling with Non-identical Job Sizes,Naval Research Logistics, 61(5), 351–358, 2014.

[35] G. Dosa, Zs. Tuza, Multiprofessor Scheduling,Discrete Applied Mathematics, in press, 2016.

[36] G. Dosa, First Fit Algorithm for Bin Packing, (book chapter), in:Encyclopedia of Algorithms, Springer, 2015.

[37] L. Epstein, On online bin packing with LIB constraints, Naval Research Logistics, 56(8), 780-786, 2009.

[38] L. Epstein. Online bin packing with cardinality constraints,SIAM Journal on Discrete Math-ematics, 20(4), 1015-1030, 2006.

[39] L. Epstein, Cs. Imreh, and A. Levin. Class constrained bin packing revisited, Theoretical Computer Science, 411(34-36), 3073–3089, 2010.

[40] L. Epstein and A. Levin. AFPTAS results for common variants of bin packing: A new method for handling the small items,SIAM Journal on Optimization, 20(6), 3121-3145, 2010.

[41] L. Epstein, A. Levin, On bin packing with conflicts,SIAM Journal on Optimization, 19(3), 1270–1298, 2008.

[42] H. Fujiwara and K. Kobayashi. Improved lower bounds for the online bin packing problem with cardinality constraints,Journal of Combinatorial Optimization, 29(1), 67-87, 2015.

[43] M. R. Garey and D. S. Johnson,Computer and Intractability: A Guide to the theory of NP-Completeness, New York, Freeman, 1979.

[44] M. R. Garey, R. L. Graham, D. S. Johnson, and A. C.-C. Yao, Resource constrained schedul-ing as generalized bin packschedul-ing.J. Combin. Theory Ser. A, 21, 257-298, 1976.

[45] M. R. Garey, R. L. Graham, and J. D. Ullman. Worst-case analysis of memory allocation algorithms. In Proc. 4th Symp. Theory of Computing (STOC), 143-150, ACM, 1973.

[46] R. L. Graham. Bounds for certain multiprocessing anomalies, Bell System Technical J., 45, 1563-1581, 1966.

[47] R. L. Graham. Bounds on multiprocessing timing anomalies,SIAM J. Appl. Math., 17, 263-269, 1969.

[48] G. Gutin, T. Jensen, A. Yeo, Batched bin packing,Discrete Optimization, 2, 71-82, 2005.

[49] Y. He, G. Dosa, Bin Packing and Covering Problems with Rejection, Computing and combi-natorics, 11th Annual International Conference COCOON, Kunming, China, Lecture Notes in Computer Science, 3595, 885-894, 2005.

[50] D.S. Hochbaum, D. B. Shmoys, Using dual approximation algorithms for scheduling prob-lems: theoretical and practical results,Journal of the Association of Computing Machinery, 34, 144–162, 1987.

[51] Y. Ikura, M. Gimple, Scheduling algorithms for a single batching processing machine, Oper-ations Research Letters, 5, 61–65, 1986.

[52] K. Jansen, An approximation scheme for bin packing with conflicts,Journal of Combinato-rial Optimization, 3(4), 363–377, 1999.

[53] D. S. Johnson. Near-optimal bin packing algorithms. PhD thesis, MIT, Cambridge, MA, 1973.

[54] D. S. Johnson. Fast algorithms for bin packing.J. Comput. Syst. Sci., 8, 272-314, 1974.

[55] D. S. Johnson, A. Demers, J. D. Ullman, M. R. Garey, and R. L. Graham. Worst-case perfor-mance bounds for simple one-dimensional packing algorithms,SIAM J. Comput., 3, 299–325, 1974.

[56] N. Karmarkar, R. M. Karp, An efficient approximation scheme for the one-dimensional bin packing problem, Proc. 23rd Annual Symposium on Foundations of Computer Science, Chicago, 312–320, 1982.

[57] H. Kellerer and U. Pferschy. Cardinality constrained bin-packing problems,Annals of Oper-ations Research, 92, 335–348, 1999.

[58] K. L. Krause, V. Y. Shen, and H. D. Schwetman. Analysis of several task-scheduling al-gorithms for a model of multiprogramming computer systems,Journal of the ACM, 22(4), 522–550, 1975.

[59] K. L. Krause, V. Y. Shen, and H. D. Schwetman. Errata: “Analysis of several task-scheduling algorithms for a model of multiprogramming computer systems”,Journal of the ACM, 24(3), 527–527, 1977.

[60] C. C. Lee and D. T. Lee. A simple online bin packing algorithm,Journal of the ACM, 32(3), 562–572, 1985.

[61] F. M. Liang. A lower bound for on-line bin packing,Information Processing Letters, 10(2), 76–79, 1980.

[62] R. Li, M. Yue, A tighter bound for FFD algorithm, Acta Math. Appl. Sinica, 16, 337–347, 2000.

[63] S. Li, G. Li, S. Zhang, Minimizing makespan with release times on identical parallel batching machines,Discrete Applied Mathematics, 148, 127–134, 2005.

[64] R. Ma, G. Dosa, X. Han, H. F. Ting, D. Ye, Y. Zhang, A note on a selfish bin packing problem, J. Global Optimization, 56(4), 1457-1462, 2013.

[65] Z. N´emeth. A First Fit algoritmus abszol´ut hib´aj´ar´ol, TDK dolgozat, (in Hungarian). Eotvos Lorand Univ., Budapest, Hungary, 2011.

[66] C.N. Potts, M.Y. Kovalyov, Scheduling with batching: a review,European Journal of Oper-ational Research, 120, 228–249, 2000.

[67] S. Sahni, Algorithms for scheduling independent tasks, Journal of the Association of Com-puting Machinery, 23, 116–127, 1976.

[68] P. Ramanan, D. J. Brown, C. C. Lee, and D. T. Lee, Online bin packing in linear time,Journal of Algorithms, 10, 305–326, 1989.

[69] S. S. Seiden. On the online bin packing problem,Journal of the ACM, 49(5), 640–671, 2002.

[70] J. Sgall, A new analysis of Best Fit bin packing. In Proc. of 6th Int. Conference FUN with Algorithms, Springer,Lecture Notes in Comput. Sci., 7288, 315-321, 2012.

[71] H. Shachnai and T. Tamir. Polynomial time approximation schemes for class-constrained packing problems,Journal of Scheduling, 4(6), 313–338, 2001.

[72] H. Shachnai and T. Tamir. Tight bounds for online class-constrained packing, Theoretical Computer Science, 321(1), 103-123, 2004.

[73] D. Simchi-Levi. New worst case results for the bin-packing problem,Naval Research Logis-tics, 41, 579-585, 1994.

[74] J. D. Ullman. The performance of a memory allocation algorithm. Technical Report 100, Princeton Univ., Princeton, NJ, 1971.

[75] Uzsoy, R., A single batch processing machine with non-identical job sizes, International Journal of Production Research, 32, 1615–1635, 1994.

[76] W. Fernandez de la Vega and G. S. Lueker. Bin packing can be solved within1 +εin linear time,Combinatorica, 1(4), 349–355, 1981.

[77] A. van Vliet. An improved lower bound for online bin packing algorithms,Information Pro-cessing Letters, 43(5), 277–284, 1992.

[78] D. P. Williamson and D. B. Shmoys. The Design of Approximation Algorithms, Cambridge University Press, 2011.

[79] W. Zhong, G. Dosa, Z. Tan, On the machine scheduling problem with job delivery coordina-tion,European Journal of Operational Research, 182, 1057–1072, 2007.

[80] Y. Wang, A. Benko, X. Chen, G. Dosa, H. Guo, X. Han, C. Sik-Lanyi, Online scheduling with one rearrangement at the end: revisited,Information Processing Letters, 112(16), 641-645, 2012.

[81] Z. Wang, X. Han, G. Dosa, Zs. Tuza, Bin packing game with an interest matrix,Lecture Notes in Computer Sciences, 9198, 57-69, 2015.

[82] G. Zhang, personal communication, 2013.

[83] G. Zhang, X. Cai, C.Y. Lee, C.K. Wong, Minimizing makespan on a single batch processing machine with nonidentical job sizes,Naval Research Logistics, 48, 226–240, 2001.

[84] E. C. Xavier and F. K. Miyazawa. The class constrained bin packing problem with applica-tions to video-on-demand,Theoretical Computer Science, 393(1-3), 240–259, 2008.

[85] B. Xia and Z. Tan. Tighter bounds of the First Fit algorithm for the bin-packing problem, Discrete Appl. Math., 158, 1668-1675, 2010.

[86] A. C. C. Yao. New algorithms for bin packing,Journal of the ACM, 27, 207–227, 1980.

[87] M. Yue, A simple proof of the inequality F F D(L) ≤ 11/9OP T(L) + 1, ∀L, for the FFD bin-packing algorithm,Acta. Math. Appl. Sinica, 7(4), 321–331, 1991.

Chapter 8

Appendix