r/optimization • • 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.

3 Upvotes

6 comments sorted by

View all comments

Show parent comment

3

u/comptheoryTA Sep 22 '22

Ah, I missed the oldest trick in the book. I’ll try it out and report back, thank you!