A dynamic programming approach to segmented isotonic regression.

This paper proposes a polynomial-time algorithm to construct the monotone stepwise curve that minimizes the sum of squared errors with respect to a given cloud of data points. The fitted curve is also constrained on the maximum number of steps it can be composed of and on the minimum step length. Our algorithm relies on dynamic programming and is built on the basis that said curve-fitting task can be tackled as a shortest-path type of problem. To ease the computational burden of the proposed algorithm, we develop various strategies to efficiently calculate upper and lower bounds that substantially reduce the number of paths to be explored. These bounds are obtained by combining relaxations of the original problem, clustering techniques and the well-known and well understood isotonic regression fit. Numerical results on synthetic and realistic data sets reveal that our algorithm is able to provide the globally optimal monotone stepwise curve fit for samples with thousands of data points in less than a few hours. Furthermore, the algorithm gives a certificate on the optimality gap of any incumbent solution it generates. From a practical standpoint, this piece of research is motivated by the roll-out of smart grids and the increasing role played by the small flexible consumption of electricity in the large-scale integration of renewable energy sources into current power systems. Within this context, our algorithm constitutes an useful tool to generate bidding curves for a pool of small flexible consumers to partake in wholesale electricity markets.

[1]  Stephen P. Boyd,et al.  Imputing a convex objective function , 2011, 2011 IEEE International Symposium on Intelligent Control.

[2]  Oleg Burdakov,et al.  A smoothed monotonic regression via L2 regularization , 2018, Knowledge and Information Systems.

[3]  Juan M. Morales,et al.  Short-Term Forecasting of Price-Responsive Loads Using Inverse Optimization , 2016, IEEE Transactions on Smart Grid.

[4]  V. Muggeo Estimating regression models with unknown break‐points , 2003, Statistics in medicine.

[5]  D. Hawkins POINT ESTIMATION OF THE PARAMETERS OF PIECEWISE REGRESSION MODELS. , 1976 .

[6]  Zuo-Jun Max Shen,et al.  Inverse Optimization with Noisy Data , 2015, Oper. Res..

[7]  P. Lerman Fitting Segmented Regression Models by Grid Search , 1980 .

[8]  Juan M. Morales,et al.  Chronological Time-Period Clustering for Optimal Capacity Expansion Planning With Storage , 2018, IEEE Transactions on Power Systems.

[9]  J. Leeuw,et al.  Isotone Optimization in R: Pool-Adjacent-Violators Algorithm (PAVA) and Active Set Methods , 2009 .

[10]  Sandor Z. Németh,et al.  A geometrical approach to Iterative Isotone Regression , 2012, Appl. Math. Comput..

[11]  G. Nemhauser,et al.  Integer Programming , 2020 .

[12]  J. Freidman,et al.  Multivariate adaptive regression splines , 1991 .

[13]  Robert Tibshirani,et al.  Nearly-Isotonic Regression , 2011, Technometrics.

[14]  Michel Gendreau,et al.  An exact algorithm for the elementary shortest path problem with resource constraints: Application to some vehicle routing problems , 2004, Networks.

[15]  Günter Rote Isotonic Regression by Dynamic Programming , 2019, SOSA@SODA.

[16]  Daniel Kuhn,et al.  Data-driven inverse optimization with imperfect information , 2015, Mathematical Programming.

[17]  Michael J. Best,et al.  Active set algorithms for isotonic regression; A unifying framework , 1990, Math. Program..

[18]  D. Kirschen,et al.  Quantifying the Effect of Demand Response on Electricity Markets , 2007, IEEE Transactions on Power Systems.

[19]  Ravindra K. Ahuja,et al.  Inverse Optimization , 2001, Oper. Res..

[20]  Geir Dahl,et al.  The cardinality-constrained shortest path problem in 2-graphs , 2000, Networks.

[21]  Juan M. Morales,et al.  A Data-Driven Bidding Model for a Cluster of Price-Responsive Consumers of Electricity , 2015, IEEE Transactions on Power Systems.

[22]  H. D. Brunk,et al.  Statistical inference under order restrictions : the theory and application of isotonic regression , 1973 .

[23]  Gaël Varoquaux,et al.  Scikit-learn: Machine Learning in Python , 2011, J. Mach. Learn. Res..

[24]  Diansheng Guo,et al.  Greedy Optimization for Contiguity-Constrained Hierarchical Clustering , 2009, 2009 IEEE International Conference on Data Mining Workshops.

[25]  Timothy C. Y. Chan,et al.  Inverse Optimization: Closed-Form Solutions, Geometry, and Goodness of Fit , 2015, Manag. Sci..