Piecewise Linear Function Fitting via Mixed-Integer Linear Programming
- 1 April 2020
- journal article
- research article
- Published by Institute for Operations Research and the Management Sciences (INFORMS) in INFORMS Journal on Computing
- Vol. 32 (2) , 507-530
Abstract
Piecewise linear (PWL) functions are used in a variety of applications. Computing such continuous PWL functions, however, is a challenging task. Software packages and the literature on PWL function fitting are dominated by heuristic methods. This is true for both fitting discrete data points and continuous univariate functions. The only exact methods rely on nonconvex model formulations. Exact methods compute continuous PWL function for a fixed number of breakpoints minimizing some distance function between the original function and the PWL function. An optimal PWL function can only be computed if the breakpoints are allowed to be placed freely and are not fixed to a set of candidate breakpoints. In this paper, we propose the first convex model for optimal continuous univariate PWL function fitting. Dependent on the metrics chosen, the resulting formulations are either mixed-integer linear programming or mixed-integer quadratic programming problems. These models yield optimal continuous PWL functions for a set of discrete data. On the basis of these convex formulations, we further develop an exact algorithm to fit continuous univariate functions. Computational results for benchmark instances from the literature demonstrate the superiority of the proposed convex models compared with state-of-the-art nonconvex models.Keywords
This publication has 35 references indexed in Scilit:
- Best subset selection via a modern optimization lensThe Annals of Statistics, 2016
- OR Forum—An Algorithmic Approach to Linear RegressionOperations Research, 2016
- Least quantile regression via modern optimizationThe Annals of Statistics, 2014
- Using Piecewise Linear Functions for Solving MINLPs2011
- SCIP: solving constraint integer programsMathematical Programming Computation, 2009
- Classification and Regression via Integer OptimizationOperations Research, 2007
- A Comparison of Mixed-Integer Programming Models for Nonconvex Piecewise Linear Cost Minimization ProblemsManagement Science, 2003
- Piecewise-Linear Approximation Methods for Nonseparable Convex OptimizationManagement Science, 1988
- Some Algorithms for Linear Spline and Piecewise Multiple Linear RegressionJournal of the American Statistical Association, 1976
- Curve Fitting by Segmented Straight LinesJournal of the American Statistical Association, 1969