Quadratic Programming

Here is the tips to install the QP module of Python.

Download the qp-numpy from here:
http://www.danbbs.dk/~kibria/software.html#qpnumpy

Then edit the Makefile as following since make returns the error something like,

Error:


gcc -shared qld.o qld_wrap.o -o QPmodule.so -lf2c -lm
/usr/bin/ld: cannot find -lf2c
collect2: ld returned 1 exit status
make: *** [QPmodule.so] Error 1

One Possible Solution:


QPmodule.so: qld.o qld_wrap.o
#gcc -shared $^ -o $@ -lf2c -lm
g77 -shared $^ -o $@ -lm

Source: http://gcc.gnu.org/ml/gcc-help/2003-05/msg00096.html