What does termination code represent?

Hi,

I am using CVX with SDPT3 solver. Some times it outputs termination code 0 sometime it outputs termination code -5, or else. I am wondering what it means? Where can I find the documentation for termination code?

Thanks;)

Have you solved this problem? I’m also having the same issue

The SDPT3 termination codes are at https://github.com/sqlp/sdpt3/blob/master/Solver/sqlptermcode.m .

Termination code value of -5 means
progress in relative gap or infeasibility is bad

which might be due to poor numerical scaling, among other possible reasons. It might be the case that Mosek could solve the problem to optimality, because it a a more robust solver than SDPT3 (or SeDuMi).