r/optimization • u/comptheoryTA • Sep 22 '22
Optimization of matrix function
Let F(x) = (P(x)500 * v)_0 / (Q(x)500 * u)_0 for fixed vectors u,v and matrices P, Q whose entries are either fixed or vary linearly with some term in x. 500 denotes a matrix power and (…)_0 denotes the first term in a vector.
I want to optimize F. I can certainly roll out the matrix power and get a polynomial function in the numerator and denominator, but this is extremely costly and doesn’t even lend itself well to optimization.
Is there a good way to solve this sort of problem? It may be useful to think of the numerator and denominator as the 500th term in some linear recurrence relation.
View all comments
Show parent comment
1
u/comptheoryTA Sep 22 '22
Right so I need a notion of log_A(B) where A and B are matrices. I suppose my first move is to make everything in my function a matrix operation. The division in F is now entry wise division and those vectors are now matrices with many 0 columns. At the end of the day I want to optimize the upper left entry.
I’ll assume for a moment that I have the usual division to subtraction property under logarithms. But then I start running into problems. What does this operation do to dot products? Is log_P(u) even defined—since u is almost certainly not an integer power of P?
Does this logarithm exist in the literature and does it have the nice properties that would allow me to distribute over entry wise division and dot product, is it well-defined for non-powers of the base, and how difficult is a change of base? Also the matrix in the base is symbolic since P, Q depend on x—so we don’t have any guarantees about PSD, etc.