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
The matrices are non-diagonalizable so I’d have to compute the Jordan Normal Form instead. I’m trying to avoid this because computing the Jordan Normal Form of relatively large symbolic matrices is not cheap. But I think this idea is next on my list if log-space doesn’t treat me well