MOSEK cannot solve non-convex problems. If a problem is determined to be con-convex during optimization, the optimizer will terminate and report an error.