Numerical solution to complicated implicit matrix equation
9 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hi,
I would like to ask if someone can give me some advice on how to solve (numerically) a complicated matrix equation system which appeared when trying to solve a constrained optimization problem.
The equation system is as follows:
Defining: A = H*inv(G'*G + L)*H' and C = inv(A+B^2)*A*inv(A+B^2)
S = inv(H'*inv(B)^2*H + G'*G)*H'*inv(B)
G and H are two constant complex-valued matrices of size N*r-by-M*t. L and B are diagonal matrices, and their diagonal entries are precisely the independent variables of the problem. Their sizes are M*t-by-M*t and N*r-by-N*r respectively. However, L containts only M independent variables (each variable appears t times in the diagonal). Mathematically, L = kron(diag(lambda),eye(t)) where lambda is a vector of length M with the independent variables of L. The independent variables are all real-valued.
I want to find the values of those independent variables such that:
C(i,i) == alpha(i)/(B(i,i)^4) for all diagonal entries of C and B (index i) kron(eye(M),ones(1,t))*abs(S).^2 == P*ones(M,1)
Both alpha and P are also constants in the problem. This leaves me with a system of M+N*r non-linear equations with M+N*r variables. As an extra piece of information (in case it is helpful), the M independent variables within matrix L are Lagrange multipliers coming from the constrained optimization problem. The solution to that equation exists and it is unique, since it comes from a convex optimization problem. However, the matrix sizes tend to be big (around 300-by-300) and together with the fact that there are many matrix inverses in the formulation, the problem exhibits a pathological behavior.
All the "typical" functions such a fsolve have been unable to converge and I am completely out of ideas for now. I know the problem is pretty complicated but if any of you know of something worth trying, a function or even a numerical algorithm able to solve (or approximate the solution), I would be really grateful.
0 commentaires
Réponses (1)
Star Strider
le 28 Juil 2012
Modifié(e) : Star Strider
le 28 Juil 2012
First, I suggest you recode these lines:
A = H*inv(G'*G + L)*H'
C = inv(A+B^2)*A*inv(A+B^2)
S = inv(H'*inv(B)^2*H + G'*G)*H'*inv(B)
as:
A = H/(G'*G + L)*H'
C = (A+B^2)\A/(A+B^2)
S = (H'/B^2\H + G'*G)\H'/B
Thhe ‘/’ ‘\’ operators eliminate the necessity of calculating the explicit inverses. (I believe I recoded those correctly. Be sure to check them to be sure.)
4 commentaires
Star Strider
le 29 Juil 2012
It might be possible to scale your data and then rescale the results of your calculations later. I have had to do this from time to time (with physiolgical data when I was dealing with orders-of-magnitude differences in different sets of data) but not with complex data and not in your applications.
Other than that, all I can do is give you my sympathies.
Voir également
Catégories
En savoir plus sur Solver Outputs and Iterative Display dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!