Nonconvex: Checking positive-s​​emidefini​t​eness inside the Gloptipoly package

1 次查看(过去 30 天)
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.

采纳的回答

Christine Tobler
Christine Tobler 2018-3-26
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 个)

类别

Help CenterFile Exchange 中查找有关 Characters and Strings 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by