[Csdp-tickets] [C Library for Semidefinite Programming] #6: in the readprob.c function, the blocksize entry for the constraints is not set. It's always 0.

C Library for Semidefinite Programming coin-trac at coin-or.org
Sun Mar 14 11:15:34 EDT 2010


#6: in the readprob.c function, the blocksize entry for the constraints is not
set. It's always 0.
-------------------------+--------------------------------------------------
  Reporter:  ycollet     |       Owner:  somebody
      Type:  defect      |      Status:  closed  
  Priority:  major       |   Milestone:          
 Component:  component1  |     Version:          
Resolution:  worksforme  |    Keywords:          
-------------------------+--------------------------------------------------

Comment(by john3050):

 Replying to [comment:3 borchers@…]:
 > Your bug report is extremely hard to understand, and you haven't
 identified a particular case where CSDP fails, so it's hard to do much
 with this bug report.
 >
 > I did some investigation and verified that the blocksize field of
 [http://zolpo.com/auto-insurance/ auto insurance quotes] the sparseblock
 structs is being set in readprob() (more specifically in the
 "countentry()" routine called by readprob().)  Using gdb I was able to
 verify that these values were correct.
 >
 > I'm not sure what you mean by "it seems also that the iindices and
 jindices have an offset of 2 instead of 1."  However, it's
 [http://treatmentofmesothelioma.org/mesothelioma.html mesothelioma] likely
 that you're confused by the fact that we're using C arrays that start with
 0 subscripts, and the 0th entry of each vector is left unused.  This means
 that in passing vectors to Fortran code such as BLAS/LAPACK routines we
 need to offset by one to make things work.
 >
 > I'm going to close this ticket for now, since I simply can't reproduce
 the problem.  You'll need to be much more specific about what isn't
 working if you want me to fix it...

 Thank you.

-- 
Ticket URL: <https://projects.coin-or.org/Csdp/ticket/6#comment:6>
C Library for Semidefinite Programming <http://projects.coin-or.org/Csdp>
A C library for semidefinite programming



More information about the Csdp-tickets mailing list