Composition Orderings for Linear Functions and Matrix Multiplication Orderings

Authors Susumu Kubo , Kazuhisa Makino, Souta Sakamoto



PDF
Thumbnail PDF

File

LIPIcs.ISAAC.2024.44.pdf
  • Filesize: 0.74 MB
  • 14 pages

Document Identifiers

Author Details

Susumu Kubo
  • General Education Center, Tottori University of Environmental Studies, Japan
Kazuhisa Makino
  • Research Institute for Mathematical Sciences, Kyoto University, Japan
Souta Sakamoto
  • Acompany Co., Ltd., Nagoya, Japan

Acknowledgements

The authors thank Kristóf Bérczi (Eötvös Lor{á}nd Univ.), Yasushi Kawase (Univ. of Tokyo), and Takeshi Tokuyama (Kwansei Gakuin Univ.) for their helpful comments on the first version of this paper.

Cite As Get BibTex

Susumu Kubo, Kazuhisa Makino, and Souta Sakamoto. Composition Orderings for Linear Functions and Matrix Multiplication Orderings. In 35th International Symposium on Algorithms and Computation (ISAAC 2024). Leibniz International Proceedings in Informatics (LIPIcs), Volume 322, pp. 44:1-44:14, Schloss Dagstuhl – Leibniz-Zentrum für Informatik (2024) https://doi.org/10.4230/LIPIcs.ISAAC.2024.44

Abstract

We first consider composition orderings for linear functions of one variable. Given n linear functions f_1,… ,f_n: ℝ → ℝ and a constant c ∈ ℝ, the objective is to find a permutation σ:[n] → [n] that minimizes/maximizes f_σ(n)∘⋯∘f_σ(1)(c), where [n] = {1, … , n}. It was first studied in the area of time-dependent scheduling, and known to be solvable in O(n log n) time if all functions are nondecreasing. In this paper, we present a complete characterization of optimal composition orderings for this case, by regarding linear functions as two-dimensional vectors. We also show the equivalence between local and global optimality in optimal composition orderings. Furthermore, by using the characterization above, we provide a fixed-parameter tractable (FPT) algorithm for the composition ordering problem with general linear functions, with respect to the number of decreasing linear functions. 
We next deal with matrix multiplication as a generalization of composition of linear functions. Given n matrices M₁,… , M_n ∈ ℝ^{m×m} and two vectors w,y ∈ ℝ^m, where m is a positive integer, the objective is to find a permutation σ:[n] → [n] that minimizes/maximizes w^⊤ M_σ(n) ⋯ M_σ(1) y. The matrix multiplication ordering problem has been studied in the context of max-plus algebra, but despite being a natural problem, it has not been explored in the conventional algebra to date. By extending the results for composition orderings for linear functions, we show that the matrix multiplication ordering problem with 2× 2 matrices is solvable in O(n log n) time if all the matrices are simultaneously triangularizable and have nonnegative determinants, and FPT with respect to the number of matrices with negative determinants, if all the matrices are simultaneously triangularizable. As the negative side, we prove that three possible natural generalizations are NP-hard. In addition, we derive the existing result for the minimum matrix multiplication ordering problem with 2 × 2 upper triangular matrices in max-plus algebra, which is an extension of the well-known Johnson’s rule for the two-machine flow shop scheduling, as a corollary of our result in the conventional algebra.

Subject Classification

ACM Subject Classification
  • Mathematics of computing → Combinatorial optimization
Keywords
  • function composition
  • matrix multiplication
  • ordering problem
  • scheduling

Metrics

  • Access Statistics
  • Total Accesses (updated on a weekly basis)
    0
    PDF Downloads

