Re: [sage-support] Vehicle routing problems in sage

2012-03-16 Thread Raniere Gaia Silva
Chris, Sage has a class name 'Mixed integer linear programming' for modeling MIPs and class for LP Solver backends like Co-in, CPLEX, GLPK and Gurobi. At the moment I haven't know any sage class only for vehicle routing problem. Raniere Gaia Costa da Silva -- To post to this group, send email

Re: [sage-support] Re: Non-commutative ring over a field with generators

2012-03-16 Thread Noud Aldenhoven
Hello, This is exactly what I was looking for, thank you. But now I also have a second question: is it possible to add inverses for x and y? I would also like to calculate things like 1/(x+y)^10. Best regards, Noud On 15 March 2012 14:31, Simon King simon.k...@uni-jena.de wrote: Hi Noud! On

[sage-support] Excluding range from plot

2012-03-16 Thread Anthony Wickstead
I am trying to understand the behaviour of the option exclude in plot() when a range of values is included. It looks to me that if a simple range like exclude=[pi..2*pi] is used and the function is defined and real-valued in that range then the end points and integer points between are

Re: [sage-support] Vehicle routing problems in sage

2012-03-16 Thread Nathann Cohen
Sage has a class name 'Mixed integer linear programming' for modeling MIPs and class for LP Solver backends like Co-in, CPLEX, GLPK and Gurobi. At the moment I haven't know any sage class only for vehicle routing problem. Yep ! There's a short tutorial about its use there :

Re: [sage-support] Vehicle routing problems in sage

2012-03-16 Thread Vincent Knight
I didn't know that SAGE could handle MILP (awesome!), I'm just playing around with it now and was wondering if there was a way to remove a constrain from a particular problem or indeed modify it without reseting the whole problem. For example: Say I wanted to solve the problem described in the

Re: [sage-support] Vehicle routing problems in sage

2012-03-16 Thread Nathann Cohen
If I wanted to change the last constraint to be w[0]-w[1]-w[2]=1 can I do this without resetting the whole p? Not for the moment, but this can be added with a small patch. We just need to expose the functions from the solver's API :-) Nathann -- To post to this group, send email to

[sage-support] Re: Excluding range from plot

2012-03-16 Thread kcrisman
On Mar 16, 6:29 am, Anthony Wickstead a.wickst...@qub.ac.uk wrote: I am trying to understand the behaviour of the option exclude in plot() when a range of values is included. It looks to me that if a simple range like exclude=[pi..2*pi] is used and the function is defined and real-valued

RE: [sage-support] Re: Excluding range from plot

2012-03-16 Thread Anthony Wickstead
But in your example the first range is empty. I changed the exclude value to [1..2,3..4] and again the first interval is fine and the second wrong. Tony Thanks for this bug report. Sometimes this happens even for the first range. sage:

[sage-support] Re: Excluding range from plot

2012-03-16 Thread kcrisman
On Mar 16, 9:20 am, Anthony Wickstead a.wickst...@qub.ac.uk wrote: But in your example the first range is empty. I changed the exclude value to [1..2,3..4] and again the first interval is fine and the second wrong. Good point, I changed everything else to avoid the pi but not that! Hmm,

[sage-support] Using mpi4py in sage 'online' notebook (atsagenb.org)

2012-03-16 Thread ravine
Hi, I just started using sage and am loving it! However, I was wondering, is there a way to use the mpi4py package in the online (sagenb.org) notebook ? I was hoping to do so, but am stuck due to the following two issues: 1) The documentation at Sage (http://www.sagemath.org/doc/

[sage-support] Re: sage server in OS 10.6

2012-03-16 Thread Mike OS
Jason and Dan, Thank you for the info and suggestions. It took a while, but we got it running. One thing that I'm experiencing seems odd. I created an account, logged in, made a worksheet. When I save and quit the worksheet, I go back to my home page. If I click sign out, nothing happens. If

[sage-support] Re: Using mpi4py in sage 'online' notebook (atsagenb.org)

2012-03-16 Thread Volker Braun
You can't install MPI on the public Sage server without administrative privileges. Also, unless you want to learn MPI for educational purposes your are using the wrong tool to run stuff on a single machine. For tightly coupled problems you can't beat threads that way, and for very parallel

[sage-support] Re: sage server in OS 10.6

2012-03-16 Thread kcrisman
On Mar 16, 7:11 pm, Mike OS mosul...@math.sdsu.edu wrote: Jason and Dan, Thank you for the info and suggestions.  It took a while, but we got it running. One thing that I'm experiencing seems odd. I created an account,  logged in, made a worksheet. When I save and quit the worksheet, I

Re: [sage-support] Re: sage server in OS 10.6

2012-03-16 Thread Dan Drake
On Fri, 16 Mar 2012 at 04:11PM -0700, Mike OS wrote: When I save and quit the worksheet, I go back to my home page. If I click sign out, nothing happens. Are you using Firefox? This happens with some recent versions of Firefox. Does that same thing happen with another browser? Dan -- --- Dan

[sage-support] Re: Vehicle routing problems in sage

2012-03-16 Thread Chris Kees
Hi Nathann, Thanks! I spent some time with the graph and milp support today, and it's exactly what I was looking for. Do you have an idea of how the current implementations scale with the size of the graph? Any interest in adding support for parallel algorithms? I'm interested in the underlying