English

A Refined Algorithm for Curve Fitting by Segmented Straight Lines

Optimization and Control 2018-06-29 v1

Abstract

We consider least squares approximation of a function of one variable by a continuous, piecewise-linear approximand that has a small number of breakpoints. This problem was notably considered by Bellman who proposed an approximate algorithm based on dynamic programming. Many suboptimal approaches have been suggested, but so far, the only exact methods resort to mixed integer programming with superpolynomial complexity growth. In this paper, we present an exact and efficient algorithm based on dynamic programming with a hybrid value function. The achieved time-complexity seems to be polynomial.

Keywords

Cite

@article{arxiv.1806.11041,
  title  = {A Refined Algorithm for Curve Fitting by Segmented Straight Lines},
  author = {Olof Troeng and Mattias Fält},
  journal= {arXiv preprint arXiv:1806.11041},
  year   = {2018}
}
R2 v1 2026-06-23T02:45:01.595Z