Yalmip:SDP problem, run into numerical problem. Is the result credible, when the program run into numerical problem?

9 vues (au cours des 30 derniers jours)
The 0.9999 is expected result. However, there may be something wrong with the procedure, as it shows: run into numerical problem. Is the result credible, when the program run into numerical problem?
In other word, if a numerical problem has occurred, can the result of this program be considered to be exact ?
Thanks in advance!

Réponse acceptée

Johan Löfberg
Johan Löfberg le 31 Mar 2021
You should post YALMIP specific questions on the YALMIP forum.
Short answer it depends. You will have to study the solution and see if it satisfies your constraints, and if it is good enough. The duality gap is on the order 10^-7 which is sort of ok, but it is struggling with feaibility so the gap measure could be questioned (read sedumi documentation to interpret the log)
  2 commentaires
QING ZHOU
QING ZHOU le 31 Mar 2021
Thanks for your answer.
If i change the value of pars.eps in sedumi documentation as 5e-7, 'run into numerical problem' will not appear.
Johan Löfberg
Johan Löfberg le 31 Mar 2021
Correct, if you ask he solver not to tell you that it has numerical problems, it will not tell you that.
I use the same strategy when kids tell me they are sick. I ask them to not convey that information to me. I don't know if it actually changes anything regarding their health state though...

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Mathematics dans Help Center et File Exchange

Tags

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by