Hi,
First of all: I’m running PRTools 4.1.4 on Matlab R2008a, on a 64 bit Linux machine. I installed PRTools by simply extracting the archive in a directory, and adding that directory to my Matlab path.
Now, when trying to do something simple as:
>> A=gendath([50 50]);
>> w=svc(A);
I get:
??? Undefined function or method 'qp' for input arguments of type 'double'.
Error in ==> svo at 104
v = qp(D, f, A, b, lb, ub, p, 1, verbos, negdef, normalize);
Error in ==> svc at 121
[v,J,C,nu] = svo(+K,y,C,Options);
I guess this points at two issues:
- PRTools tries to use QLD if it is available. In my case, it apparently is not. However, the private subdirectory of the PRTools directory shows QLD mex-files for various platforms, but not for my 64 bit system. The extension that I get when creating my own mex-files on this system is mexa64. Is a version of QLD available for my system?
- If QLD is not available (and if quadprog, which is part of the optimization toolbox isn’t installed, as is the case on my system), PRTools falls back to qp. As it turns out, qp is part of the optimization toolbox as well. The documentation (svcinfo) seems to suggest that quadprog is part of the optimization toolbox, but qp is not.
The quadratic optimisation is controlled by routines SVO and NUSVO. They make use
of one of the following routines, if available:
- QLD.DLL (Windows) or QLD.MEXxxx under Linux
- QUADPROG.M in Matlab’s optimisation toolbox
- Matlab’s QP.M
Any advise on how to proceed?
Thanks!
Koen

