Eigenvalues as objective function?

54 weergaven
Naar het eerste ongelezen bericht

matthias....@gmail.com

ongelezen,
27 apr 2015, 12:46:4627-04-2015
aan am...@googlegroups.com
Dear Google-Group,

I want to build an objective function in AMPL based on the Eigenvalues of a matrix within my *.mod file for solving a DoE problem. Has anyone experience in calculating Eigenvalues in AMPL for e.g. 10x10 - 100x100 matrices? The matrix is often singular and I expect some Eigenvalues to be 0. I tried to solve the characteristic polynomial det(A-lambda*E) = 0 s.t. det(A) = prod(lambda) and trace(A) = sum(lambda). The determinant was calculated with LU decomposition (Crout algorithm). This approach worked fine for some 3x3 test matrices but fails with my "real" problem. Is there a more robust approach? I would be very glad about some pseudo-code.

Thanks in advance!


e.d.an...@mosek.com

ongelezen,
28 apr 2015, 09:15:5128-04-2015
aan am...@googlegroups.com, matthias....@gmail.com
My guess is that what you have tried leads to something highly nonconvex which may not be that robust. Sometimes you can formulate stuff with eigenvalues as a semidefinite optimization model that is convex hence is more robust to solve.
Here is a couple of links

Robert Fourer

ongelezen,
28 apr 2015, 11:48:2028-04-2015
aan am...@googlegroups.com
Is "A" a matrix of parameters or a matrix of variables?

Bob Fourer
4...@ampl.com

=======
Allen beantwoorden
Auteur beantwoorden
Doorsturen
0 nieuwe berichten