This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Phillip.M.Feldman
Recipients Phillip.M.Feldman,, cvrebert, mark.dickinson, rhettinger, terry.reedy
Date 2011-09-25.02:50:50
SpamBayes Score 0.00477121
Marked as misclassified No
Message-id <>

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.
Date User Action Args
2011-09-25 02:50:51Phillip.M.Feldmansetrecipients: + Phillip.M.Feldman, rhettinger, terry.reedy, mark.dickinson, cvrebert,
2011-09-25 02:50:51Phillip.M.Feldmansetmessageid: <>
2011-09-25 02:50:51Phillip.M.Feldmanlinkissue12961 messages
2011-09-25 02:50:50Phillip.M.Feldmancreate