Hi,
I am having some difficulties using cvxopt especially, cvxopt +
nuclear norm minimization code,
Here are the steps that I followed to install cvxopt on pythonxy
current pythonxy comes with python 2.6 and cvxopt requires python 2.5
in the webpage of pythonxy there is no direct link to previous
versions of the software but luckily i found the previous software in
googlecode and tried to guess which packages it requires and
downloaded them manually and finally i made pythonxy running on python
2.5, i downloaded cvxopt and installed it and further more i installed
nucnrm scripts from
http://abel.ee.ucla.edu/cvxopt/applications/nucnrm/index.html
i am trying to run ex_sysid.py but this code always gives me an error
at nucnrm.py where it calls
lapack.lacpy(...)
stating module has no attribute such as lacpy or whatever
I checked inside of lapack object it doesnt have lacpy but it should
have slacpy dlacpy ... i changed it to one of these again the same
story i tried to rund a simpler code from cvxopt page which is
---------
from cvxopt import matrix, lapack
A = matrix([ [6., 6., 19., 6.], [-5., 3., -2., -10.], [4., -4., 7.,
-5] ])
m, n = A.size
tau = matrix(0.0, (n,1))
lapack.geqrf(A, tau)
print A[:n, :] # Upper triangular part is R.
Q1 = +A
lapack.orgqr(Q1, tau)
print Q1
Q = matrix(0.0, (m,m))
Q[:, :n] = A
lapack.orgqr(Q, tau)
print Q
--------------
here it gives the same error at "lapack.orgqr" so what might be wrong?
i thought maybe i should compile cvxopt by myself in windows but it is
a really pain in the ass.
I appreciate any kind of help thanks!
Musti