[Csdp] Error "Function is not defined for sparse inputs." during writesdp.m

Henri Kjellberg henrikjellberg at gmail.com
Tue Nov 9 19:45:41 EST 2010


I forgot to attach the model data that I am attempting to run through csdp.m

Kind Regards,
Henri Kjellberg

On Tue, Nov 9, 2010 at 6:30 PM, Henri Kjellberg <henrikjellberg at gmail.com>wrote:

> Hi,
>
> I am exporting a model from yalmip and attempting to run it in CSDP.
>
> [mdl] = export(F,obj,sdpsettings('solver','csdp'));
>
>  When I try and feed the model to csdp.m I get the following error:
>
> *??? Error using ==> fprintf*
> *Function is not defined for sparse inputs.*
> *
> *
> *Error in ==> writesdpa at 325*
> *    fprintf(fid,'%d %d %d %d %.18e\n',[0 nsdpblocks+1 i i -c(i)]);*
> *
> *
> *Error in ==> csdp at 165*
> *ret=writesdpa([fname '.dat-s'],At,b,c,K,pars);*
> *
> *
> *Error in ==> sdpControl at 126*
> *csdp(mdl.At,mdl.b,mdl.C,mdl.K,mdl.pars)*
> *
> *
> Is my model incompatible with CSDP or am I doing something else wrong?
>
> I am running MATLAB 2010 on an OpenSuse 11.2 desktop if that matters...
>
>
>
> On Fri, Oct 29, 2010 at 2:53 PM, Henri Kjellberg <henrikjellberg at gmail.com
> > wrote:
>
>> Hi All,
>>
>> I am interested in installing CSDP onto either an ARM 11 or a PowerPC
>> (PPC_6xx) embedded system for a picosatellite project at the
>> University of Texas. The problem I currently am facing is that my ARM
>> 11 and my MPC5200 (the ppc_6xx) do no have gfortran installed, and I
>> have not found a cross-compiliation tool that would allow me to do
>> gfortran for ARM.
>>
>> I am curious, could I install CSDP using the clapack and cblas.
>> Currently, I have gslcblas installed on the powerpc...
>>
>> Best,
>> Henri Kjellberg
>> UT-Austin
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://list.coin-or.org/pipermail/csdp/attachments/20101109/3b74432d/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mdlSave.mat
Type: application/octet-stream
Size: 1262 bytes
Desc: not available
Url : http://list.coin-or.org/pipermail/csdp/attachments/20101109/3b74432d/attachment.obj 


More information about the Csdp mailing list