English

On The Maximum Linear Arrangement Problem for Trees

Data Structures and Algorithms 2024-07-10 v5 Discrete Mathematics Combinatorics

Abstract

Linear arrangements of graphs are a well-known type of graph labeling and are found in many important computational problems, such as the Minimum Linear Arrangement Problem (minLA\texttt{minLA}). A linear arrangement is usually defined as a permutation of the nn vertices of a graph. An intuitive geometric setting is that of vertices lying on consecutive integer positions in the real line, starting at 1; edges are often drawn as semicircles above the real line. In this paper we study the Maximum Linear Arrangement problem (MaxLA\texttt{MaxLA}), the maximization variant of minLA\texttt{minLA}. We devise a new characterization of maximum arrangements of general graphs, and prove that MaxLA\texttt{MaxLA} can be solved for cycle graphs in constant time, and for kk-linear trees (k2k\le2) in time O(n)O(n). We present two constrained variants of MaxLA\texttt{MaxLA} we call bipartite MaxLA\texttt{bipartite MaxLA} and 1-thistle MaxLA\texttt{1-thistle MaxLA}. We prove that the former can be solved in time O(n)O(n) for any bipartite graph; the latter, by an algorithm that typically runs in time O(n4)O(n^4) on unlabelled trees. The combination of the two variants has two promising characteristics. First, it solves MaxLA\texttt{MaxLA} for almost all trees consisting of a few tenths of nodes. Second, we prove that it constitutes a 3/23/2-approximation algorithm for MaxLA\texttt{MaxLA} for trees. Furthermore, we conjecture that bipartite MaxLA\texttt{bipartite MaxLA} solves MaxLA\texttt{MaxLA} for at least 50%50\% of all free trees.

Keywords

Cite

@article{arxiv.2312.04487,
  title  = {On The Maximum Linear Arrangement Problem for Trees},
  author = {Lluís Alemany-Puig and Juan Luis Esteban and Ramon Ferrer-i-Cancho},
  journal= {arXiv preprint arXiv:2312.04487},
  year   = {2024}
}
R2 v1 2026-06-28T13:44:14.838Z