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,
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.
- Minimax parametric optimization
- Multidimensional search problems
- LP-type problems
What’s the connections among them?…
Given a combinatorial maximization problem with a parameter. Find the parameter value minimizing the weight of a solution to the combinatorial maximization 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.
Given a set and a function from to a totally ordered set. has to satisfy two properties,
- monotonicity: ,
- locality: , consider any element , if , then .
Now there are some important concrete problem in the intersections.
2.3.1 Euclidean 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:
- chapter 20 of Geometric Approximation Algorithms by Sariel Har-Peled. https://sarielhp.org/book/chapters/lp.pdf
- the fastest deterministic algorithm for this problem [8]
- my slides on Seidel’s algorithm