On 07/14/10 10:58 PM, Nathan Dunfield wrote:
On a similar note cvxopt can make use of glpk as well.

Yes, it can --- I was just using this yesterday.

The trick is that you have to tell cvxopt that glpk is available when
it is compiled/installed.   Now that glpk is standard, the install
script for cvxopt should be told to make use of it.   You just need to
edit a couple of lines in setup.py to make this happen.  Has this
already been done, or should I file a patch for this?

Best,

Nathan


I strongly suspect you would also need to make sure glpk builds before cvxopt by editing spkg/standard/deps. The cvxopt entry would then look like this.


$(INST)/$(CVXOPT): $(BASE) $(INST)/$(FORTRAN) $(INST)/$(F2C) \
                   $(INST)/$(LAPACK) $(INST)/$(BLAS) $(INST)/$(NUMPY) \
                   $(INST)/$(ATLAS) $(INST)/$(CEPHES) $(INST)/$(GLPK)

If you wanted to use the GLPK library in R, then the R entry would need to be modified by adding the "$(INST)/$(GLPK)" on the end too.

You might find it works without doing the above, but unless you specify the build order, it will be semi-random, especially with parallel builds.

Dave

--
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to