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, Phillip.M.Feldman@gmail.com, cvrebert, mark.dickinson, rhettinger, terry.reedy
Date 2011-09-25.02:50:50
SpamBayes Score 0.0047712103
Marked as misclassified No
Message-id <1316919051.84.0.358467576766.issue12961@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2011-09-25 02:50:51Phillip.M.Feldmansetrecipients: + Phillip.M.Feldman, rhettinger, terry.reedy, mark.dickinson, cvrebert, Phillip.M.Feldman@gmail.com
2011-09-25 02:50:51Phillip.M.Feldmansetmessageid: <1316919051.84.0.358467576766.issue12961@psf.upfronthosting.co.za>
2011-09-25 02:50:51Phillip.M.Feldmanlinkissue12961 messages
2011-09-25 02:50:50Phillip.M.Feldmancreate