#16638: Random failure in ryser algorithm
---------------------------------+------------------------
       Reporter:  vbraun         |        Owner:
           Type:  defect         |       Status:  new
       Priority:  major          |    Milestone:  sage-6.9
      Component:  combinatorics  |   Resolution:
       Keywords:  random_fail    |    Merged in:
        Authors:                 |    Reviewers:
Report Upstream:  N/A            |  Work issues:
         Branch:                 |       Commit:
   Dependencies:                 |     Stopgaps:
---------------------------------+------------------------
Changes (by jdemeyer):

 * milestone:  sage-6.4 => sage-6.9


Old description:

> I got this on my laptop once (with Sage 6.3.beta5)
> {{{
> sage -t --long src/sage/combinat/integer_vector.py
> **********************************************************************
> File "src/sage/combinat/integer_vector.py", line 347, in
> sage.combinat.integer_vector._slider01.range.gale_ryser_theorem
> Failed example:
>     for algorithm in ["gale", "ryser"]:                            # long
> time
>          for i in range(50):                                         #
> long time
>             test_algorithm(algorithm, 3, 10)                         #
> long time
> Expected nothing
> Got:
>     Algorithm ryser failed with this input:
>     [3, 3, 3, 1, 1, 0] [4, 4, 1, 1, 1]
> **********************************************************************
> }}}

New description:

 Something like this happens sometimes when testing `integer_vector.py`:
 {{{
 sage -t --long src/sage/combinat/integer_vector.py
 **********************************************************************
 File "src/sage/combinat/integer_vector.py", line 347, in
 sage.combinat.integer_vector._slider01.range.gale_ryser_theorem
 Failed example:
     for algorithm in ["gale", "ryser"]:                            # long
 time
          for i in range(50):                                         #
 long time
             test_algorithm(algorithm, 3, 10)                         #
 long time
 Expected nothing
 Got:
     Algorithm ryser failed with this input:
     [3, 3, 3, 1, 1, 0] [4, 4, 1, 1, 1]
 **********************************************************************
 }}}

--

--
Ticket URL: <http://trac.sagemath.org/ticket/16638#comment:14>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to