Yalmip:SDP problem, run into numerical problem. Is the result credible, when the program run into numerical problem?
9 次查看(过去 30 天)
显示 更早的评论
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!
0 个评论
采纳的回答
Johan Löfberg
2021-3-31
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 个评论
Johan Löfberg
2021-3-31
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...
更多回答(0 个)
另请参阅
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!