Phillip Feldman <phillip.m.feld...@gmail.com> added the comment:

Raymond-

I think that you may have overestimated the complexity of the problem.  In 
about 5 hours, I coded, debugged, and documented a set of generator functions 
to solve the general formulation (including box limits) for three occupancy 
problems:

- unlabeled balls in labeled boxes,
- unlabeled_balls_in_unlabeled_boxes, and
- labeled_balls_in_unlabeled_boxes.

(I will add labeled balls in labeled boxes, although this case is less 
interesting).

On the other hand, I agree with your comment that the general need for these 
has not yet been demonstrated.  I will post my code to PyPI and we'll see what 
happens.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue12961>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to