Hacker News new | ask | show | jobs
by steve_g 1703 days ago
I would be a combination of total mass of the items plus some terms that reflect inventory demand - like weight_factor* (actual_inventory - target inventory)*planned_production for an item category. If I have too much of a category, processing more of the category is rewarded.