Nonconvex: Checking positive-semidefiniteness inside the Gloptipoly package
1 view (last 30 days)
Show older comments
Deepayan Bhadra
on 24 Mar 2018
Answered: Christine Tobler
on 26 Mar 2018
Hi,
I’m dealing with a non-convex constraint and hence, instead of CVX (does CVX support MATLAB’s eig function?), I’m using Gloptipoly. When I use eig inside it, it throws up an error. Any alternative ways?
Thanks a lot.
0 Comments
Accepted Answer
Christine Tobler
on 26 Mar 2018
For positive definiteness, I would recommended to check this using CHOL (see if the second output registers a problem), but this will not work for semi-definite. You could use LDL, and check if there are negative values in D.
0 Comments
More Answers (0)
See Also
Categories
Find more on Characters and Strings in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!