<br><br><div class="gmail_quote">On Mon, May 16, 2011 at 5:23 AM, Duro, Joao <span dir="ltr">&lt;<a href="mailto:j.a.duro@cranfield.ac.uk">j.a.duro@cranfield.ac.uk</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

<br>
4) I have also managed to do the same with the (C subroutine interface) but it required a consecutive call to write_prob (line 144) and read_prob (line 146) before calling initsoln (line 152) and easy_sdp (line 153). The obtained result is this (<a href="http://pastebin.com/032r09y4" target="_blank">http://pastebin.com/032r09y4</a>).<br>

<br>
5) If I remove write_prob (line 144) and read_prob (line 146) from the code I get (<a href="http://pastebin.com/SNDqfnzc" target="_blank">http://pastebin.com/SNDqfnzc</a>). I guess this is due to bad initialized variables (could be C, b or constraints). I have also looked into how readprob.c initializes the variables but I could not find a difference, but clearly there must be some.<br>

<br></blockquote><div><br>This is an indication that you&#39;ve made some sort of error in setting up the problem data structures that are passed into easy_sdp.  <br> <br>If you haven&#39;t already done so, you should get the latest (trunk) version of CSDP and use it- this version has enhanced error checking that can help in spotting these problems.  I&#39;ll take a closer look at your C code to see if I can find the problem. </div>
</div><br>-- <br>Brian Borchers                          <a href="mailto:borchers@nmt.edu" target="_blank">borchers@nmt.edu</a><br>Department of Mathematics      <a href="http://www.nmt.edu/%7Eborchers/" target="_blank">http://www.nmt.edu/~borchers/</a><br>
New Mexico Tech                       Phone: (575) 322-2592<br>Socorro, NM 87801                   FAX: (575) 835-5366<br>