Slow progress termination of Mosek in Julia JuMP

363 views
Skip to first unread message

Huanwen Shen

unread,
Apr 20, 2022, 11:52:51 PM4/20/22
to mosek

Hi there,

I tried to use Mosek to solve the following SDP in Julia JuMP

Screen Shot 2022-04-20 at 10.35.41 PM.png


, and Mosek cannot solve this problem to optimality on some real data set. The solver terminates with the status: MathOptInterface.SLOW_PROGRESS. 

My questions:

1.From the website, I find that Mosek returns slow progress status if the problem is badly scaled, near feasible or near infeasible. Under each cases, what should I do respectively to make sure that I am able to solve the problem to optimality?

2. Constraint X-xx^T in PSDCone() is not allowed due to the error: this constraint is not positive definite, but the solver works when  I replace it by [1 x^T;  x  X] in PSDCone(). Why does this happen?

Thanks!

Erling D. Andersen

unread,
Apr 21, 2022, 12:59:55 AM4/21/22
to mosek

1. If there was simple generic method for verifying this we would have stated it in documentation. You have to use your knowledge about the problem to investigate this.
2. xx^T is quadratic i.e. in the one dimensional case it is x^2. That is most likely what JuMP complains about since you have to have  <affine expression> in PSDcone. In any case this is a JuMP issue.

If you post the Mosek log output we might be able to shed additional light on the problem.



Huanwen Shen

unread,
Apr 21, 2022, 12:13:02 PM4/21/22
to mosek
Thank you for the clarification. Here is Mosek log output.
 Screen Shot 2022-04-21 at 10.54.18 AM.png



Erling D. Andersen

unread,
Apr 22, 2022, 1:10:20 AM4/22/22
to mosek
My best guess is Mosek computes a fairly accurate solution. And most likely it is good enough for all practical purposes.

You are aware you always get an approximate solution so even if Mosek had not said slow progress you would have to evaluate whether the solution is accurate enough.

Btw you can see Mosek warns about a large number in the objective. That is because such things makes your problem harder numerically.

Huanwen Shen

unread,
Apr 23, 2022, 7:15:19 AM4/23/22
to mosek
Thank you!
Reply all
Reply to author
Forward
0 new messages