Saved in:
Bibliographic Details
Main Authors: Kundu, Namrata, Lucet, Yves
Format: Preprint
Published: 2025
Subjects:
Online Access:https://arxiv.org/abs/2503.18164
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866908280223170560
author Kundu, Namrata
Lucet, Yves
author_facet Kundu, Namrata
Lucet, Yves
contents We compute the closest convex piecewise linear-quadratic (PLQ) function with minimal number of pieces to a given univariate piecewise linear-quadratic function. The Euclidean norm is used to measure the distance between functions. First, we assume that the number and positions of the breakpoints of the output function are fixed, and solve a convex optimization problem. Next, we assume the number of breakpoints is fixed, but not their position, and solve a nonconvex optimization problem to determine optimal breakpoints placement. Finally, we propose an algorithm composed of a greedy search preprocessing and a dichotomic search that solves a logarithmic number of optimization problems to obtain an approximation of any PLQ function with minimal number of pieces thereby obtaining in two steps the closest convex function with minimal number of pieces. We illustrate our algorithms with multiple examples, compare our approach with a previous globally optimal univariate spline approximation algorithm, and apply our method to simplify vertical alignment curves in road design optimization. CPLEX, Gurobi, and BARON are used with the YALMIP library in MATLAB to effectively select the most efficient solver.
format Preprint
id arxiv_https___arxiv_org_abs_2503_18164
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Closest univariate convex linear-quadratic function approximation with minimal number of Pieces
Kundu, Namrata
Lucet, Yves
Optimization and Control
We compute the closest convex piecewise linear-quadratic (PLQ) function with minimal number of pieces to a given univariate piecewise linear-quadratic function. The Euclidean norm is used to measure the distance between functions. First, we assume that the number and positions of the breakpoints of the output function are fixed, and solve a convex optimization problem. Next, we assume the number of breakpoints is fixed, but not their position, and solve a nonconvex optimization problem to determine optimal breakpoints placement. Finally, we propose an algorithm composed of a greedy search preprocessing and a dichotomic search that solves a logarithmic number of optimization problems to obtain an approximation of any PLQ function with minimal number of pieces thereby obtaining in two steps the closest convex function with minimal number of pieces. We illustrate our algorithms with multiple examples, compare our approach with a previous globally optimal univariate spline approximation algorithm, and apply our method to simplify vertical alignment curves in road design optimization. CPLEX, Gurobi, and BARON are used with the YALMIP library in MATLAB to effectively select the most efficient solver.
title Closest univariate convex linear-quadratic function approximation with minimal number of Pieces
topic Optimization and Control
url https://arxiv.org/abs/2503.18164