Matrix Chain Multiplication and Polygon Triangulation Revisited and Generalized
Thong Le, Dan Gusfield

TL;DR
This paper revisits and simplifies the classic matrix-chain multiplication and polygon triangulation problems, providing new proofs, extending bounds, analyzing variants, and empirical testing of algorithms.
Contribution
It simplifies and clarifies the $O(n^2)$-time algorithm, extends its application to generalized problems, and empirically compares its performance with other methods.
Findings
The $O(n^2)$-time algorithm is correct and simple enough for teaching.
The algorithm's worst-case time complexity is $ heta(n^2)$.
Empirical tests show the variant runs in $ heta(n ext{log} n)$ time on random data.
Abstract
The {\it matrix-chain multiplication} problem is a classic problem that is widely taught to illustrate dynamic programming. The textbook solution runs in time. However, there is a complex -time method \cite{HU82}, based on triangulating convex polygons, and a description without proofs or implementation detail, of a much simpler -time method \cite{YAO82}. There is also a linear-time approximation algorithm with a small worst-case error bound \cite{HU-SHING1981}. In this paper, we make five contributions both to theory and pedagogy: 1) We simplify the approach in \cite{YAO82}, and provide complete, correct proofs and implementation details, to establish the -time bound. We believe that this exposition is simple enough for classroom use. 2) We extend the -time bound to a natural class of polygon-triangulation problems that generalizes the…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsComputational Geometry and Mesh Generation · Complexity and Algorithms in Graphs · Optimization and Search Problems
