Yalmip:SDP problem, run into numerical problem. Is the result credible, when the program run into numerical problem?
15 views (last 30 days)
Show older comments
QING ZHOU
on 23 Mar 2021
Commented: Johan Löfberg
on 31 Mar 2021
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 ?
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/559017/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/559022/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/559027/image.png)
Thanks in advance!
0 Comments
Accepted Answer
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
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...
More Answers (0)
See Also
Categories
Find more on Logical in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!