Notes on Minimizing Sum of Piecewise Linear Convex Functions

Posted on September 20, 2024 by Yu Cong
Tags: ,

This is my note on low-dimension linear programming & color refinement algorithms.

1 the problem & failed attempts

In September I’m working on the following small problem,

Problem1Minimizing the Sum of Piecewise Linear Convex Functions

Given piecewise linear convex functions of total breakpoints, and linear functions , find .

which is highly related to algorithms for linear programming in low dimensions.

This can be solve in through Megiddo’s algorithm for multidimensional search problem. (see my slides)

I want to show that for general piecewise linear convex functions in , my problem can be formulated as a LP-type problem with low combinatorial dimension.

A failed attempt is trying to write . However, there may be too many breakpoints on . (see a previous post). Another possible way is using some dimension reduction techniques [1].

2 color refinement on matrices

I do not have high expectation on this method, since I need to show that color refinement indeed reduce the dimension from to and that the reduction can be done in linear time.

Given a initial coloring of vertices in a directed graph , we want to compute the coarsest regular congruent coloring.

Colorings can be considered as equivalence relations on the vertices. An equivalence relation on is congruent if for all , [ and ] implies that [ such that and ]. Note that this coincides with the general definition of congruence relation in algebraic structures.(We can copy each vertex #outdegree times to make an unary operation.)

A coloring is regular if for any two vertices , the number of successors in each color are the same. Consider two colorings . is a refinement of (or is coarser than ) if for any two vertices having the same color in , they have the same color in .

Basic Lemma 1 in [2] shows that the problem above is equivalent to the description in this wiki page.

The first quasilinear time algorithm for the color refinement problem on graphs is given in [2], and later in [3]. It is shown in [4] that is the best possible running time. It is also shown in [5] that for any number of vertices there exists a graph which requires at least iterations to reach a stable coloring(note that the upperbound is ). See this for a nice survey on applications.

2.1 connections

2.1.1 color refinement on graphs on matrices

Now we add edge weights on the directed graph. Suppose all arcs have weight 1. One can see that a congruent and regular coloring requires that two vertices have the same color iff for each color the total weight of arcs going to vertices in that color are the same. Slightly generalize this configuraton, we can consider arbitrary arc weights.

Now color refinement on matrices are almost the same as doing color refinement on the incidence matrix of a weighted digraph. However, not every matrix is square. For any matrix , we consider it as a bitartite graph , where and . Then if is an arc in and 0 otherwise.

2.1.2 color refinement on matrices dimension reduction of LPs

This part is not intuitive and complicated. I think the ESA 14 paper [1] is very concise (compared to the arxiv version), however still takes four and a half pages to explain this part. So I will just briefly explain the idea.

This connection is based on an important theorem, stating that the color refinement of a matrix has strong relation with the fractional automorphism of . To do the reduction, we first compute a color refinement of . Based on the partitions of columns and rows of in the color refinement(partition matrices), we can conpute the factor matrix of , denoted by , which is small than . Then finally, the authors proved a reduction lemma, which shows that the optimal solution to factor matrix of the entire LP(I don’t know the exact name, just the matrix one uses in the simplex method) is a linear mapping of the optimal solution of the original LP.

2.2 is it useful?

The reduction looks clever and has a wide application. However, as far as I know, it does nothing on my problem. I don’t think the matrix in my problem is special enough to allow color refinement algorithms run in linear time on it. Also color refinement does not necessarily partition all columns in one part. ¯\_(⊙︿⊙)_/¯

2.3 reflection

Multidimensional search is harder than LP-type problems, this question is no exception. Now there are three kinds of problems I am interested in.

  1. Minimax parametric optimization
  2. Multidimensional search problems
  3. LP-type problems

What’s the connections among them?…

Definition2Minimax parametric optimization problem

Given a combinatorial maximization problem with a parameter. Find the parameter value minimizing the weight of a solution to the combinatorial maximization problem.

Definition3Multidimensional search problem

Given a set of hyperplanes in , and an oracle which answers the relative position of one hyperplane and a unknown fixed point . Compute the relative position of every hyperplane in and with as small number of oracle calls as possible.

Definition4LP-type problem

Given a set and a function from to a totally ordered set. has to satisfy two properties,

  1. monotonicity: ,
  2. locality: , consider any element , if , then .

Now there are some important concrete problem in the intersections.

2.3.1 Euclidean one-centre problem

Problem5Euclidean one-centre problem

Given points in , with weights , find a point in which has the minimal of the maximum weighted distance to all points in , that is, compute .

Dyer showed that this problem can be considered as a multidimensional search problem (in ) in [6]. The conversion is not easy and not intuitive. Das et al. claimed that this problem is a LP-type problem with some additional constraints in [7]. It is still unknown whether it is possible to formulate the weighted Euclidean one-centre problem in as a LP-type problem with combinatorial dimension (which is quite surprising…)

2.3.2 Minimizing the sum of some pwl convex functions(my problem)

see above for the definition.

Clearly this is a minimax parametric optimization problem. Zemel also showed this is a multidimensional search problem with dimension . We want to know that if this is a LP-type problem with combinatorial dimension

It seems that recognizing LP-type is hard. A lecture on LP-type problems by David Eppstein.


Here are some materials for Low dimension LP:

References

[1]
M. Grohe, K. Kersting, M. Mladenov, E. Selman, Dimension Reduction via Colour Refinement, in: A.S. Schulz, D. Wagner (Eds.), Algorithms - ESA 2014, Springer Berlin Heidelberg, Berlin, Heidelberg, 2014: pp. 505–516.
[2]
A. Cardon, M. Crochemore, Partitioning a graph in O(AlogV), Theoretical Computer Science. 19 (1982) 85–98 10.1016/0304-3975(82)90016-0.
[3]
R. Paige, R.E. Tarjan, Three Partition Refinement Algorithms, SIAM Journal on Computing. 16 (1987) 973–989 10.1137/0216062.
[4]
C. Berkholz, P. Bonsma, M. Grohe, Tight lower and upper bounds for the complexity of canonical colour refinement, Theor. Comp. Sys. 60 (2017) 581–614 10.1007/s00224-016-9686-0.
[5]
S. Kiefer, B.D. McKay, The Iteration Number of Colour Refinement, in: A. Czumaj, A. Dawar, E. Merelli (Eds.), 47th International Colloquium on Automata, Languages, and Programming (ICALP 2020), Schloss Dagstuhl – Leibniz-Zentrum für Informatik, Dagstuhl, Germany, 2020: pp. 73:1–73:19 10.4230/LIPIcs.ICALP.2020.73.
[6]
M.E. Dyer, On a Multidimensional Search Technique and Its Application to the Euclidean One-Centre Problem, SIAM Journal on Computing. 15 (1986) 725–738 10.1137/0215052.
[7]
S. Das, A. Nandy, S. Sarvottamananda, Linear time algorithms for Euclidean 1-center in ℜ d with non-linear convex constraints, Discrete Applied Mathematics. 280 (2020) 71–85 10.1016/j.dam.2019.09.009.
[8]
T.M. Chan, Improved deterministic algorithms for linear programming in low dimensions, ACM Trans. Algorithms. 14 (2018) 10.1145/3155312.