<div dir="ltr">Jakub; <div> </div><div>An exit code of 3 indicates that the solver was able to obtain a nearly optimal solution that did not quite reach the desired tolerances for primal infeasibility, dual infeasibility, or the duality gap.  If CSDP gets within a factor of 100 of the desired tolerances but can't improve the solution further, it will stop with this exit code.  If you're using the default tolerances of 1.0e-8, then your solution should still be good to about six digits- It may be that this solution is actually suitable for your purposes.  </div><div><br></div><div>CSDP gives up in these cases because it simply can't produce a more accurate solution using its algorithm in double precision arithmetic.  This can happen because the linear constraints are badly scaled or otherwise badly conditioned or because of the interaction of the linear constraints and the semidefiniteness constraint (CSDP actually requires solutions to be positive definite and have Cholesky factorizations)- there may simply not be any primal solution X which has a Cholesky factorization in double precision and satisfies the linear constraints up to the full tolerance.  The same issue can occur with Z in the dual solution.  </div><div><br></div><div>If you would be willing to send me your problem (in the form of a .dat-s file), I'd be happy to take a look at it.  </div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr">On Fri, Sep 7, 2018 at 3:50 AM Jakub Sliacan <<a href="mailto:jakub.sliacan@gmail.com">jakub.sliacan@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi!<div><br></div><div>I'm fairly new to SDP problems and I encountered a situation where I submit a job to a cluster (run CSDP on a big dat-s file) and while it's going fairly fast, the CSDP gives up very quickly (after only 80 iterations ~10mins of runtime). The return code is 3 (I can't replicate it now because cluster is down, but I think it's not 7). I was wondering if there is a way to make CSDP not finish with a near optimal solution but keep struggling for a return code 0 (say at least for maxiters=500, then return whatever). </div><div><br></div><div>Thanks for any pointers!</div><div>Jakub</div><div><br></div></div>
_______________________________________________<br>
Csdp mailing list<br>
<a href="mailto:Csdp@list.coin-or.org" target="_blank">Csdp@list.coin-or.org</a><br>
<a href="https://list.coin-or.org/mailman/listinfo/csdp" rel="noreferrer" target="_blank">https://list.coin-or.org/mailman/listinfo/csdp</a><br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature">Brian Borchers                          <a href="mailto:borchers@nmt.edu" target="_blank">borchers@nmt.edu</a><br>Department of Mathematics      <a href="http://www.nmt.edu/~borchers/" target="_blank">http://www.nmt.edu/~borchers/</a><br>New Mexico Tech                       Phone: (575) 322-2592<br>Socorro, NM 87801                   FAX: (575) 835-5366</div>