arXivPreprintOpen accesscs.DS

Min-Plus Products and Dynamic Programming with Few Violations of the Adjacent Monge Inequalities

Yanqiao Chen

Key points

From the paper's conclusion
  • The reduction from general integer min-plus multiplication uses right factors obtained from $(j-k)^2$ by at most $n^{1+\alpha}$ interval discounts, with $\Theta(n^2)$ positive differences and all remaining differences negative.

Abstract

Local rewards can introduce negative adjacent mixed differences into a convex transition cost. If a cost array $B$ has $s(B)$ such differences, we express it as a Monge array minus $s(B)$ weighted rectangles and sweep its columns, maintaining the lower envelope of the active rows. For explicit finite $n\times n$ matrices $A,B$ and $L=\lceil\log_2(n+1)\rceil$, we compute $A\otimes B$ and the smallest minimizing index for every entry in $\mathcal{O}(n^2L+ns(B)L^3)$ time and $\mathcal{O}(n^2)$ space, giving near-quadratic time for arbitrary $A$ when $s(B)=\mathcal{O}(n)$, including right factors with $\Theta(n^2)$ positive differences. For block costs given by a constant-time Monge oracle and $r$ signed rectangle corrections, the sweep activates each row when its prefix optimum becomes available and computes an optimal contiguous partition in $\mathcal{O}((n+r)L^3)$ time and $\mathcal{O}(n+r)$ working space. The sweep handles convex transitions with interval rules and assigns one rectangle to each internal edge or hyperedge reward in a convex block cost, giving near-linear exact algorithms on sparse inputs for ordered graph modularity, weighted contiguous cluster editing, all-or-nothing HyperLam, and bounded-rank strict hypergraph modularity. Let $c_{\mathrm{APSP}}$ denote the deterministic exponent of all-pairs shortest paths with polynomially bounded integer weights. For fixed $3-c_{\mathrm{APSP}}<\alpha\le1$, any deterministic $\mathcal{O}(n^\beta)$-time min-plus product algorithm for polynomially bounded integer matrices with $s(B)\le n^{1+\alpha}$ satisfies $\beta\ge c_{\mathrm{APSP}}-1+\alpha$. The reduction from general integer min-plus multiplication uses right factors obtained from $(j-k)^2$ by at most $n^{1+\alpha}$ interval discounts, with $\Theta(n^2)$ positive differences and all remaining differences negative.

Read the paper

Discussion

Science Skim's AI key points, plus readers' public thoughts

Readers' thoughts

No reader thoughts yet.

Related papers

Min-Plus Products and Dynamic Programming with Few Violations of the Adjacent Monge Inequalities — Science Skim