One thing to watch out for is that the generators returned by
automorphism_group contain symbols that may not be the actual vertices. I
realised this once after several frustrating hours of bizarre results from
my program. I'm not sure if this is still the case in recent versions.
Yep. I
On 2012-05-14, JamesHDavenport j.h.davenp...@bath.ac.uk wrote:
It may be branch cut strangeness, but if so it is very strange. The
integrand is clearly well-behaved, and the integral,
while in terms of the incomplete gamma function, seems to be off the usual
branch cut (negative real axis).
On Mon, May 14, 2012 at 11:20 PM, Nathann Cohen nathann.co...@gmail.com wrote:
One thing to watch out for is that the generators returned by
automorphism_group contain symbols that may not be the actual vertices. I
realised this once after several frustrating hours of bizarre results from
my
Hellooo Emil !!!
Well, I just tried something and it ended upi crashing Sage, so I can just
advise you to create all your variables in the first LP from the start,
*then* to copy the MixedIntegerLinearProgram object. Of course it is a bad
answer :-)
John Perry was the one who needed this
Well, you can call GAP, e.g. as follows:
sage: gap(Orbit(+str(ag._gap_())+,[1,2,7],OnSets);)
[ [ 1, 2, 7 ], [ 1, 2, 3 ], [ 1, 6, 9 ], [ 2, 3, 4 ], [ 3, 4, 10 ],
[ 1, 6, 8 ], [ 3, 4, 8 ], [ 4, 9, 10 ], [ 4, 7, 9 ], [ 5, 8, 10 ],
[ 2, 5, 7 ], [ 5, 6, 8 ], [ 3, 5, 8 ], [ 4, 6, 9 ], [ 5, 7,
Hi Nathann,
Thanks for writing the MILP class - it works very well. Now, I can do:
x = lp.new_variable()
Is there any way to do something like
x = lp.get_existing_variables()
?
I'm working on some graph theoretic stuff: I'm solving two LPs for
each graph, for as many graphs as I can. - Emil.
On Monday, May 14, 2012 7:32:25 PM UTC-5, Emil wrote:
lp = MixedIntegerLinearProgram(maximization=True)
x = lp.new_variable()
Then I do:
nlp = copy(lp)
x = nlp.new_variable()
The variable 'x' now seems to contain different variables. So I cannot
add any constraints that use the
It may be branch cut strangeness, but if so it is very strange. The
integrand is clearly well-behaved, and the integral,
while in terms of the incomplete gamma function, seems to be off the
usual
branch cut (negative real axis).
Try domain:complex before calling integrate; that
On Tuesday, May 15, 2012 2:36:34 AM UTC-4, Keshav Kini wrote:
John H Palmieri jhpalmier...@gmail.com writes:
This works for me:
sage: numerical_integral(x*cos(x^3), 0, 0.5)
(0.1247560409610376, 1.3850702913602309e-15)
Interesting...
sage:
Next issue is that the Gurobi backend doesn't support the copy:
AttributeError: 'sage.numerical.backends.gurobi_backend.GurobiBacke'
object has no attribute 'copy'
Any idea how much work this would be to do?
(I can now do what I wanted to do before, at least with GLPK.)
Emil
--
To post to
Hellooo !!
Next issue is that the Gurobi backend doesn't support the copy:
Oops ^^;
Any idea how much work this would be to do?
Oh, it's usually quite straightforward to implement such things.
Usually the feature already exists in the solver's C api, and all the
work that needs to be
On 2012-05-15, kcrisman kcris...@gmail.com wrote:
(%i3) domain:complex;
(%o3) complex
(%i4) integrate(x*cos(x^3),x,0,1/2);
(%o4)
gamma_incomplete(2/3,%i/8)/6+gamma_incomplete(2/3,-%i/8)/6-gamma(2/3)/3
Hmm. I get a different result. I am using the current Git version.
domain : complex;
Bonjour Monsieur,
je suis nouveau avec le logiciel sage, actuellement j'essaye d'installer la
version sage-4.8 sur Ubuntu 12.04 mais j'y arrive pas, s'il vous plait
aider moi à faire cette installation.
merci.
2012/5/15 sage-support@googlegroups.com
Today's Topic Summary
Group:
Bonjour Monsieur,
je suis nouveau avec le logiciel sage, actuellement j'essaye d'installer
la version sage-4.8 sur Ubuntu 12.04 mais j'y arrive pas, s'il vous plait
aider moi à faire cette installation.
merci.
Can one of our French-speaking folks help this gentleman? We already have
OK I'll take a look :)
On 15 May 2012 21:55, Nathann Cohen nathann.co...@gmail.com wrote:
Hell Emil !!
Any chance you could make a patch? :) (I'd volunteer myself, but I
would probably mess it up!)
H I could, but this patch is so local that it really is an
ideal occasion
On 5/15/12 8:33 PM, Keshav Kini wrote:
And maybe that's why plot3d(), unlike plot(), does
seem to generate the deprecation warning.
Sorry---what plot command doesn't generate a deprecation warning?
Thanks,
Jason
--
To post to this group, send email to sage-support@googlegroups.com
To
16 matches
Mail list logo