[Csdp] Sparse Formulation and Solver

Brian Borchers borchers at nmt.edu
Mon May 16 08:32:17 EDT 2011


On Mon, May 16, 2011 at 5:23 AM, Duro, Joao <j.a.duro at cranfield.ac.uk>wrote:

>
> 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 (http://pastebin.com/032r09y4).
>
> 5) If I remove write_prob (line 144) and read_prob (line 146) from the code
> I get (http://pastebin.com/SNDqfnzc). 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.
>
>
This is an indication that you've made some sort of error in setting up the
problem data structures that are passed into easy_sdp.

If you haven'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'll take a closer look at your C code to see if I
can find the problem.

-- 
Brian Borchers                          borchers at nmt.edu
Department of Mathematics      http://www.nmt.edu/~borchers/
New Mexico Tech                       Phone: (575) 322-2592
Socorro, NM 87801                   FAX: (575) 835-5366
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://list.coin-or.org/pipermail/csdp/attachments/20110516/ebabe18f/attachment.html 


More information about the Csdp mailing list