Ray, Thank you for your help. I didn't realize that only matrices could be sparse. It solved the problem.
Mathieu Quoting Ray Zimmerman <[email protected]>: > Mathieu, > > Unfortunately, we are not able to distribute the full source code. > However, I'm not convinced the issue you're seeing is related to the > build environment. If it runs successfully on test5.m, then I suspect > > an issue with the input arguments. I recently had a similar problem > and found that it was because I was accidentally passing in the linear > > cost coefficients as a sparse vector instead of a full vector. It > expects Q to be sparse, but c to be a full vector. > > If that isn't the issue, maybe I could send me (off list) a .mat file > > with the inputs to bp that are causing it to die, and I'll see if I > can reproduce it here. > > -- > Ray Zimmerman > Senior Research Associate > 428-B Phillips Hall, Cornell University, Ithaca, NY 14853 > phone: (607) 255-9645 > > > On Apr 21, 2008, at 10:32 AM, [email protected] wrote: > > > Hi, > > > > I have downloaded BPMPD_MEX and successfully executed the test5.m > > code. However, when I tried to use > > it or my quadratic programming problem, it kills Matlab as soon as > > entering the bpmpd function. > > > > Since my version of Matlab is different from the one used to compile > > > your mex file, I wanted to recompile > > the .mexmaci file. However, the only version of the BPMPD source > > code that I found appears not to have > > all the files required by your Makefile. Where could I find the full > > > source code ? > > > > My build environment is: > > MacBook Pro, Intel Core 2 Duo, 2.33 GHz > > Mac OS X 10.4.11 (Leopard) > > Matlab 7.5.0.338 (R2007b) > > > > Thanks, > > > > Mathieu > > > > >
