You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to 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
unread,
Apr 28, 2015, 9:15:51 AM4/28/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to 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.