References

  1. Moshe Babaioff, Nicole Immorlica, David Kempe, and Robert Kleinberg. A knapsack secretary problem with applications. In Moses Charikar, Klaus Jansen, Omer Reingold, and José D. P. Rolim, editors, Approximation, Randomization, and Combinatorial Optimization. Algorithms and Techniques, pages 16-28, Berlin, Heidelberg, 2007. Springer Berlin Heidelberg. URL: https://doi.org/10.1007/978-3-540-74208-1_2.
  2. Moshe Babaioff, Nicole Immorlica, and Robert Kleinberg. Matroids, secretary problems, and online mechanisms. In Proceedings of the Eighteenth Annual ACM-SIAM Symposium on Discrete Algorithms, SODA07, pages 434-443, USA, 2007. Society for Industrial and Applied Mathematics. URL: http://dl.acm.org/citation.cfm?id=1283383.1283429.
  3. J.-L. Bouquard, C. Lenté, and J.-C. Billaut. Application of an optimization problem in max-plus algebra to scheduling problems. Discrete Applied Mathematics, 154(15):2064-2079, 2006. URL: https://doi.org/10.1016/j.dam.2005.04.011.
  4. Brian C. Dean, Michel X. Goemans, and Jan Vondrák. Adaptivity and approximation for stochastic packing problems. In Proceedings of the Sixteenth Annual ACM-SIAM Symposium on Discrete Algorithms, SODA05, pages 395-404, USA, 2005. Society for Industrial and Applied Mathematics. URL: http://dl.acm.org/citation.cfm?id=1070432.1070487.
  5. Brian C. Dean, Michel X. Goemans, and Jan Vondrák. Approximating the stochastic knapsack problem: The benefit of adaptivity. Mathematics of Operations Research, 33(4):945-964, 2008. URL: https://doi.org/10.1287/MOOR.1080.0330.
  6. Thomas S. Ferguson. Who Solved the Secretary Problem? Statistical Science, 4(3):282-289, 1989. URL: https://doi.org/10.1214/ss/1177012493.
  7. Michael R. Garey, David S. Johnson, and Ravi Sethi. The complexity of flowshop and jobshop scheduling. Mathematics of Operations Research, 1:117-129, 1976. URL: https://doi.org/10.1287/moor.1.2.117.
  8. Stanisław Gawiejnowicz. Models and Algorithms of Time-Dependent Scheduling. Springer, 2 edition, 2020. URL: https://doi.org/10.1007/978-3-662-59362-2.
  9. Stanisław Gawiejnowicz. A review of four decades of time-dependent scheduling: main results, new topics, and open problems. Journal of Scheduling, 23:3-47, February 2020. URL: https://doi.org/10.1007/s10951-019-00630-w.
  10. Stanisław Gawiejnowicz and Wiesław Kurc. New results for an open time-dependent scheduling problem. Journal of Scheduling, 23:733-744, December 2020. URL: https://doi.org/10.1007/s10951-020-00662-7.
  11. Stanisław Gawiejnowicz, Wiesław Kurc, and Lidia Pankowska. Conjugate problems in time-dependent scheduling. Journal of Scheduling, 12:543-553, October 2009. URL: https://doi.org/10.1007/s10951-009-0121-0.
  12. Stanisław Gawiejnowicz and Bertrand M.T. Lin. Scheduling time-dependent jobs under mixed deterioration. Applied Mathematics and Computation, 216:438-447, March 2010. URL: https://doi.org/10.1016/j.amc.2010.01.037.
  13. Stanisław Gawiejnowicz and Lidia Pankowska. Scheduling jobs with varying processing times. Information Processing Letters, 54(3):175-178, 1995. URL: https://doi.org/10.1016/0020-0190(95)00009-2.
  14. Jatinder N.D. Gupta and Sushil K. Gupta. Single facility scheduling with nonlinear processing times. Computers & Industrial Engineering, 14(4):387-393, 1988. URL: https://doi.org/10.1016/0360-8352(88)90041-1.
  15. Kevin I-J. Ho, Joseph Y-T. Leung, and W-D. Wei. Complexity of scheduling tasks with time-dependent execution times. Information Processing Letters, 48(6):315-320, 1993. URL: https://doi.org/10.1016/0020-0190(93)90175-9.
  16. Selmer Martin Johnson. Optimal two-and three-stage production schedules with setup times included. Naval research logistics quarterly, 1(1):61-68, 1954. URL: https://doi.org/10.1002/nav.3800010110.
  17. Yasushi Kawase, Kazuhisa Makino, and Kento Seimi. Optimal composition ordering problems for piecewise linear functions. Algorithmica, 2018. URL: https://doi.org/10.1007/s00453-017-0397-y.
  18. Susumu Kubo, Kazuhisa Makino, and Souta Sakamoto. Composition orderings for linear functions and matrix multiplication orderings. arXiv, 2024. https://arxiv.org/abs/2402.10451, URL: https://doi.org/10.48550/arXiv.2402.10451.
  19. Susumu Kubo and Katsuhiro Nishinari. Applications of max-plus algebra to flow shop scheduling problems. Discrete Applied Mathematics, 247:278-293, 2018. URL: https://doi.org/10.1016/j.dam.2018.03.045.
  20. Gur Mosheiov. Scheduling jobs under simple linear deterioration. Computers & Operations Research, 21(6):653-659, 1994. URL: https://doi.org/10.1016/0305-0548(94)90080-9.
  21. Krzysztof M. Ocetkiewicz. Partial dominated schedules and minimizing the total completion time of deteriorating jobs. Optimization, 62:1341-1356, October 2013. URL: https://doi.org/10.1080/02331934.2013.836647.
  22. Shayan Oveis Gharan and Jan Vondrák. On variants of the matroid secretary problem. In Camil Demetrescu and Magnús M. Halldórsson, editors, Algorithms - ESA 2011, pages 335-346, Berlin, Heidelberg, 2011. Springer Berlin Heidelberg. URL: https://doi.org/10.1007/978-3-642-23719-5_29.
  23. V. S. Tanaev, V. S. Gordon, and Y. M. Shafransky. Scheduling Theory. Single-Stage Systems. Springer, 1994. Google Scholar
  24. Wiesław Wajs. Polynomial algorithm for dynamic sequencing problem. Archiwum Automatyki i Telemechaniki, 31:209-213, January 1986. Google Scholar
Questions / Remarks / Feedback
X

Feedback for Dagstuhl Publishing


Thanks for your feedback!

Feedback submitted

Could not send message

Please try again later or send an E-mail