[sage-support] Re: domains for variables

2010-07-30 Thread Harald Schilly
On 30 Jul., 00:01, Johannes dajo.m...@web.de wrote: Hi list, i try to solve a linear equation in ZZ in the variables w_i: Here is a MILP formulation of your problem, I've pasted the input cell in {{{}}} and the output in between {{{ p = MixedIntegerLinearProgram(maximization=False) # not

Re: [sage-support] Re: Mac OS install observation

2010-07-30 Thread Dr. David Kirkby
On 07/30/10 02:59 AM, DWL wrote: It occurs for me with the most recent version of the disk image on the download page. The workaround of not using a folder with a space in the name is fine for my purposes. dan IMHO, we should try to fix the packages which don't accept spaces. Currently

[sage-support] Re: domains for variables

2010-07-30 Thread kcrisman
Harald, this is very informative for me. Maybe something stepwise like this should be at the top of http://www.sagemath.org/doc/reference/sage/numerical/mip.html so that it's very visible as an example of doing everything, or at least as an additional example in

[sage-support] Re: domains for variables

2010-07-30 Thread Harald Schilly
On 30 Jul., 18:14, kcrisman kcris...@gmail.com wrote: Harald, this is very informative for me.  Maybe something stepwise like this should be at the top of... #9647 H -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to

Re: [sage-support] Re: Is VirtualBox appliances still supported

2010-07-30 Thread Jim Harris
When I went to import the vmware file into VirtualBox, it only allowed files named *.ovf, and that's not the extension for VMWare, which is *.vmdk. I'm hesitant to just rename file extensions. From all the Sage docs it looks like the approved virtual host in VirtualBox, but from all the file

Re: [sage-support] Re: Is VirtualBox appliances still supported

2010-07-30 Thread William Stein
Hi, Sage-VirtualBox is not supported now. Sage-VMware generally works much better for Windows users, in my experience. You should install vmware player (free) and use the vmware virtual machine. -- William On Fri, Jul 30, 2010 at 11:12 AM, Jim Harris jameswhar...@gmail.com wrote: When I went

[sage-support] plotting on-screen with pylab in sage -python

2010-07-30 Thread Eli Brosh
Hello, I am trying to use sage -python as an up-to-date python distribution. While computation goes fine, I have a problem with output. Printing on-screen is OK but plotting with pylab does not work. e.g. a simple script like: from sage.all import * from pylab import *

[sage-support] Polyhedron : reducing the number of facets

2010-07-30 Thread tvn
Hi, if I have a polyhedron P of N facets, is there any built in function that returns another polyhedron P' has N' facets (where N' N) and includes P ? It would be even nicer if I can specify which vertices (that make up the convex hull) in P that I also want to be in the vertices of P'.

[sage-support] Cython: importing a cdef class

2010-07-30 Thread Jeroen Demeyer
Hello sage-support, I have been breaking my head all evening around the file organisation and import model with Cython. If there is any tutorial explaining this, I will gladly read it. Anyway, here is a concrete question: In file A.pyx, I have cdef MyClass myobj cdef class MyClass: [...]

Re: [sage-support] Re: Is VirtualBox appliances still supported

2010-07-30 Thread David Joyner
It is too bad the virtualbox doesn't work well since, I have been told that VMware is more difficult to install for non-English speaking 3rd world (windows-using) countries with poor internet, due to the registration requirement. On Fri, Jul 30, 2010 at 3:01 PM, William Stein wst...@gmail.com

Re: [sage-support] Re: Is VirtualBox appliances still supported

2010-07-30 Thread William Stein
On Fri, Jul 30, 2010 at 3:06 PM, David Joyner wdjoy...@gmail.com wrote: It is too bad the virtualbox doesn't work well since, I have been told that VMware is more difficult to install for non-English speaking 3rd world (windows-using) countries with poor internet, due to the registration

Re: [sage-support] Re: Is VirtualBox appliances still supported

2010-07-30 Thread Dr. David Kirkby
On 07/30/10 11:08 PM, William Stein wrote: Obviously, a Cygwin windows port of Sage would be much better. It's too bad nobody is working on that at all either. William I thought you and Mike Hansen were working on that, and expected to have it done for Sage 5.0 next month. I might be

Re: [sage-support] Cython: importing a cdef class

2010-07-30 Thread Robert Bradshaw
On Fri, Jul 30, 2010 at 2:39 PM, Jeroen Demeyer jdeme...@cage.ugent.be wrote: Hello sage-support, I have been breaking my head all evening around the file organisation and import model with Cython.  If there is any tutorial explaining this, I will gladly read it. Anyway, here is a concrete

[sage-support] Re: domains for variables

2010-07-30 Thread Nathann Cohen
Hello !! You may also like this : http://www-sop.inria.fr/members/Nathann.Cohen/tut/LP/ Writing documentation for both graphhs and LP has been responsble for many of my last sleepless nights, though this documentation is in french. The next ones will be for the english version :-) Nathann --