[sage-combinat-devel] Integer solutions with Sage

2012-03-16 Thread Nathann Cohen
Hello everybody !!! There's something in the air these days that has led people around me to inquire about the availability of a feature in Sage's support of LP : iterate/count integer solutions. There is no way for me to work on that at the moment because of a job application I am working on,

[sage-combinat-devel] Re: Integer solutions with Sage

2012-03-16 Thread Dima Pasechnik
In gmane.comp.mathematics.sage.combinat.devel, you wrote: Hello everybody !!! There's something in the air these days that has led people around me to inquire about the availability of a feature in Sage's support of LP : iterate/count integer solutions. There is no way for me to work on

Re: [sage-combinat-devel] Integer solutions with Sage

2012-03-16 Thread Robert Schwarz
Hi Nathann On 03/16/12 11:06, Nathann Cohen wrote: the availability of a feature in Sage's support of LP : iterate/count integer solutions. SCIP already has counting/enumeration of integer solutions built-in. Because of the license issues, it will probably never be a standard package, but it

[sage-combinat-devel] Re: doctest failures in categories/coxeter_groups.py

2012-03-16 Thread Mark Shimozono
I was messing a little with sage/categories/weyl_groups.py and hit a bunch of doctest errors, all apparently caused by an EXAMPLE:: reference to sage.combinat.sf.all.SFAMonomial. I tried to fix them by adding from sage.combinat.sf.all import SFAMonomial The test $ sage -t

Re: [sage-combinat-devel] Re: doctest failures in categories/coxeter_groups.py

2012-03-16 Thread Nicolas M. Thiery
On Fri, Mar 16, 2012 at 07:44:18AM -0700, Mark Shimozono wrote: I was messing a little with sage/categories/weyl_groups.py and hit a bunch of doctest errors, Which patch are you at? all apparently caused by an EXAMPLE:: reference to sage.combinat.sf.all.SFAMonomial. I tried to fix them by

[sage-combinat-devel] Re: doctest failures in categories/coxeter_groups.py

2012-03-16 Thread Mark Shimozono
Nicolas, Thanks for the tutorial on imports. That was excellent info. Here is a better question: What could cause the following disturbing error? m = sage.combinat.sf.all.SFAMonomial(QQ) NameError: global name 'sage' is not defined --Mark -- You received this message because you

Re: [sage-combinat-devel] Re: doctest failures in categories/coxeter_groups.py

2012-03-16 Thread mshimo
Nicolas, In doctests. --Mark Here is a better question: What could cause the following disturbing error? m = sage.combinat.sf.all.SFAMonomial(QQ) NameError: global name 'sage' is not defined In code, in the interpreter, or in doctests? Cheers,

Re: [sage-combinat-devel] Re: doctest failures in categories/coxeter_groups.py

2012-03-16 Thread Nicolas M. Thiery
On Fri, Mar 16, 2012 at 12:09:10PM -0400, msh...@math.vt.edu wrote: In doctests. Weird; it works for me. Please send me off line the full file. Or just use the right idiom :-) sage: SymmetricFunctions(QQ).m() (ok, just a workaround; but we want to eventually get rid of those SFA*).

Re: [sage-combinat-devel] Integer solutions with Sage

2012-03-16 Thread Nathann Cohen
My God, how did this email end up here ? O_o Looks like Nicolas forwarded it. Well, anyway now everybdy's aware that I am applying for a position in France :-D For the moment I am only thinking of CPLEX, but perhaps LattE would be doable later, as you say... Short of that, I *really*

Re: [sage-combinat-devel] Re: doctest failures in categories/coxeter_groups.py

2012-03-16 Thread mshimo
Nicolas, I have reverted to a version of the file that is not modified by my latest patch (it modified a different file). I am at the top of the stack of patches; just removed my sage tree and rebuilt it and reinstalled sage-combinat and updated. My sage doesn't seem to know about the direct

Re: [sage-combinat-devel] Re: doctest failures in categories/coxeter_groups.py

2012-03-16 Thread Anne Schilling
Hi Mark, When you say top you mean that all patches are applied in the sage-combinat queue? Do you have the problems if you do sage -hg qpop -a sage -b If not, then there is most likely some patch in the queue that breaks this. Best, Anne On 3/16/12 1:13 PM, msh...@math.vt.edu wrote:

Re: [sage-combinat-devel] Re: doctest failures in categories/coxeter_groups.py

2012-03-16 Thread mshimo
Nicolas, And the winning patch (the one before which all doctests pass, and after which things are broken), is (drum roll please): trac_11109-stable-grothendieck-polynomials-nt.patch I'll take a closer look at it. --Mark Do you have the problems if you do sage -hg qpop -a sage -b If