The Weighted Sitting Closer to Friends than Enemies Problem in the Line
Abstract
The weighted \emph{Sitting Closer to Friends than Enemies} (SCFE) problem is to find an injection of the vertex set of a given weighted graph into a given metric space so that, for every pair of incident edges with different weight, the end vertices of the heavier edge are closer than the end vertices of the lighter edge. The \emph{Seriation} problem is to find a simultaneous reordering of the rows and columns of a symmetric matrix such that the entries are monotone nondecreasing in rows and columns when moving towards the diagonal. If such a reordering exists, it is called a \emph{Robinson} ordering. In this work, we establish a connection between the SCFE problem and the Seriation problem. We show that if the \emph{extended adjacency matrix} of a given weighted graph has no Robinson ordering then has no injection in that solves the SCFE problem. On the other hand, if the extended adjacency matrix of has a Robinson ordering, we construct a polyhedron that is not empty if and only if there is an injection of the vertex set of in that solves the SCFE problem. As a consequence of these results, we conclude that deciding the existence of (and constructing) such an injection in for a given \emph{complete} weighted graph can be done in polynomial time. On the other hand, we show that deciding if an \emph{incomplete} weighted graph has such an injection in is NP-Complete.
Keywords
Cite
@article{arxiv.1906.11812,
title = {The Weighted Sitting Closer to Friends than Enemies Problem in the Line},
author = {Julio Aracena and Christopher Thraves Caro},
journal= {arXiv preprint arXiv:1906.11812},
year = {2021}
}