--To view this discussion on the web visit https://groups.google.com/d/msg/cvxopt/-/g1WuHGnBO_gJ.
You received this message because you are subscribed to the Google Groups "CVXOPT" group.
To post to this group, send email to cvx...@googlegroups.com.
To unsubscribe from this group, send email to cvxopt+un...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/cvxopt?hl=en.
There is actually a function for it:cvxopt.cholmod.getfactor(B)where B is a cholmod numeric factor will return an spmatrix view of thenumeric factor. The numeric factor must be obtained with the "simplicial"algorithm, i.e., options['supernodal']=0.
Hi Joachim,
On Wednesday, 31 October 2012 14:37:40 UTC+8, Joachim Dahl wrote:There is actually a function for it:cvxopt.cholmod.getfactor(B)where B is a cholmod numeric factor will return an spmatrix view of thenumeric factor. The numeric factor must be obtained with the "simplicial"algorithm, i.e., options['supernodal']=0.Thanks, it's good to know (reading the documentation gives an impression that that data is just not there, and needs to be computed, or that there is no Python interface present).Is there a similar function to get the permutation (matrix) P (for factorizations of the formPAP^T=LL^T or LDL^T) ?IMHO it's ought to get documented...It seems to be the only Python functionality for dealing with sparse Cholesky!
To work with a particular ordering, use order.amd() and subsequently use that ordering as an argument to cholmod.symbolic(). Alternatively use CHOMPACK, which we wrote ourselves - it is perhaps more flexible and better integrated.
--
You received this message because you are subscribed to the Google Groups "CVXOPT" group.
To view this discussion on the web visit https://groups.google.com/d/msg/cvxopt/-/xrHSQsRcDf4J.