Clear Filters
Clear Filters

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

18 views (last 30 days)
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!

Accepted Answer

Johan Löfberg
Johan Löfberg on 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 Comments
QING ZHOU
QING ZHOU on 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 on 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...

Sign in to comment.

More Answers (0)

Tags

Products

Community Treasure Hunt

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

Start Hunting!