English

Optimal Composition Ordering Problems for Piecewise Linear Functions

Data Structures and Algorithms 2016-01-22 v1 Discrete Mathematics

Abstract

In this paper, we introduce maximum composition ordering problems. The input is nn real functions f1,,fn:RRf_1,\dots,f_n:\mathbb{R}\to\mathbb{R} and a constant cRc\in\mathbb{R}. We consider two settings: total and partial compositions. The maximum total composition ordering problem is to compute a permutation σ:[n][n]\sigma:[n]\to[n] which maximizes fσ(n)fσ(n1)fσ(1)(c)f_{\sigma(n)}\circ f_{\sigma(n-1)}\circ\dots\circ f_{\sigma(1)}(c), where [n]={1,,n}[n]=\{1,\dots,n\}. The maximum partial composition ordering problem is to compute a permutation σ:[n][n]\sigma:[n]\to[n] and a nonnegative integer k (0kn)k~(0\le k\le n) which maximize fσ(k)fσ(k1)fσ(1)(c)f_{\sigma(k)}\circ f_{\sigma(k-1)}\circ\dots\circ f_{\sigma(1)}(c). We propose O(nlogn)O(n\log n) time algorithms for the maximum total and partial composition ordering problems for monotone linear functions fif_i, which generalize linear deterioration and shortening models for the time-dependent scheduling problem. We also show that the maximum partial composition ordering problem can be solved in polynomial time if fif_i is of form max{aix+bi,ci}\max\{a_ix+b_i,c_i\} for some constants ai(0)a_i\,(\ge 0), bib_i and cic_i. We finally prove that there exists no constant-factor approximation algorithm for the problems, even if fif_i's are monotone, piecewise linear functions with at most two pieces, unless P=NP.

Keywords

Cite

@article{arxiv.1601.05480,
  title  = {Optimal Composition Ordering Problems for Piecewise Linear Functions},
  author = {Yasushi Kawase and Kazuhisa Makino and Kento Seimi},
  journal= {arXiv preprint arXiv:1601.05480},
  year   = {2016}
}

Comments

19 pages, 4 figures

R2 v1 2026-06-22T12:33:49.791Z